Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nei批量导入接口测试用例,显示导入失败 #143

Open
ct1104 opened this issue Apr 5, 2021 · 0 comments
Open

nei批量导入接口测试用例,显示导入失败 #143

ct1104 opened this issue Apr 5, 2021 · 0 comments

Comments

@ct1104
Copy link

ct1104 commented Apr 5, 2021

参考链接中的格式:https://github.com/x-orpheus/nei-toolkit/blob/master/doc/在NEI中导入接口的测试用例.md

构建如下的json文件,两种导入方式,均导入失败:
方式1:在接口测试中左侧的接口列表树的接口列表一栏导入测试用例,
方式2:点开目标待测试的接口,在用例管理里,点选导入测试用例导入。

请帮忙排查下,谢谢!

{
"GET /api/interfaces/": [
{
"name": "355823_获取指定项目下的所有的接口id列表",
"description": "",
"pathParams": {},
"reqHeaders": {},
"reqData": {
"pid": {
"ignored": 0,
"value": 123456
}
},
"resExpectHeaders": {},
"resExpect": {
"code": {
"error": "Field:code ----> Expect Data != Actual Response",
"value": "Number"
},
"msg": {
"error": "Field:msg ----> Expect Data != Actual Response",
"value": "String"
},
"result": {
"error": "Field:result ----> Expect Data != Actual Response",
"value": ""
}
}
}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant