What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

JMeter can simulate a very High Load provided you use it right. Don’t listen to Urban Legends that say JMeter cannot handle high load. Now as for answer, it depends on: your machine power your jvm 32 bits or 64 bits your jvm allocated memory -Xmx your test plan ( lot of beanshell, post processor, … Read more

How to clear the results in Aggregate Report’s table in JMeter automatically when executing the same test plan again?

Jmeter does not have a flag to do this automatically. Generally, you have to clear the results with CTRL+E (in windows) or from the file menu, under RUN > CLEAR or RUN > CLEAR ALL You might be able to write a beanshell script to clear the results everytime you execute the script. http://www.javadocexamples.com/java_examples/org/apache/jmeter/samplers/SampleListener/

How to do load testing for websockets [closed]

I can give you a suggestion from my recent experience. You can connect webkit based Phantom virtual clients to your chat server and measure the resource usage (i.e CPU, memory, may be using a shell script or another utility or you can profile your service ) var system = require(‘system’); var page = require(‘webpage’).create(); page.viewportSize … Read more

How to analyse JMeter result?

Simply list of related links you can possibly find useful: Native graphs: JMeter Report Dashboard Real-time plotting with 3rd party real-time series database like influxdb Free open source solutions for automated graphs: JMeter Plugins – look onto custom graphs in this package; some of them provide better results reporting out-of-box than JMeter’s original ones; JMeter … Read more

Running multiple Thread Groups sequentially in JMeter

Concerning consecutive execution of thread groups in test plan: simple check Run Test Group consecutively check-box on the Test Plan configuration screen: Use e.g. Loop Controller for this: Thread Group Number of Threads = 1 Loop Count = 1 … Loop Controller Loop Count = N HTTP Request … or even schema without Loop Controller … Read more

Testing with JMeter: how to run N requests per second

You could use ConstantThroughputTimer. Quote from JMeter help files below: 18.6.4 Constant Throughput Timer This timer introduces variable pauses, calculated to keep the total throughput (in terms of samples per minute) as close as possible to a give figure. Of course the throughput will be lower if the server is not capable of handling it, … Read more