Name: get token (setup)
Request:
url | http://127.0.0.1:8080/api/getTokenId |
---|---|
method | POST |
headers |
User-Agent: python-requests/2.19.1
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Content-Type: application/json
Content-Length: 107
|
body | {"user_agent": "iOS/10.3", "device_sn": "TESTCASE_SETUP_XXX", "os_platform": "ios", "app_version": "2.8.6"} |
Response:
ok | True |
---|---|
url | http://127.0.0.1:8080/api/getTokenId |
status_code | 200 |
reason | |
cookies | {} |
encoding | UTF-8 |
headers |
Content-Type: text/plain;charset=UTF-8
Content-Length: 77
Date: Wed, 06 Mar 2019 08:57:55 GMT
|
content_type | text/plain;charset=UTF-8 |
json | {'id': '11', 'request': {'base_url': '', 'headers': {'User-Agent': 'homeworkGray'}}} |
Validators:
check | comparator | expect value | actual value |
---|---|---|---|
status_code | eq | 200 | 200 |
Statistics:
content_size(bytes) | 77 |
---|---|
response_time(ms) | 523.71 |
elapsed(ms) | 482.597 |