The requirement is to start with 500 users initially and then increase slowly till 10 thousand.
I am new to performance testing, it would be great if anyone could guide me with the steps.
The easiest option is to go for Stepping Thread Group where you can specify how many threads to start initially and how to increase the load gradually.
Example setup
Stepping Thread Group can be installed using Custom Thread Groups bundle using JMeter Plugins Manager
Related
I have a question where it might be very easy.
I have to perform load testing on a site(login) with these scenarios.
100 users within 5 minutes
500 users within 5 minutes
1000 users within 5 minutes
I can test each scenario separately by changing the threads in thread group. But what I want to do is run all 3 scenarios one after one automatically. I tried if controller and loop controller but could not fix it. I don't understand where it go wrong.
Basic
Ultimate Thread Group case (JMeter plugin)
You can define several steps with different number of threads (and more configuration)
If you don't have JMeter plugin yet, you can download plugins-manager.jar and put it into lib/ext directory, then restart JMeter.
I need to run a load test where I already have 20k active sessions on website and then run a load test to see the performance.
I tried everywhere searching for solution but could not find any specific answer to this.I can run a load test from Jmeter to create that many request but those won't stay on website for long.
You need to use Ultimate thread group plugin to create that much load by maintain the duration..let say for 30 min. Then once it is ramp up and maintaining the load you can run another load test. Also check different custom thread group plugins at https://jmeter-plugins.org/
Please check if it helps.
I am using JMeter in Non-GUI environment.
I am increasing load now, e.g. 1...5000, but I want to decrease load gradually, e.g. 5000...1
Is it possible?
I can't use GUI env.
The easiest way is going for Custom Thread Groups plugins, for example:
Ultimate Thread Group
Stepping Thread Group
You can install these Thread Groups as a part of Custom Thread Groups bundle using JMeter Plugins Manager
Alternatively you can also use Timers to introduce ramp-down logic, however it will be mostly dependent on your application response time
More information on above approaches: How to Ramp Down in JMeter
I want to repeatedly simulate load that gradually increases, reaches a peak and then gradually decreases. For example, I want to start with 10 HTTP requests for 1 minute, then 20....until 100 (assume this is the peak). Then when it reaches 100, I want the load gradually to fall, to 90,80,70 until it reaches 10. What is the recommended way to achieve this?
I believe the fastest and the easiest way of achieving this is using custom Thread Groups provided via JMeter Plugins project, i.e. Ultimate Thread Group
The fastest and the easiest way of installing these Thread Groups and keeping them up-to-date is using JMeter Plugins Manager, after installing the Plugins Manager
Go to Options -> Plugins Manager from JMeter's main menu
Switch to Available Plugins tab
Locate Custom Thread Groups and tick the relevant box
Click Apply Changes and Restart JMeter button
I am new to jmeter.
I am doing load testing on web application using recording feature in jmeter.
The issue is, If I'm giving say 100 with 100s ramp up time in Thread pool for 50 continuous web requests(sequence of web application flow).
If the server is not responding at 25th request(total 50) of 45th Thread(total 100) it is stuck at that point and not sending requests for remaining 55 threads.
What should I do.? is there any other method to initiate the threads.
it is not sending the threads because of many reasons
1. jmeter memory print you need to check
2. the server you are targeting will accept only no of threads.
etc are there.
if each thread processing time will take x amount of time hence n threads with x amount of time the processor is busy .
if your targeting server can only process 40 in this case i am assuming capacity as 40 , then the 41st request will only get chance , only at least one of the previous request get processed or released the thread .
too many threads might cause STUCK or BLOCKED threads at the server end in that case we either dont see response or error code . try stopping the threads you see all the reaming as failed requests
JMeter shouldn't normally act like you described. Check out jmeter.log file, it usually should have enough information to get to the bottom of problem.
It looks like you're trying to run the load test using JMeter GUI. If it's the case - please don't, JMeter is not designed for producing high load in GUI mode.
Run your test in command-line mode
Delete or disable Listeners if any
Increase JVM Heap size, JMeter comes with very little value by default.
Follow other recommendations from 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article