Skip to content

Commit 4e8c865

Browse files
committed
Automated performance testing: stop test consideration
1 parent cd14f92 commit 4e8c865

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,20 @@ Make sure not to introduce variance between test runs. If changes are necessary,
294294

295295
Additionally, we recommend scheduling the execution of the same test twice and almost consecutively. This collects one extra test run result for better comparison and allows us to ignore a potentially unreliable test.
296296

297+
### Establish how to stop automated and manual tests
298+
299+
Certain performance tests, especially those involving heavy-load tests, might cause outages. Automating the execution of risky tests without supervision may not be desirable, but that doesn't mean you should avoid them.
300+
301+
These tests require controlled test execution and real-time analysis of test results, allowing them to be stopped before the system becomes unresponsive.
302+
303+
Similarly, you might want to stop a test when the system begins to produce a flood of errors. When a system becomes completely overloaded, continuing the test execution often doesn't provide more meaningful insights and merely consumes resources.
304+
305+
To stop a k6 test, learn how to use the [`abortOnFail` threshold option](/using-k6/thresholds/#abort) or integrate with the k6 CLI or Grafana Cloud k6.
306+
297307
### Complement automation with a repeatable QA process
298308

299309
We mentioned this at the beginning of the guide: automation in performance testing is about establishing a repeatable and consistent testing process.
300310

301-
Certain performance tests, especially heavy-load tests, might cause outages. These tests require a controlled execution and real-time analysis to prevent the system from becoming unresponsive. It may not be desirable to automate the execution of these tests without supervision, but it doesn't mean you should avoid them.
302-
303311
You should also plan the frequency of tests that are manually triggered and require supervision of the system during their execution. To ensure these different cases are consistently tested, set reminders and document them as part of the QA process and release checklists. Common examples are:
304312

305313
- Running soak tests quarterly.

0 commit comments

Comments
 (0)