Questions tagged [load-testing]

Load Testing: A type of performance testing conducted to evaluate the behavior of a component or system with increasing load, e.g. numbers of parallel users and/or numbers of transactions, to determine what load can be handled by the component or system.

As per wikipedia:

Load testing is the process of putting demand on a system or device and measuring its response.

Load testing is performed to determine a system’s behavior under both normal and anticipated peak load conditions. It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which element is causing degradation.

3347 questions
235
votes
3 answers

Load Testing with AB ... fake failed requests (length)

To do some load testing, for my own curiosity, on my server I ran: ab -kc 50 -t 200 http://localhost/index.php This opens up 50 keep-alive connections for 200 seconds and just slams my server with requests for index.php In my results, I…
Franky
187
votes
13 answers

How do I install jmeter on a Mac?

We want to use JMeter. I've downloaded the production version as directed in the user manual at http://jmeter.apache.org/usermanual/get-started.html But how do I get started and install the software? I don't know java and I can't find any…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
81
votes
8 answers

Load vs. Stress testing

What is the difference between load and stress testing?
litterbugkid
  • 3,534
  • 7
  • 36
  • 54
77
votes
6 answers

Testing with JMeter: how to run N requests per second

I need to test if our system can perform N requests per second. Technically, it's 2 requests to one API, 2 requests to another, and 6 requests to third one. But the important thing that they should happen simultaneously - so 10 requests per…
alexeypro
  • 3,633
  • 7
  • 36
  • 49
68
votes
6 answers

Running multiple Thread Groups sequentially in JMeter

I have a Test plan in which there are multiple Thread Groups. I want to run all of the Thread Groups sequentially. Thread Groups are as below: Thread Group1 Thread Group2 Thread Group3 . . . Thread GroupN I've read in different blogs and articles…
Just_another_developer
  • 5,737
  • 12
  • 50
  • 83
64
votes
10 answers

Selenium testing without browser

I use Selenium RC for testing. Now to perform a load test, I want to run parallel test cases. Is there any way to run them without opening a browser?
Mohyt
  • 990
  • 2
  • 10
  • 26
57
votes
10 answers

Load testing with Postman REST/RESTFUL tool

I have added the plugin Postman to Chrome browser for load testing of my API. But I am clueless about how to do the load test with Postman tool. My query is how to simulate "Virtual Users" in this tool?
Kuntal
  • 611
  • 1
  • 6
  • 6
52
votes
7 answers

How to analyse JMeter result?

I am new in JMeter tool. Can anyone help me for the best way to analyse JMeter reports?
john
  • 521
  • 1
  • 4
  • 3
52
votes
6 answers

How to do load testing for websockets

We are building a group chat feature, which is using websockets. We want to test how many connections our current infrastucture can support. Basically it boils down to how to simulate a websocket.
Pankaj
  • 2,538
  • 3
  • 26
  • 39
47
votes
3 answers

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

So after executing a test run, I have the Aggregate Report's table filled with the data of the test plan that just finished running. Now, when I execute the test plan again, the results are getting added to this data in the Aggregate Report's table,…
Srikanth
  • 11,780
  • 23
  • 72
  • 92
42
votes
8 answers

Intentionally Slow Down HTML/PHP Page Load to Test

I'm curious if there exists a method to intentionally slow the page load? I'm testing my HTML & PHP pages on my local host right now, and I want to see how my loading gif etc will perform when the page load is slower. I realize this is a rare…
stefmikhail
  • 6,877
  • 13
  • 47
  • 61
40
votes
9 answers

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

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.
flybywire
  • 261,858
  • 191
  • 397
  • 503
37
votes
4 answers

Is there tools for performance and load testing of REST service?

We have web-application with REST interface. Is there some tools to test it?
Max
  • 2,293
  • 5
  • 32
  • 48
32
votes
2 answers

Configuring response timeout in Apache JMeter

I am trying to check if a particular HTTP request's response time is over 30 seconds, and if it is, then mark it as failed and stop the thread. Sometimes I can see response times close to 80 seconds, an no browser is waiting that long for a response…
27
votes
4 answers

Failed requests by length in my ApacheBench load test result

I have a website in PHP, Lighttpd. It uses also MySQL on Centos 5. I've tested my PHP with code below with Apache Bench (ab). It resulted in some errors (Failed Requests) indicating other length than normal. I'm absolutely sure that my PHP result…
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
1
2 3
99 100