question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stress / load testing

See original GitHub issue

Desired 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:open
  • Created 5 years ago
  • Reactions:47
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
snekocommented, Jan 28, 2021

I would be also interested to know if it would make sense to use Cypress tests to “load test” “all the infrastructure”?

Meaning:

  • it loads the frontend
  • interacts with the frontend as a real user (it’s local, but never mind it respects timing of animations and so on…)
  • requests go through API
  • requests go through backend + DB

Indeed being able to parallelize multiple users would help making this concrete.

Did any of you try that?

10reactions
davidjeddycommented, Dec 10, 2019

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found