Skip to main content

Using Claude Code, Cursor, or another coding agent? Paste this into your prompt to run cross-browser and real-device tests, debug sessions, and wire up CI on the TestMu AI cloud:
Network assertions let you verify HTTP traffic: API responses, status codes, headers, response bodies, and request timing.

How Capture Works

KaneAI captures all HTTP network traffic automatically during each test step:
  • Continuous capture: Every HTTP request and response is recorded as it happens
  • Per-step scope: Each test step starts with a fresh capture. Traffic from previous steps is not carried over
  • Limits: Up to 5,000 requests are stored per step. When the limit is reached, the oldest 10% of entries are dropped to make room. Response bodies are capped at 64KB per entry
  • Text bodies only: Response bodies are captured for text-based content types (JSON, HTML, XML, CSS, JavaScript). Binary content (images, fonts, videos) is skipped
  • Multi-tab support: Traffic from new tabs and popups is also captured

Planning for Multi-Step Tests

Because network data resets each step, plan accordingly:
  • If you need to assert on an API response later, extract and store it in the same step the request happens
  • Navigation and API calls in step 1 won’t be visible in step 3’s network log
  • Use extraction checkpoints to save values across steps

What You Can Query

Example Assertions

Example Extractions

Example If/Else