# RetryLab bench 7271bad0

- Bench id: `7271bad0-7ff0-4788-ab97-d3b12e68447e` (the only credential; keep it private)
- Endpoint: `GET https://retrylab.dev/api/e/7271bad0-7ff0-4788-ab97-d3b12e68447e/test`
- Endpoint with the current settings spelled out: `https://retrylab.dev/api/e/7271bad0-7ff0-4788-ab97-d3b12e68447e/test`
- Bench page (browser): https://retrylab.dev/7271bad0-7ff0-4788-ab97-d3b12e68447e
- JSON: https://retrylab.dev/api/sessions/7271bad0-7ff0-4788-ab97-d3b12e68447e
- Wiped at 00:00 Africa/Tripoli: 2026-10-24T00:00:00+02:00

## Current settings

These apply to every call unless a query parameter overrides them for that call.

| setting | value | meaning |
|---|---|---|
| name | test | last path segment of the endpoint |
| method | GET | the only method the endpoint accepts (405 otherwise) |
| fail | 0 | attempts that fail first, then it succeeds |
| code | 200 | status returned on a failure |
| percent | 0 | chance that any request fails |
| latency | 0 | ms to wait before answering |
| jitter | 0 | random ms added to or taken off the latency |
| timeout | 0 | ms to hold the connection, then close with no response |
| drop | 0 | close the connection immediately |
| echo | 0 | mirror the request inside a successful answer |

## Stats

- Requests so far: 0
- Last hit: none yet
- Opened: 2026-10-23T09:17:59+02:00

## Call it

    curl -i -X GET "https://retrylab.dev/api/e/7271bad0-7ff0-4788-ab97-d3b12e68447e/test"

Fail twice for one token, then succeed (query parameters override the settings above for that call only):

    curl -i -X GET "https://retrylab.dev/api/e/7271bad0-7ff0-4788-ab97-d3b12e68447e/test?fail=2&code=503" -H "X-Idempotency-Key: order-991"

Calls without a `token` or `X-Idempotency-Key` share this endpoint's one counter (named `shared` in responses). Values the endpoint does not understand answer 400 with a hint. `drop` and `timeout` close the connection with no response at all.

## Change it

    curl -s -X PATCH https://retrylab.dev/api/sessions/7271bad0-7ff0-4788-ab97-d3b12e68447e \
      -H "Content-Type: application/json" \
      -d '{"name":"checkout","method":"POST","fail":3,"code":503,"latency":800,"jitter":200}'

Any field may be omitted. Allowed values: method GET, POST, PUT, PATCH, DELETE; code 200 400 401 403 404 422 429 500 502 503 504; fail 0 to 100; percent 0 to 100; latency 0 to 30000; jitter 0 to 5000; timeout 0 to 60000; drop and echo true or false.

Full guide with response shapes and limits: https://retrylab.dev/llms-full.txt. OpenAPI: https://retrylab.dev/openapi.json.
