Test Case for FEA402
Test Case description | Check that API rate limiting exists and works |
Test Case ID | TESTCASE402 |
Author/Designer | Rasmus Vasara |
Date of creation | 8.3.2024 |
Class | Performance |
Test description / objective
Test case should verify the operation of API rate limiting to avoid overwhelming traffic from one user
Links to requirements or other sources
Test pre-state * For example the Postman application
Test steps
- Start sending requests towards the server
- Increase request send rates if necessary
Test end-state
- Should get an error message or such indicating the rate limit is reached.
To be taken into account during test
- Notion 1
- Notion 2
Test result (Pass/Fail Criteria)
-
PASS condition: Rate limit is reached, the backend handles it correctly and user is notified
-
FAIL condition: Requests are passed through at high rates without being interrupted