How to add Parallel/Concurrent Requests in Jmeter: We have many tools for testing the performance of the application. Below are a few popular tools generally used.

  • Jmeter (Opensource)
  • Load runner
  • Neo Load
  • Soasta
  • Web Load

What are Concurrent/Parallel  Requests?

Concurrent requests are requests which are fired at the same time from the browser.

How the response Time is calculated for Concurrent/Parallel Requests

Let assume 5 requests are fired parallelly from browser and response times are like 1, 2, 3, 4, 5 Seconds respectively. Response Time will be considered as 5 Sec which is the highest response time out 5 requests.

Concurrent requests connection limit are different for different browsers.

Why Concurrent/Parallel Requests are used

All the latest browsers will use Concurrent requests for downloading resources like CSS, js, fonts, etc.. to reduce User interaction time. and Some developers will use parallel asynchronous requests to get data and display it effectively.

How to Simulate Concurrent/Parallel Requests from Jmeter

  • Download JDK/JRE 1.8 or above
  • Download Jmeter(4.0)
  • Download Jmeter Plugin Manager and copy the jar file to JMeter root directory/lib/ext

Start the JMeter using jmeter.bat/jmeter.sh or ApacheJmeter.jar

you will be seeing below window after JMeter starts

How-to-add-Parallel-Concurrent-Requests-in-Jmeter

Click On plugin Manager as shown in below

How-to-add-Parallel-Requests-in-Jmeter

after clicking, plugin manager popup will be open as below

How-to-add-Concurrent-Requests-in-Jmeter

From Left side search box search for parallel in search results, you will be seen Parallel Controller select and click on apply the change and restart button bottom right

Parallel-Controller-Plugin

After restarting Jmeter. Open the already existing script or create new thread group and right-click on thread Group use will be seen below options

Showing-Parallel-Controller

Select bzm-Parallel Controller and Add all parallel requests to added bzm-Parallel Controller and click on generate parent sample to get an accurate response.

Generate-Parent-Sample

run the test to see the responses

Happy Testing!!

Also Read: Jmeter JSON Extractor with Multiple Conditions in Expression

How to add Parallel/Concurrent Requests in Jmeter

Leave a Reply

Your email address will not be published. Required fields are marked *