Stress / load testing
See original GitHub issueDesired behavior:
I’d like a --stress-test
parameter which lets me re-run tests for a set number of hours, with a final report to indicate which tests are flaky and which are sturdy.
As an alternative, it’d be fine if your dashboard service would aggregate fails over time, allowing me to see which tests need more attention.
This feature is going to grow in importance to me personally as my test suite grows in size.
- Operating System: Linux Mint 18.3
- Cypress Version: Cypress 2.1.0
- Browser Version: Electron
Edit by @jennifer-shehane: Moved Dashboard feedback to https://portal.productboard.com/cypress-io/1-cypress-dashboard
Issue Analytics
- State:
- Created 5 years ago
- Reactions:47
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Load Testing vs. Stress Testing: What's the Difference?
Load tests help you understand how a system behaves under an expected load. Stress tests help you understand the upper limits of a...
Read more >Performance Testing vs. Load Testing vs. Stress Testing
A stress test is a type of performance test that checks the upper limits of your system by testing it under extreme loads,...
Read more >Load Testing vs Stress Testing vs Performance Testing - Guru99
Load testing is subset of performance testing, while Performance testing is superset of load and stress testing, whereas Stress testing is ...
Read more >Load Testing vs Stress Testing: 5 Key Differences | IR
Load testing assumes that the breaking point occurs below the peak load condition - or falls within established parameters, (whereas a stress test...
Read more >Performance Testing vs Load Testing vs Stress Testing ...
Load testing is meant to test the system by constantly and steadily increasing the load on the system until it reaches the threshold...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would be also interested to know if it would make sense to use Cypress tests to “load test” “all the infrastructure”?
Meaning:
Indeed being able to parallelize multiple users would help making this concrete.
Did any of you try that?
I would like to also suggest parallel execution during --load-test. Typically I use Gatling for load testing; but Cypress and Gatling do basically the same thing: load the UI, interact, confirm.
Being able to leverage Cypress to execute a series of user actions with (for example) 10 simulated users, would cover the need for Gatling.
Stretch goal: record and display TTFB, average page load time, load bytes, HTTP code responses and counts (200,404,500,etc).