SquidUp testfixture — deterministic HTTP endpoints for monitoring tests. /status/:code[/:body] return given status, optional body /delay/:ms[/:code] sleep ms then respond /redirect/:n n hops before final 200 /redirect-loop infinite redirect /json simple JSON body /json/complex nested JSON, good for json_path_equals /json/invalid malformed JSON with Content-Type: application/json /html small HTML with keyword "healthy" /text plain text /empty zero-byte 200 /large/:bytes N bytes body (cap 20 MiB) /basic-auth/:user/:pass require Basic auth matching /bearer require Authorization: Bearer /api-key/:header require header :header with any value /flaky/:rate[/:code] fail rate% deterministically per-minute /toggle/:name (GET) 200 if on, 503 if off /toggle/:name (POST) flip the switch /graphql fake GraphQL; body.query: "error"/"null"/else /echo reflects method, path, headers, body /headers reflects only headers /healthz always 200 {"status":"up"} /ok always 200 "ok" /version fixture version