项目

一般

简介

错误 #24895

集团sop-新增页-添加发布状态sop,steps异常返回结果错误

由 王晓 在 超过一年 之前添加. 更新于 超过一年 之前.

状态:
已关闭
优先级:
指派给:
开始日期:
2023-04-10
计划完成日期:
% 完成:

0%

预期时间:
严重等级:
Major
问题所属模块:
集团sop-新增页模块
问题类型:
自动化测试问题

描述

接口路径:https://gapmsit.persagy.com/sop/restGroupSopService/addPublishedSop
header:
header:{
"Content-Type":"application/json;charset=utf-8",
"groupCode":"apiauto"
}

入参:
{
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"project_id": "Pj6110000001",
"work_type": "3",
"operator": {
"id": "RY1610165864729063425",
"name": "接口自动化"
},
"sop_name": "ApiTestNNQe90606",
"steps": [
{
"name": "第1步",
"id": 0,
"step_content11": [
{
"from_sop": false,
"confirm_result": [
{
"description": "ApiTestNNQe90606"
}
]
}
],
"from_sop": false
}
]
}
响应:
{"ResultMsg":"description不能为空","ResultCode":"A0400","Result":"failure"}
预期结果:
{"ResultMsg":"steps不存在","ResultCode":"00000","Result":"success"}
实际结果:
{"ResultMsg":"description不能为空","ResultCode":"A0400","Result":"failure"}

历史记录

#1

由 王晓 更新于 超过一年 之前

  • 主题sop管理-新增页-添加发布状态sop,steps异常提示信息不准确 变更为 集团sop-新增页-添加发布状态sop,steps异常提示信息不准确
  • 问题所属模块sop管理-新增页模块 变更为 集团sop-新增页模块
#2

由 王晓 更新于 超过一年 之前

  • 指派给 被设置为 薛涛
  • 目标版本 被设置为 v5.0.0-33e6643-202304072238
#3

由 王晓 更新于 超过一年 之前

  • 主题集团sop-新增页-添加发布状态sop,steps异常提示信息不准确 变更为 集团sop-新增页-添加发布状态sop,steps异常返回结果错误
  • 优先级 变更为
  • 严重等级Normal 变更为 Major

接口路径:https://gapmsit.persagy.com/sop/restGroupSopService/addPublishedSop
header:
header:{
"Content-Type":"application/json;charset=utf-8",
"groupCode":"apiauto"
}

入参:
{
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"project_id": "Pj6110000001",
"work_type": "3",
"operator": {
"id": "RY1610165864729063425",
"name": "接口自动化"
},
"sop_name": "ApiTestFNv245106",
"steps": [ApiTestFNv245106]
}
响应:
{"ResultMsg":"JSON parse error: Unrecognized token 'ApiTestFNv245106': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'ApiTestFNv245106': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (PushbackInputStream); line: 10, column: 33]","ResultCode":"A0400","Result":"failure"}
预期结果:
{"ResultMsg":"steps不存在","ResultCode":"A0400","Result":"failure"}
实际结果:
{"ResultMsg":"JSON parse error: Unrecognized token 'ApiTestFNv245106': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'ApiTestFNv245106': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (PushbackInputStream); line: 10, column: 33]","ResultCode":"A0400","Result":"failure"}

#4

薛涛 更新于 超过一年 之前

  • 状态新建 变更为 已解决

加入验证

#5

由 王晓 更新于 超过一年 之前

  • 状态已解决 变更为 已关闭

导出 Atom PDF