Report rate limit errors
- Reporting rate limit name if exists to the error output in tests
- Adding troubleshooting section for rate limits
Example output when `Enable authenticated API request rate limit` is hit by a test
execution: local
script: k6/tests/api/api_v4_groups_group.js
output: -
scenarios: (100.00%) 1 scenario, 2 max VUs, 50s max duration (incl. graceful stop):
* default: Up to 2 looping VUs for 20s over 3 stages (gracefulRampDown: 30s, gracefulStop: 30s)
time="2022-08-24T15:01:40+02:00" level=info source=console
time="2022-08-24T15:01:40+02:00" level=info msg="RPS Threshold: 0.08/s (2)" source=console
time="2022-08-24T15:01:40+02:00" level=info msg="TTFB P90 Threshold: 24000ms" source=console
time="2022-08-24T15:01:40+02:00" level=info msg="Success Rate Threshold: 20%" source=console
time="2022-08-24T15:01:41+02:00" level=warning msg="Error detected: 'Retry later\n' ====> Rate Limit error caused by 'throttle_authenticated_api' limit. ====> Correlation ID: 01GB7Z3EDKZPR3N6ED10F7FMVX" source=console
Closes #528 (closed)