Quality Testing

Quality is delighting customers

How to perform load testing with concurrent users in jmeter ?

How to perform load testing with concurrent users in jmeter

Views: 155

Reply to This

Replies to This Discussion

Normally the process looks like:

  1. Perform the test scenario(s) you would like to cover in browser and record it using JMeter's HTTP(S) Test Script Recorder
  2. Perform correlation using JMeter's Post-Processors if required. Add HTTP Cookie Manager to your Test Plan to work around cookie-based authentication  
  3. Perform parameterisation using i.e. CSV Data Set Config if required
  4. Run your test with 1-2 users/loops and inspect request and response details in the View Results Tree listener to ensure your test is doing what it is supposed to be doing. 
  5. Once you are happy with your test behaviour - add more virtual users in Thread Group and run your test in non-GUI mode
  6. When test execution is finished analyse results using JMeter Listeners and/or HTML Reporting Dashboard

See the following material for more information:

I would also recommend attending free JMeter Academy - most probably the best way of ramping up in JMeter as of now.  


It depends on what your test is doing. If it's something long enough - it will be 20, if it's something very short - it'll be 1.

JMeter offers several options to control the load. In particular the most commonly used elemends are:

Synchronizing Timer - to pause threads unless certain number will be reached and fire them all at the same time.
Constant Throughput Timer - to specify exact load to generate, i.e. 20 requests per second.
Also JMeter concurrent threads are not "concurrent users" as real-life people do pauses between actions on web pages. If you don't set any pauses in your tests then 20 concurrent threads will stand for something like 200-250 concurrent users.  

You can know more software testing  questions like this from JanBask Training.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2018   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service