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

Gatling: meaning of all fields in simulation.log file

I could not find any documentation other than four longs being the bytes received at the start and end regarding simulation.log file in Gatling output. Below is sample line from the log: My scenario - Sync 7526052819726874465-2088 REQUEST My…
user_1357
  • 7,766
  • 13
  • 63
  • 106
9
votes
2 answers

Gatling proxy configuration

This is a followup to this question. I'm using the same configuration. However, I'm trying to use an internal website through a proxy server. I'm not sure if the following the correct way to configure a proxy in the simulation. val httpConf…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
9
votes
4 answers

How should I stress test my web application?

I've got a somewhat complex web application, containing Flash and javascript on the client side and PHP functionality server side. The PHP functionality contains system calls (exec()) to merge/edit/create files with gnu software (*nix environment)…
Björn
  • 29,019
  • 9
  • 65
  • 81
9
votes
3 answers

How to count failed requests with jmeter

I am running JMeter and I want a count of all the failed requests that either timed out, or, just plain failed. I see that some of the listeners show that there have been failures, but none see to have a field that displays the total number of…
BlackHatSamurai
  • 23,275
  • 22
  • 95
  • 156
9
votes
2 answers

tomcat7 vs. tomcat6, Is there any significant difference in their performance?

I have been working on stress testing a Java web application (JSP+Tomcat6+Struts2+Hibernate+mysql) and well the results I was getting wasn't something to brag about! So I upgraded the tomcat version to 7, and wow! the requests/sec I got was 5 times…
SJ.Jafari
  • 1,236
  • 8
  • 27
  • 39
9
votes
7 answers

Stress-testing ASP.NET/IIS with WCAT

I'm trying to setup a stress/load test using the WCAT toolkit included in the IIS Resources. Using LogParser, I've processed a UBR file with configuration. It looks something like this: [Configuration] NumClientMachines: 1 # number of…
MartinHN
  • 19,542
  • 19
  • 89
  • 131
9
votes
2 answers

Difference between Solr Facet Fields and Filter Queries

I am using SolrMeter to test Apache Solr search engine. The difference between Facet fields and Filter queries is not clear to me. SolrMeter tutorial lists this as an exapmle of Facet fields : content category fileExtension and this as an example…
Cola
  • 2,097
  • 4
  • 24
  • 30
8
votes
2 answers

Stress-testing using Cucumber

I'm currently writing integration tests for a RoR REST API using cucumber. I'd also like to stress-test the API and was wondering how I might be able to re-use my cucumber scenarios to do this. I've used JMeter and httperf before for stress-tests,…
8
votes
8 answers

What tool(s) for fairly complex stress testing a web application

I'm part of a team developing a new web-based product for our company. Whilst we're pretty positive the application will work perfectly with our expected average of 10-50 concurrent users, we have a requirement to ensure it will continue to work…
Sk93
  • 3,676
  • 3
  • 37
  • 67
8
votes
2 answers

Stress attribute -- sklearn.manifold.MDS / Python

I'm using the scikit-learn method MDS to perform a dimensionality reduction in some data. I would like to check the stress value to access the quality of the reduction. I was expecting something between 0 - 1. However, I got values outside this…
pceccon
  • 9,379
  • 26
  • 82
  • 158
8
votes
6 answers

How to make apache slow and unreliable?

I'm writing some code on a mobile device that uses a REST service to retrieve data from a host. That REST services is being proxied by Apache. In test mode I would like to be able to simulate network outages (as if the device has lost it's cell…
Jack Cox
  • 3,290
  • 24
  • 25
7
votes
2 answers

Memory Stress Testing in C#

I want to create a tool to simulate memory restrictions to memory stress test other applications. I came up with the following code after going through some google searches, but when running this, the task manager or the resource monitor does not…
chamilad
  • 1,619
  • 3
  • 23
  • 40
7
votes
1 answer

JMeter test plan with different parameter for each thread

I need to test web-srvice with JMeter. I've created test plan with Thread-group 500. I need to pass for each thread new value of parameter. I've heard about "CSV Data Set Config", but it doesn't allow what I want, because if I set "Sharing mode" =…
Roman
  • 565
  • 1
  • 10
  • 27
7
votes
5 answers

Can we create 300,000 threads in a C# application and run it on a PC?

I am trying to imitate a scenario where 300,000 consumers are accessing a server. So I am trying to create the pseudo clients, by repeatedly querying the server from the concurrent threads. But the first hurdle to be cleared is, whether it is…
Andy_MSFT
  • 312
  • 3
  • 13
7
votes
3 answers

Good math functions that stress the CPU

Anyone know any good math functions that causes a lot of load on the CPU. I am wanting to create a simple program the just creates load for X amount of seconds while another program monitors it. I'm just looking for functions, not actual stress…
Chris Allen
  • 653
  • 4
  • 9
  • 17