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
12
votes
3 answers

What are the most difficult-to-render Unicode samples?

I'm trying to implement a cross-platform (desktop browsers, iOS, & Android) typography system that allows users to input any Unicode string. What are some strings I should use to stress-test my system and ensure the most nines of users will have a…
Ky -
  • 30,724
  • 51
  • 192
  • 308
12
votes
5 answers

How should I stress test / load test a client server application?

I develop a client-server style, database based system and I need to devise a way to stress / load test the system. Customers inevitably want to know such things as: • How many clients can a server support? • How many concurrent searches can a…
jkp
  • 78,960
  • 28
  • 103
  • 104
12
votes
7 answers

How to set up a load/stress test for a web site?

I've been tasked with stress/load testing our company web site out of the blue and know nothing about doing so. Every search I make on google for "how to load test a web site" just comes back with various companies and software to physically do the…
Ryan
  • 6,756
  • 13
  • 49
  • 68
11
votes
1 answer

How do I calculate the number of concurrent users to use in a load test?

We’ve come across this question fairly often at Load Impact, so I thought I’d add it to the Stack Overflow community to make it easier to find. How do I calculate the number of concurrent users (VUs) that I need to simulate during a load test, in…
Ragnar
  • 1,122
  • 1
  • 9
  • 16
10
votes
1 answer

Stress-ng: RAM testing commands

Stress-ng: Can we test RAM using stress-ng? What are the commands used to test RAM on a MIPS 32 device?
10
votes
2 answers

Gatling: How to setUp and tearDown scenario

I have a Gatling test which should do the following: create user once retrieve user's data according to specific load model. Actual load testing. delete user after when done Question: how to emulate this with Gatling? If I chain calls like : val…
Fedor
  • 559
  • 1
  • 7
  • 19
10
votes
2 answers

Locust.io: Controlling the request per second parameter

I have been trying to load test my API server using Locust.io on EC2 compute optimized instances. It provides an easy-to-configure option for setting the consecutive request wait time and number of concurrent users. In theory, rps = wait time X…
siddharthlatest
  • 2,237
  • 1
  • 20
  • 24
10
votes
4 answers

How to use cassandra Stress tool

I would like learn more on cassandra stress tool , like how I can do the stress test and study the result. When cassandra-stress is executed from the cmd where is the keyspace made ,How to view them ?
drusya
  • 288
  • 1
  • 2
  • 12
10
votes
1 answer

HashedWheelTimer vs ScheduledThreadPoolExecutor for higher performance

I'm figuring what a timer implementation to use if you need to schedule tons of (non blocking) tasks as fast as possible inside jvm on one machine. I've studied ScheduledThreadPoolExecutor and HashedWheelTimer sources (+wheel timer general docs) and…
yetanothercoder
  • 1,689
  • 4
  • 21
  • 43
10
votes
1 answer

How do I use the --header option to send cookies with Siege?

I have just started to use Siege to do load/stressing test on a new web server. I am trying to test on my most resource/performance heavy script, but the script requires cookies. What is the proper format for using the --header option in siege? I…
Andrew
  • 1,226
  • 2
  • 13
  • 20
9
votes
3 answers

How do I do load/stress testing of wcf services hosted in a windows service?

We have around 15 wcf services hosted in windows service. Some of the are in .NET 4.0 and some in .NET 3.5. I would like to know how to perform load/stress/performance testing of wcf services hosted in windows service. The client uses .net tcp…
9
votes
3 answers

How can i stress my phone's CPU programatically?

So i overclocked my phone to 1.664ghz and I know there are apps that test your phone's CPU performance and stressers but I would like to make my own someway. What is the best way to really make your CPU work? I was thinking just making a for loop do…
Mohammad Adib
  • 788
  • 6
  • 19
  • 39
9
votes
5 answers

Tools to Replay Load on a SQL Server

Has anyone come across any good tools (preferably but not necessarily FOSS) that can read a SQL Server (2005/2008) trace file and execute the commands against another database. We are attempting to perform some performance testing on our SQL servers…
Jason Irwin
  • 1,985
  • 2
  • 29
  • 42
9
votes
2 answers

How To Interpret Siege and or Apache Bench Results

We have a MySQL driven site that will occasionally get 100K users in the space of 48 hours, all logging into the site and making purchases. We are attempting to simulate this kind of load using tools like Apache Bench and Siege. While the key…
michael0129
  • 91
  • 1
  • 2
9
votes
4 answers

JMeter and JavaScript

When I make HTTP Request in JMeter I get Response data like "This page uses JavaScript and requires a JavaScript enabled browser." How is it possible to fix this problem.
Ballon
  • 6,882
  • 18
  • 49
  • 63
1 2
3
51 52