pulling a rope

Hello i've created a rope with some small boxes and revolute joints.
Now i want to fix the position and pull the rope.

I had the idea to connect one end of the rope with a static body by a distance joint. With a small Frequency i get an elastic effect an i can pull my rope.
But if i pull to strong i get some large gaps between the revolute joints and i have to move the rope by my self to the original position.

Is there another way how i can pull a rope? Or some better settings for the distance/revolute joints?

Original thread: https://box2d.org/forum/viewtopic.php?t=5670