User
User

Reputation: 603

Jmeter - How to do parallel request

I have a web Service request that push a notification in a screen,I want to measure the time taken to display the notification in the screen after the request of the web service requested,so I want to send both requests in parallel. How can i do that ?

[![I want the two highlighted steps to be done concurrently ][1]][1]

The two highlighted steps not occurred concurrently.

Upvotes: 5

Views: 24303

Answers (2)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

You can use this plugin Parallel Controller that you can install with jmeter-plugins manager

You use Parallel Controller:

Parallel Controller

Upvotes: 1

Dmitri T
Dmitri T

Reputation: 168147

JMeter provides Synchronizing Timer which allows grouping requests so they could be executed at exactly in the same moment. Just add a Synchronizing Timer to your test plan and make sure that

  • it is at the same level with both requests
  • number of virtual users in Thread Group is >= what is set in the Synchronizing Timer

Synchronizing Timer Example

See Using the JMeter Synchronizing Timer for more information on running specific requests at the same time in your JMeter test.

Upvotes: 5

Related Questions