错误 #24910
sop管理-列表页-删除已作废的sop,正向用例返回结果失败
0%
描述
接口路径:https://gapmsit.persagy.com/sop/restSopService/deleteSopById
header:
header:{
"Content-Type":"application/json;charset=utf-8",
"groupCode":"apiauto"
}
入参:
{
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"pd": "e64b78fc3bc91bcbc7dc232ba8ec59e0",
"groupCode": "apiauto",
"sop_id": "SOP6c09676c1d774f7cb9219f5333f15a94",
"operator": {
"id": "RY1610165864729063425",
"name": "接口自动化"
}
}
响应:
{"ResultMsg":"","Result":"success"}
预期结果:
"ResultCode":"00000"
实际结果:
无"ResultCode":"00000"
历史记录
由 王晓 更新于 超过一年 之前
- 主题 从 sop管理-列表页-删除已作废的sop,返回结果缺少code码 变更为 sop管理-列表页-删除已作废的sop,正向用例返回结果失败
- 优先级 从 中 变更为 高
- 严重等级 从 Normal 变更为 Major
接口路径:https://gapmsit.persagy.com/sop/restSopService/deleteSopById
header:{
"Content-Type":"application/json;charset=utf-8",
"groupCode":"apiauto"
}
入参:
{
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"pd": "e64b78fc3bc91bcbc7dc232ba8ec59e0",
"sop_id": "SOP24f8906bbbd64877987093ea992d9366",
"operator": {
"id": "RY1610165864729063425",
"name": "接口自动化"
}
}
响应:
{"ResultMsg":"groupCode不能为空","ResultCode":"A0400","Result":"failure"}
预期结果:
{"ResultMsg":"删除成功","ResultCode":"00000","Result":"success"}
实际结果:
{"ResultMsg":"groupCode不能为空","ResultCode":"A0400","Result":"failure"}
{"SELECT sop_status FROM sop WHERE sop_id='SOP24f8906bbbd64877987093ea992d9366'":"3"}
sql断言期望结果:2
sql期望结果:3