Search code examples
multithreadingjmeterdelayperformance-testing

Jmeter - How to make threads to perform the action at the same time


How can we make the threads to start the thread :Next at the same time. I tried with synchronizing timer as child on SM_check but the thread samples :Next were not processed at the same time. synchronizing timer on the thread group makes all the samples at once, but I need to have the threads to be on the same time from :Next only. Any help on this is much appreciated. enter image description here

Thread Group

CSV Data set config

User Defined Variables

Loop Controller

: HTTP Cookie Manager

: Login

:SM

:SM_Check

    :- HTTP Header Manager
    :- Synchronizing Timer
    :- View Results tree

:Next tag

Solution

  • Your current configuration assumes that threads are grouped (executed at the same time) for :SM_Check.

    If your target is to execute :Next sampler with all threads at the same time - move the Synchronizing Timer to be a child of the :Next sampler.

    See Using the JMeter Synchronizing Timer article for a little bit more detailed explanation