Forum Discussion

M_McDonald's avatar
M_McDonald
Super Contributor
16 years ago

Ability to synchronize threads on a particular request step in a load test

I often have multiple steps that occur before a request test step which can take a varying time to complete, so it is difficult to get truly simultaneous request submissions in multiple threads. It would be great if in a load test one could select a request step for which all threads would wait until each had prepared the request, then all submit at the same time.

It would be important that the pause would occur after the request parameters and body had been evaluated since these could vary in how long they take as well.

This would be similar to a rendezvous point in Loadrunner.

11 Replies

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    You're welcome.

    Two further thoughts:

    1) This has no use when not running a load test, so a separate test step might be confusing for the user. I wonder if it should be a property (or properties) of existing test steps which would only 'activate' during load testing.

    On the other hand, a separate step could have an option to fail the test case if the required threads do not enter before the timeout...


    2) How best to handle load test strategies where the number of threads changes during the run? For example, if this was configured to wait for 5 threads but the number running drops below 5, the effect would be to delay all threads by the timeout value.