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
4
votes
1 answer

Load Testing for Django Application

I have been looking for a tool to load test my django application. I was wondering if there is go to one for django web applications. I am required to login and place various requests to the site as multiple users and see how the site scales with…
Mahdi Yusuf
  • 19,931
  • 26
  • 72
  • 101
4
votes
0 answers

How should I use locust to write stress tests for WebSocket

1.how should i keep-alive? 2.How to calculate the response time? I rewrote loust according to online blog class WebSocketClient(object): def __init__(self, host): self.host = host self.ws = websocket.WebSocket() def…
Zoe Zou
  • 41
  • 3
4
votes
2 answers

How to init data in JUnit tests

My task is to write stress (load) tests for Service Layer. There are mostly CRUD operations. We use JUnit as test framework, JUnitPerf for building load tests, Spring for injecting service beans and hibernate to access database. The stress test is…
Zalivaka
  • 763
  • 2
  • 13
  • 20
4
votes
6 answers

How do i generate a histogram for a given probability distribution (for functional testing a server)?

I am trying to automate functional testing of a server using a realistic frequency distribution of requests. (sort of load testing, sort of simulation) I've chosen the Weibull distribution as it "sort of" matches the distribution I've observed…
Jacob Rigby
  • 1,323
  • 2
  • 15
  • 20
4
votes
5 answers

How to stress test a gwt app

Did someone have succeed stressing a GWT app? Any recommended tool?
Ecarrion
  • 4,940
  • 1
  • 33
  • 44
4
votes
1 answer

Increase the time for console report in Gatling

I am running the gatling simulations and the gatling console report is printed every 5 seconds. ---- user-workflow…
divinedragon
  • 5,105
  • 13
  • 50
  • 97
4
votes
2 answers

How to stress test an ORM data-driven website?

I'm used to developing private applications for very small amount of concurrent users (usually no more than 10) on very good servers, so I have never been pressed about stress testing my applications. That being said, this is something I want to…
rebelliard
  • 9,592
  • 6
  • 47
  • 80
4
votes
2 answers

Model - View - ViewModel & WCF - is WCF the model?

I'm just learning the Model / View / ViewModel pattern and it's variations (DataModel / View / ViewModel, or Model / View / Presenter). What I wonder is: if I use this pattern with a WCF service, is the service the Model (DataModel), or do I need a…
Sam
  • 28,421
  • 49
  • 167
  • 247
4
votes
2 answers

How do you stress load dev database (server) locally?

Wow, this title gave me immediately "The question you're asking appears subjective and is likely to be closed." Anyway, after some searching and reading, I decided to ask it. Coming from my question: What are the first issues to check while…
4
votes
1 answer

cant get ab test to work with gzip

this is my nginx gzip config: gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 4; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; I…
Amir Bar
  • 3,007
  • 2
  • 29
  • 47
4
votes
3 answers

Stress Test visual studio with multi core cpu

how i can configure the Test Project of visual studio to use all CPU's core. When i run the test i can see on my performance indicator that only one core is being used (100%) and the rest 7 cores is being unused. I have inside the Test Project a…
user143887
4
votes
5 answers

Stress Test tool for Password Protected Website

We need to run a stress test on a password protection section of a website we host. What tool (paid or free) would be best for us to use for this? We'd like to be able to create several 'scripts' and then have the stress test simulate X number of…
Jason
  • 1,496
  • 4
  • 29
  • 41
4
votes
0 answers

How to detect and/or enable developer mode in Android, using the sdk?

How to detect and/or enable developer mode in Android, using the sdk? I already know about this: boolean isDebuggable = ( 0 != ( getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE ) ); But this is not what I'm looking for. I want to see…
Rickmp
  • 51
  • 4
4
votes
2 answers

How to properly benchmark / stresstest single-page web application

I am somehow familiar with benchmarking/stress testing traditional web application and I find it relatively easy to start estimating maximum load for it. With tools I am familiar (Apache ab, Apache JMeter) I can get a rough estimate of the number of…
4
votes
1 answer

while and IF controller- Jmeter

I have a While controller with condition ${__javaScript("${DONE}"!="Downloaded")} which works perfect. Now I want to add another condition ${__javaScript("${Temp}"!="No Exceptions found")} loop must quit in one of the above conditions. For this I…
Just_another_developer
  • 5,737
  • 12
  • 50
  • 83