124 lines
2.7 KiB
JSON
124 lines
2.7 KiB
JSON
{
|
|
"scope": "既有 sw7,只读查询及必然拒绝的无效写请求;正向流转另用隔离 SQLite 和 TCP HTTP 测试",
|
|
"base_url": "http://127.0.0.1:18000",
|
|
"checks": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRecord/list?pageNum=1&pageSize=10",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true,
|
|
"total": 0,
|
|
"available": true,
|
|
"status_count": {}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRecord/list?platformCodes=lx,hw&status=5",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true,
|
|
"total": 0,
|
|
"available": true,
|
|
"status_count": {}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRule/ruleTypes",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/business/list?pageNum=1&pageSize=500",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRecord/list?businessId=10007",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true,
|
|
"total": 0,
|
|
"available": false,
|
|
"status_count": {}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRecord/list?businessId=10001",
|
|
"http": 200,
|
|
"code": 0,
|
|
"msg": "成功",
|
|
"passed": true,
|
|
"total": 0,
|
|
"available": true,
|
|
"status_count": {}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/sw/alertRecord/detail/0",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/startProcess",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/submitAudit",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/approve",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/reject",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/reProcess",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/sw/alertRecord/addNote",
|
|
"http": 200,
|
|
"code": 7,
|
|
"msg": "预警记录参数不正确",
|
|
"passed": true
|
|
}
|
|
],
|
|
"passed": true
|
|
}
|