Verify Network Error Handling
verify_network_error_handlingAssert that expected error responses appear in a session to validate the app's behavior under injected network failures using WireMock stubs.
Instructions
Assert that specific error responses appear in the session. Pair with WireMock stubs to verify the app behaves correctly under injected failures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| withinMs | No | ||
| sessionId | Yes | Active or completed session ID | |
| afterAction | No | Reference a prior UI action to anchor the time window | |
| filterDomains | No | Optional Proxyman domain filter | |
| expectedErrors | Yes | Error responses that must appear in session traffic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passed | Yes | ||
| verdict | Yes | ||
| errorsFound | Yes | ||
| missingErrors | Yes |