I have configured my setup as shown in the image ->
I intend to run a setup thread once at the beginning and a teardown thread once at the end. In between these two threads, I aim to perform load testing on API setups within the middle thread, involving 500 users.
However, there is an issue with the current setup. While the setup and teardown threads operate as expected, the middle thread executes for only one user, even though I have specified two users in the CSV. I would greatly appreciate any assistance or insights to address this discrepancy.
There are 19 errors since you started your JMeter or cleared the previous results, maybe not all of them are for your current test run, but it still worth checking jmeter.log file, it might be the case you will find the reason of the 2nd thread not starting there:
I would also expect the threads counter to show 0/3
rather than 0/1
so most probably your “Test sumbmission” thread group is not being executed at all because the file referenced in the CSV Data Set Config either cannot be found or empty or something is wrong with the setup of the CSV Data Set Config.
The problem originated from the JMeter GUI, where despite configuring the number of users as 2, the logs were displaying threads as 1. However, the issue was resolved when executing the test through the command line.
Attempt executing your JMX file via the command line; this might address the problem, as I identified certain issues when running it through the GUI.
jmeter -n -t “JMX_FILE_PATH” -l “results.csv”