正常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_abc",
"fromSystem": "test",
"system": "heidianku"
}
异常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui",
"fromSystem": "test",
"system": "heidianku"
}
正常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui",
"fromSystem": "test",
"system": "liucheng"
}
异常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui2",
"fromSystem": "test",
"system": "liucheng"
}
正常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_abc",
"fromSystem": "test",
"system": "daping"
}
异常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui",
"fromSystem": "test",
"system": "daping"
}
正常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui",
"fromSystem": "test",
"system": "fenxi"
}
异常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui2",
"fromSystem": "test",
"system": "fenxi"
}
正常常测试用例
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_abc",
"fromSystem": "test",
"system": "yuce"
}
异常测试用例--用户存在但无相应权限返回用户不存在
POST http://133.96.94.176:12128/api/verification
Content-Type: application/json
{
"token": "test_token_hengshui",
"fromSystem": "test",
"system": "yuce"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "findRoleList",
"userName": "王"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "findToPage"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "getByLoginId",
"loginId": "test_handan"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "get",
"userId": "33"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "findRoleIdByUserId",
"userId": "33"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "findUserIdByRoleId",
"roleId": "3"
}
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "findAuthorizedUser",
"userId": "33"
}
根据用户查找角色+城市信息
POST http://133.96.94.176:12128/rest/flow/api
Content-Type: application/json
{
"callType": "getRoleCityByUserId",
"userId": "13"
}
POST http://133.96.94.176:12128/rest/flow/api/userTree
Content-Type: application/json
{
"city": 130200,
"role": [6],
"user": []
}
正常测试用例
POST http://133.96.94.176:12128/rest/flow/api/getPhoneListByRole
Content-Type: application/json
{
"cityId": 131100,
"roleId": 5
}
异常测试用例1--输入错误--返回错误信息
POST http://133.96.94.176:12128/rest/flow/api/getPhoneListByRole
Content-Type: application/json
{
"cityId": 131200,
"roleId": "abc"
}
异常测试用例2--输入参数缺失--返回空列表
POST http://133.96.94.176:12128/rest/flow/api/getPhoneListByRole
Content-Type: application/json
{
"cityId": 130100
}