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

Stress testing in NodeJS/Socket.io for 1000 users?

I'm currently working on a chat-like application. There's users, chatrooms, messages—all that stuff. The app is powered by Node.js and Socket.IO. One thing I am interested in doing, though, is stress testing the application. The tests that currently…
MeanStackeD
  • 123
  • 2
  • 8
7
votes
3 answers

C# Stress Test - Simulate multiple access to a given shared resource

How can you simulate/stress test about 100 users accessing a given shared resource (e.g. Database) in a c# unit test?
Soni Ali
  • 18,464
  • 16
  • 44
  • 53
7
votes
1 answer

How to stress test server memory and processor?

At work we are in the middle of a server migration and we want to stress test the new server before starting to migrate our data. I was wondering if anyone had any ideas for scripts that will put intense load on the processor and/or memory? It is a…
martincarlin87
  • 10,848
  • 24
  • 98
  • 145
6
votes
2 answers

How many threads/users can one Windows client simulate during my load test?

I'm planning to do a load test of our ASP/.NET web application and need to simulate about 600 concurrent users on our system. Initially we'll just be running the load test tools (probabaly JMETER or WCAT/WAST) from our personal workstations which…
tresstylez
  • 1,809
  • 6
  • 29
  • 41
6
votes
1 answer

Application to Stress Test in a Windows .NET Application

I am developing a Windows .NET application (WinForms) and I need to simulate a stress test of the database and the application ( more than 100 conections). What tools do you recommend?
Jedi Master Spooky
  • 5,629
  • 13
  • 57
  • 86
6
votes
3 answers

How to test 1000 clients windows 7 clients

We have .net clients running on Windows 7 embedded with sql server express. These run disconnected and every so often will dial in to a central server and dump their information and pull down pertinent new info. We want to do a stress test of the…
6
votes
1 answer

How to stress test a mongodb?

I like to run simulated test-clients that act as if e.g. 1000 clients execute tasks at the same time on a mongodb and see how the server stands. Together with profiling tools I like to be able to identify bottlenecks and fix them before they become…
Michael Hoeller
  • 22,018
  • 10
  • 39
  • 66
6
votes
5 answers

Any suggestions for good automated web load testing tool?

What are some good automated tools for load testing (stress testing) web applications, that do not use record and replay of HTTP network packets? I am aware that there are numerous load testing tools on the market that record and replay HTTP network…
user128300
6
votes
1 answer

Using Gatling as an integration test tool

Currently I have a small suite of integration tests running against my web-server which makes a request and asserts some assumptions on what the responses should be. These are written in Ruby generating http requests. I've been looking at Gatling…
Neil
  • 5,179
  • 8
  • 48
  • 87
6
votes
3 answers

Make Summary Report Jmeter output in CSV what it shows in table

The Filename given to store the results of Jmeter Summary report should (as I understand) store the same info I see on the screen . But instead it stores a short response of the HTTP request sent like this :
Just_another_developer
  • 5,737
  • 12
  • 50
  • 83
6
votes
2 answers

How do you find the CPU consumption for a piece of Python?

Background I have a Django application, it works and responds pretty well on low load, but on high load like 100 users/sec, it consumes 100% CPU and then due to lack of CPU slows down. Problem: Profiling the application gives me time taken by…
Yugal Jindle
  • 44,057
  • 43
  • 129
  • 197
5
votes
2 answers

Network traffic simulation test

I've got a PHP site up and running, and the db is mysql. before launching the site, I would like to test the traffic handling. Now am assuming that there are soe softwares that would simulate the traffic and log the processes running on my site. Any…
sys_debug
  • 3,883
  • 17
  • 67
  • 98
5
votes
0 answers

Stress testing of node.js services

I'm building a stress testing framework for node.js services using node.js. Do you know relevant projects which I can use / look at? node.js projects that you've used and worked good? (latency, throughput etc..) Any best practices on that…
Adibe7
  • 3,469
  • 7
  • 30
  • 36
5
votes
2 answers

Stress testing development server / production server

I am very new to stress testing and am just trying to learn the ropes. So my questions are: If I have a development server which in terms of software is identical but in terms of hardware has a much lower spec that the production server, is it…
ChrisInCambo
  • 8,455
  • 15
  • 50
  • 63
5
votes
5 answers

Load testing the UI

I have been working on a site that makes some pretty big use of AJAX and dynamic JavaScript on the front end and it's time to start stress testing. But how do you properly stress test something that requires clicking several links on the front-end?…
Steven Surowiec
  • 10,030
  • 5
  • 32
  • 37