paul baboo
paul baboo

Reputation: 119

How to run multiple request sequentially in Apache Jmeter

I have an Application where i have to do load test.Its like i have request A and B,and i have to test with 10 users and request should go like first request - A,B ,second request - A,B with ramp up period 0.

Could Any one help on this.I tried doing with Simple controller but the request are sent randomly and fring error

Upvotes: 4

Views: 19373

Answers (2)

Dmitri T
Dmitri T

Reputation: 168147

If you really need to wait until 1st user is done before starting 2nd one the fastest and the easiest solution would be setting Number of Threads to 1 and loop requests A and B 10 times in your Thread Group configuration.

JMeter Thread Group Configuration Example


If for any reason you need to have 10 concurrent users but executing requests sequentially you can go for Inter-Thread Communication JMeter Plugin which allows synchronizing JMeter threads (even residing in different Thread Groups)

The recommended way of installing JMeter Plugins and keeping them up-to-date is using JMeter Plugins Manager

JMeter Inter Thread Communication Plugin

Upvotes: 2

Masud Jahan
Masud Jahan

Reputation: 2978

Check the box for "Run Thread Groups Consecutively" in your test plan. It will send your request A and B for first users then for second users and so on.

See this:

enter image description here

Upvotes: 4

Related Questions