Questions tagged [stress-testing]

Stress testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.

Stress testing is for ensuring fault tolerance capability of the application: it refers to tests that put a greater emphasis on robustness, availability and error handling under a heavy load, rather than on what would be considered correct behavior under normal circumstances.

Sometimes, as the load on the system increases the system throws errors or behaves unexpectedly. The stress test targets exactly this behavior. Determining that the software handles the load gracefully without crashing is the aim of this test. In particular, the goals of such testing may be to ensure the software does not crash in conditions of insufficient computational resources (such as memory or disk space), unusually high concurrency, or denial of service attacks.

772 questions
23
votes
3 answers

Load Testing and Benchmarking With siege vs wrk

I have been looking around for tools that can help me to do load testing and benchmarking. I found a couple like: https://github.com/wg/wrk http://www.joedog.org/siege-home/ https://github.com/rakyll/boom I'm wondering if anyone has any experience…
Nam Nguyen
  • 5,668
  • 14
  • 56
  • 70
22
votes
1 answer

Can I use mysqlslap on an existing database?

Can I use mysqlslap to test specific databases/tables? Or just the mysqlslap database?
AlexBrand
  • 11,971
  • 20
  • 87
  • 132
22
votes
2 answers

How can I set x-www-form-urlencoded in SoapUI?

I cannot see the media type x-www-form-urlencoded in SoapUI pro 5.0.0. How can I set this for a post method?
user1000622
  • 519
  • 1
  • 7
  • 18
19
votes
2 answers

how to limit request per second in apache benchmark tools

I'm trying to stress test my Spring Boot application, but when I run the following command, what ab is doing is that trying to give out a result the the maximum my application could holds. But what I need is to check whether my application could…
KAs
  • 1,818
  • 4
  • 19
  • 37
18
votes
3 answers

Apache JMeter : Add random data in body for request

I'm working on stress testing our application in Apache JMeter. I thought of calling register user method which will add users in the database. But if the email already exists, then the database action does not take place. How can I add a random…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
17
votes
10 answers

How To Simulate Lower CPU Processor Machines For Browser Testing

We have some users which are using lower-CPU powered machines and they're encountering slow response times using our web application. Is there any way for me to do testing so that I can simulate lower CPU rates? For example, I have 2.3 Ghz…
grassbl8d
  • 2,089
  • 4
  • 24
  • 34
17
votes
2 answers

Brightness Issue during stress testing

My application has the ability to Wipe all contacts and calendar events. It has been working fine as far as we had not done stress testing. During this, it was observer that device brightness goes down when we execute following use case Sync…
Sagrian
  • 1,048
  • 2
  • 11
  • 29
16
votes
6 answers

How to stress test simulating heavy load using Selenium

I have a system to test, which is a video ads distribution technology. I need to load every video like 1-2 mins to serve the ads. The videos are played in a Flash client and streamed as FLV streams like in YouTube. The reason why I need to test it…
Sumit Ghosh
  • 3,264
  • 4
  • 40
  • 59
16
votes
1 answer

Why does SHA1.ComputeHash fail under high load with many threads?

I'm seeing an issue with some code I maintain. The code below has a private static SHA1 member (which is an IDisposable but since it's static, it should never get finalized). However, under stress this code throws an exception that suggests it has…
MvdD
  • 22,082
  • 8
  • 65
  • 93
15
votes
2 answers

FastAPI Gunicorn Uvicorn for Production Deployment with Google Cloud Run (Stress Testing)

here I want to ask to you, what's the difference between running the gunicorn uvicorn with python, and default from tiangolo? I have tried to stress testing these using JMeter with thread properties: From these, I got the result:: From above I…
MADFROST
  • 1,043
  • 2
  • 11
  • 29
15
votes
4 answers

Best practices and literature for web application load testing

As a web developer I've been asked (a couple of times in my career) about the performance of sites that we've built. Sometimes you'll get semi-vague questions like "will the site continue perform well, even during product launch week?", "can the…
Stephan
  • 519
  • 6
  • 17
15
votes
6 answers

stress testing web applications on less capable hardware

My organization is having an interesting internal debate right now that raises a question that I would like to open to the community at large. The issue at hand is our environment in which we do stress-testing, capacity-testing,…
pohl
  • 3,158
  • 1
  • 30
  • 48
13
votes
1 answer

Start Time and End Time in JMeter Scheduler

I am working on JMeter version 2.5.1 and I want to set up a Scheduler for my Thread Group. I set the following values for scheduler fields: Start Time = 2011/12/13 11:30:00 End Time = 2011/12/13 11:32:00 Duration (seconds) = 3 Startup delay…
asma
  • 2,795
  • 13
  • 60
  • 87
13
votes
2 answers

Why i cannot save the test plan in jmeter?

regarding test plan not saving . I right clicked at test plan->choose save selection as ..->any window/popup box should open but getting no response.. I am using "jdk-16.0.1_windows-x64_bin".and "apache-jmeter-5.4.1" As indicated in this screenshoti…
13
votes
1 answer

How to use the Constant Throughput Timer to specify a maximum of 4 concurrents users per second, during an hour

I need to create a load test in which there's a maximum of 4 concurrent users per second. Then I need to repeat this for an hour. Is there any way to achieve this in JMeter? I have tried using this configuration: Number of Threads: 4 Ramp-up…
Axel
  • 1,674
  • 4
  • 26
  • 38
1
2
3
51 52