Reputation: 654
Assume I have two users in Thread Group and want them to fire two requests simultaneously. User 1 - HTTP Request A and User 2 - HTTP Request B.
Any ideas how to implement that ?
Upvotes: 4
Views: 6947
Reputation: 168002
Just add Synchronizing Timer to your Thread Group and set Number of Simulated Users to Group by
to 2
like:
The Synchronizing Timer will pause the first thread until second one is ready to execute the HTTP Request sampler so both threads will be run simultaneously. See Using the JMeter Synchronizing Timer article for more details.
Upvotes: 2
Reputation: 1202
To trigger the requests simultaneously, you need to place your each requests in different thread group as shown below.
Also, make sure that in the Test Plan, below option is unchecked.
Above settings will execute the request simultaneously. Below is the sample output.
Upvotes: 5