接口返回json:
{
"code": "000000",
"msg": "成功",
"data": {
"userId": 445962,
"userName": "13719654762",
"iconUrl": null,
"token": "5ea0bc3d-9f8f-47ff-826e-02e7e28563e1"
}
}
1.检查状态码等于200
2.检查响应中包含string
3.检查JSON某字段值
4.contains string 断言respoonse body中包含string