K6-Frontpage-LoadTest
K6-Frontpage-LoadTest
- Test case designer: name
- Date of creation : 11.08.2025
Test case description
Verify that the PrestaShop https://vm4726.kaj.pouta.csc.fi/ page can handle a load of up to 100 concurrent virtual users without response errors, ramping up over 20 seconds and ramping down over 10 seconds.
Requirement ID: NFR-001 – Performance
The system must support at least 100 concurrent users per store instance without performance degradation.
Pre-state:
- K6 is installed.
Test Steps
- Configure the K6 performance test with the following options:
- Ramp-up to 100 virtual users in 20 seconds
- Ramp-down to 0 users in 10 seconds
- Each virtual user performs the following:
- Sends an HTTP GET request
- Checks that the HTTP response status is 200 (OK)
- Waits for 1 second before the next request
- Execute the K6 script from the locally.
- Observe K6 output for:
- Total requests sent
- Response times
- Percentage of successful (status 200) responses
- Error rates
- Collect test results from K6 output.
Expected result
- Availability: At least 99% of requests return HTTP 200 OK during the test duration.
- Performance:
- 95% of response times are less than 2 ms.
- No more than 1% of requests fail.
- Stability: No unexpected server errors (HTTP 5xx) or connection resets occur during the test.
- Completion: Test completes without premature termination or critical errors in K6 execution.