Quality Assurance

Stress Testing

  • What is Stress Testing?

  • Difference between Load Testing and Stress Testing

  • API Smoke/Stress Testing in K6.io

AGENDA

What is stress testing?

Stress Testing is a type of load testing used to determine the limits of the system. The purpose of this test is to verify the stability and reliability of the system under extreme conditions.

Difference between Load testing and stress testing

Load testing

Stress testing

What is K6?

k6 is an open-source load testing tool that makes performance testing easy.

 Smoke testing in k6 

Smoke test is a regular load test, configured for a minimal load. (staging)

 Smoke testing in k6 

Smoke test is a regular load test, configured for a minimal load. (local)

 THe VU chart of a smoke test 

If your smoke test produced any errors, you should either correct the script or fix your environment before you continue.

 stress TESTING IN K6 

This configuration increases the load by 100 users every 2 minutes and stays at this level for 5 minutes. Also included a recovery stage at the end, where the system is gradually decreasing the load to 0.

 THE VU chart of a stress TEST 

 The point of the recovery stage is to determine if the system can serve requests once the load decreases to a normal level.

Stress Testing

By TenantCloud

Stress Testing

  • 234