Apifox 报告

场景用例
测试用例
运行时间
2026-09-02 17:23:37
运行工具
Apifox-Cli v2.2.6
 
 
总数
失败数
循环数
1
0
HTTP 接口请求数
1
1
断言数
2
2
 
总耗时
3.13s
总返回数据
66B
接口请求耗时
3.09s
平均接口请求耗时
3.09s
 
通过率
0.00%
失败率
100.00%
未测率
0.00%

接口请求情况



Method
POST
URL
 
 
耗时
3.09s

返回数据
0B

 

HTTP 状态码
502

 

断言通过数
0
断言失败数
2

 
断言详情
名称 结果 详情
验证返回401未授权状态码 失败 AssertionError: expected '502' to deeply equal '401' at Object.eval sandbox-script.js:1:1)
验证响应包含未授权提示信息 失败 AssertionError: the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string at Object.eval sandbox-script.js:1:1)




失败情况

AssertionError:验证返回401未授权状态码
说明
expected '502' to deeply equal '401'

详情
AssertionError: expected '502' to deeply equal '401' at Object.eval sandbox-script.js:1:1)

接口

AssertionError:验证响应包含未授权提示信息
说明
the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string

详情
AssertionError: the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string at Object.eval sandbox-script.js:1:1)

接口