Newman Report

Collection
caocaoAPI_smoke_test
Description
polestar public charging caocao api testing 
Time
Tue Jan 28 2020 01:00:28 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
10
 
Total run duration
27.3s
Total data received
2.92KB (approx)
Average response time
1925ms
 
Total Failures
10

Requests

Method
GET
URL
 
 
Mean time per request
1161ms

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
788ms

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
1182ms

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
861ms

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
2.3s

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
1463ms

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
3.1s

Mean size per request
176B

 

Total passed tests
0
Total failed tests
2

 

Status code
504

 
Tests
NamePass countFail count
Body contains dynainfo string01
Status code is 20001
Method
GET
URL
 
 
Mean time per request
3s

Mean size per request
176B

 

Total passed tests
0
Total failed tests
2

 

Status code
504

 
Tests
NamePass countFail count
Body contains pricelist string01
Status code is 20001
Method
GET
URL
 
 
Mean time per request
3s

Mean size per request
176B

 

Total passed tests
0
Total failed tests
2

 

Status code
504

 
Tests
NamePass countFail count
Body contains provider string01
Status code is 20001
Method
POST
URL
 
 
Mean time per request
2.8s

Mean size per request
67B

 

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
494ms

Mean size per request
67B

 

Total passed tests
1
Total failed tests
0

 

Status code
200

 
Tests
NamePass countFail count
Status code is 20010

Failures

 
Description
expected '<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' to include 'acTotal'

Location
assertion:0 in test-script

Request
 
Description
expected false to be truthy

Location
assertion:1 in test-script

Request
 
Description
expected '<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' to include 'priceList'

Location
assertion:0 in test-script

Request
 
Description
expected false to be truthy

Location
assertion:1 in test-script

Request
 
Description
expected '<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' to include 'serviceFee'

Location
assertion:0 in test-script

Request
 
Description
expected false to be truthy

Location
assertion:1 in test-script

Request
 
Description
expected '<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' to include 'serviceFee'

Location
assertion:0 in test-script

Request
 
Description
expected false to be truthy

Location
assertion:1 in test-script

Request
 
Description
expected '<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor="white">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' to include 'providerNo'

Location
assertion:0 in test-script

Request
 
Description
expected false to be truthy

Location
assertion:1 in test-script

Request