Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I am running a recorded test plan. I have assigned 25 users in the Thread Group, with a Ramp-up Period of 25 and Loop Count of 1.

This is what happens:

  1. Start the test.
  2. While the test is running, in the upper right-hand corner the user number gets incremented to 9/25. At some level, the number remains constant 9/25 and then shows 8/25. After some time, the number automatically gets decremented by 1, 7/25....0/25.
  3. In Database, I see the login entries for only 9 users.

Why does my test plan not run for the 25 users?

share|improve this question
    
How much resources are being utilized on your machine when you run these tests? Are you using any plugins that may be consuming a large amount of memory, or cpu? When you tell it to run 25 threads, it will attempt to do so, but if there are not enough threads available, I'm not sure if it would error out or simply not use all of the threads like you describe. –  Sam Woods Jun 9 at 17:09

1 Answer 1

The behavior is expected as when the thread has done its work and has nothing else to do it's getting stopped.

You need to provide enough users and loops (don't hesitate to set 100 to ensure that the users will be more or less unique) and use Constant Throughput Timer to orchestrate the load and set it 25 requests per second (or 1500 requests per minute).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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