在Newmen回复“Bad Request”的情况下,没有给出任何信息[400 Bad Request, 1.06GB, 338ms].
Postman的同一个请求
{
"code": 400,
"message": "01070151:3: Rule [/Common/my-irule] error: Unable to find pool ( my-pool) referenced at line 5: [active_members my-pool]",
"errorStack": [],
"apiError": 3
}
我想在Newman得到同样的信息可能吗?
发布于 2018-06-14 16:03:24
在请求的测试部分中包含以下测试以获取命令行中的响应主体。
tests["Response: " + responseBody] = true;
在执行期间记录请求
tests["Request: " + JSON.stringify(request)] = true;
https://stackoverflow.com/questions/-100008676
复制相似问题