# Test data Each directory under here is a one-shot capture of a live goCoax MA2500D's management endpoints, used to seed the test mocks so they replay real device traffic instead of hand-written fixtures. ## Layout ``` / capture.json # manifest: request (method/path/body) -> response file bodies/00-session.html # raw /phyRates.html used to obtain the CSRF cookie bodies/01-local-info.json bodies/02-node-0.json ... ``` `capture.json` pairs each request with the file holding its raw response body; see `scripts/README.md` for the exact schema. ## How it was produced ```sh python3 scripts/capture.py --config .private/gocoax-exporter.cfg --out testdata ``` The script replays the exporter's request sequence: a session `GET /phyRates.html` for the CSRF cookie, then the management POSTs (`local-info`, per-node `node-info`, `mac`, `ip`, `chip-id`, `frame-info`, `misc-phy`, `misc-phy25`, `lof`, and per-node `fmr`). ## Regenerating Re-running the command against a live device produces the same *shape* (same request sequence and field counts) but different *values*, because counters and PHY-rate fields change between reads. The HTTP Basic auth credentials and the CSRF token are used on the wire but are never written to disk, so this tree contains no secrets.