this may have been asked many times but I couldn't find any satisfactory resolution. this is how my application flow looks like:

  • Step 1 Login.aspx
  • Step 2 Load Session which call an ajax call 'x'
  • step 3 Load Dashboard.aspx calls 3 ajax calls a, b, c in parallel

These 3 steps share cookie

as per my knowledge I cannot add all these requests in 1 thread group as Jmeter would not execute ajax calls, so I have to put it in different thread group something like this:

  • setUpThreadGroup

    • Login
    • LoadSession
    • Dashboard
  • ThreadGroup1

    • Ajax call x
  • ThreadGroup2
    • Ajax call a
  • ThreadGroup3
    • Ajax call b
  • ThreadGroup4
    • Ajax call c

but now I can't control the sequence in which these call in different thread group would take place. Is there anyway I can achieve something like below:

  • First -- Login
  • Then -- LoadSession + PARALLEL call for Ajax call x
  • Then -- Dashboard +PARALLEL call Ajax call a +PARALLEL call Ajax call b +PARALLEL call Ajax call c

1 Answer 1


If you would like to keep your existing test design you can consider using Inter-Thread Communication Plugin so LoadSession thread will wait for cookie from Login, etc.

However faster and easier solution would be going for Parallel Controller which is designed to mimic AJAX requests.

You can install both the plugins using JMeter Plugins Manager

  • once I install it, can I run test on blazemeter cloud? so blazemeter cloud would already aware of this plugin while running test?
    – PKV
    Jan 15, 2018 at 19:34
  • 1
    It is better to upload jmeter-parallel-x.x.jar file along with your test scenario .jmx and BlazeMeter will pick it up. Check out Uploading Files & Shared Folders for more details.
    – Dmitri T
    Jan 15, 2018 at 20:01
  • thanks @Dmitri, is there any way to pass this jar file from Taurus command line. My Taurus yml script has blazemeter configuration and calls jmx.
    – PKV
    Jan 15, 2018 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.