1
votes

I need to do load testing of a website with 100 concurrent user using Jmeter I have created test plan Like this -

-Test Plan
--ThreadGroup
---Get Login Page
---Post Login Page
-View Result in Table  

I made the below configurations in thread group for 100 concurrent users

No of threads = 100
Ramp Up Period = 1
Loop count = 1

Is it right approach for concurrent user test?

1
Use some duration in your test plan and Loop Count= Forever. After ramp-up time those 100 Threads will then become concurrent. Otherwise useRamp-up Time=0.Adnan

1 Answers

2
votes

Not really, you may or may not achieve 100 concurrent users, it will be dependent on application response time and how fast JMeter will be sending requests.

I would suggest to:

  • either set Loop Count so something above 1
  • or setting the Loop Count to -1 (so your threads will loop forever) and define the desired test duration via Scheduler Configuration -> Duration section of the Thread Group like:

    Thread Group Scheduler

    or do the same using the Runtime Controller

See JMeter Test Results: Why the Actual Users Number is Lower than Expected guide for more detailed information on how does JMeter works and why providing enough loops is important.

You can monitor the actual delivered load via i.e Active Threads Over Time listener (available via JMeter Plugins) or using JMeter HTML Reporting Dashboard

Dashboard active threads over time