Newman Report

Collection
caocaoAPI_smoke_test
Description
polestar public charging caocao api testing 
Time
Mon Jan 27 2020 18:00:03 GMT+0800 (China Standard Time)
Exported with
Newman v4.5.7
 
 
Total
Failed
Iterations
1
0
Requests
14
0
Prerequest Scripts
13
0
Test Scripts
14
0
Assertions
26
5
 
Total run duration
2.1s
Total data received
2.32KB (approx)
Average response time
108ms
 
Total Failures
5

Requests

Method
GET
URL
 
 
Mean time per request
421ms

Mean size per request
110B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains token string10
Status code is 20010
Method
POST
URL
 
 
Mean time per request
325ms

Mean size per request
27B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains register success10
Status code is 20010
Method
POST
URL
 
 
Mean time per request
85ms

Mean size per request
27B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains rebind success10
Status code is 20010
Method
POST
URL
 
 
Mean time per request
85ms

Mean size per request
27B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains logoff string10
Status code is 20010
Method
GET
URL
 
 
Mean time per request
55ms

Mean size per request
529B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains baseinfo string10
Status code is 20010
Method
GET
URL
 
 
Mean time per request
65ms

Mean size per request
529B

 

Total passed tests
2
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Body contains briefinfo string10
Status code is 20010
Method
GET
URL
 
 
Mean time per request
55ms

Mean size per request
58B

 

Total passed tests
1
Total failed tests
1

 

Status code
200

 
Tests
NamePass countFail count
Body contains dynainfo string01
Status code is 20010
Method
GET
URL
 
 
Mean time per request
49ms

Mean size per request
58B

 

Total passed tests
1
Total failed tests
1

 

Status code
200

 
Tests
NamePass countFail count
Body contains pricelist string01
Status code is 20010
Method
GET
URL
 
 
Mean time per request
52ms

Mean size per request
58B

 

Total passed tests
1
Total failed tests
1

 

Status code
200

 
Tests
NamePass countFail count
Body contains provider string01
Status code is 20010
Method
POST
URL
 
 
Mean time per request
58ms

Mean size per request
58B

 

Total passed tests
1
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Status code is 20010
Method
POST
URL
 
 
Mean time per request
48ms

Mean size per request
58B

 

Total passed tests
1
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Status code is 20010

Failures

 
Description
expected '{"code":10002,"msg":"access token 失效","success":false}' to include 'acTotal'

Location
assertion:0 in test-script

Request
 
Description
expected '{"code":10002,"msg":"access token 失效","success":false}' to include 'priceList'

Location
assertion:0 in test-script

Request
 
Description
expected '{"code":10002,"msg":"access token 失效","success":false}' to include 'serviceFee'

Location
assertion:0 in test-script

Request
 
Description
expected '{"code":10002,"msg":"access token 失效","success":false}' to include 'serviceFee'

Location
assertion:0 in test-script

Request
 
Description
expected '{"code":10002,"msg":"access token 失效","success":false}' to include 'providerNo'

Location
assertion:0 in test-script

Request