blob: e95a3f00c70ae96736226e97c0c28d2747f5275e [file] [log] [blame]
Tests for Network.interceptContinue.
== Running test suite: Network.interceptContinue
-- Running test case: Network.interceptContinue.Request
Adding interception...
Triggering load...
Testing invalid requestId...
PASS: Should produce an exception.
{
"code": -32000,
"message": "Missing pending intercept request for given requestId",
"data": [
{
"code": -32000,
"message": "Missing pending intercept request for given requestId"
}
]
}
Testing incorrect stage...
PASS: Should produce an exception.
{
"code": -32000,
"message": "Missing pending intercept response for given requestId",
"data": [
{
"code": -32000,
"message": "Missing pending intercept response for given requestId"
}
]
}
Continuing load...
{"alpha":"beta","gamma":12345}
Removing interception...
-- Running test case: Network.interceptContinue.Response
Adding interception...
Triggering load...
Testing invalid requestId...
PASS: Should produce an exception.
{
"code": -32000,
"message": "Missing pending intercept response for given requestId",
"data": [
{
"code": -32000,
"message": "Missing pending intercept response for given requestId"
}
]
}
Testing incorrect stage...
PASS: Should produce an exception.
{
"code": -32000,
"message": "Missing pending intercept request for given requestId",
"data": [
{
"code": -32000,
"message": "Missing pending intercept request for given requestId"
}
]
}
Continuing load...
{"alpha":"beta","gamma":12345}
Removing interception...