Reputation: 522
I have a test plan where I have to pick 100 users from a CSV file. If I give threads count as 500 and loop count as 1, then I can see 490 are failed and only 10 are passed. But at the same time, if I give threads as 5 and loop count as 100, all the tests are passed. Aren't these same where the total number of requests are 500?
Is this because 500 threads and 5 threads?
Upvotes: 0
Views: 487
Reputation: 168002
You get different results because you apply different load pattern. JMeter acts as follows:
So reasons could be in:
Your JMeter instance cannot create the required load. Like in point 2 JMeter default configuration is good for tests development, however when it comes to running load tests you need to mind some important points:
Disable all the listeners during test run
See Reducing resource requirements chapter of JMeter's User Manual for more information
Upvotes: 0
Reputation: 471
If you start 500 threads, By default, the file is only opened once, and each thread will use a different line from the file. However the order in which lines are passed to threads depends on the order in which you execute, which may vary between iterations.
Change Your Jmeter CSV-DataSet-Config property "Recycle on EOF - True" ; Your Issue will solve
Hope This Helps!
Upvotes: 1