Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"reset":{"success":true,"score":1,"output":"newman
- Hack9 functional tests - invoice copy
- ❏ reset
- ↳ Reset
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/reset [201 Created, 104B, 295ms]
- ✓ Status code is 201
- ┌─────────────────────────┬────────────────────┬───────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ iterations │ 1 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ requests │ 1 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ test-scripts │ 2 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ prerequest-scripts │ 1 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ assertions │ 1 │ 0 │
- ├─────────────────────────┴────────────────────┴───────────────────┤
- │ total run duration: 359ms │
- ├──────────────────────────────────────────────────────────────────┤
- │ total data received: 0B (approx) │
- ├──────────────────────────────────────────────────────────────────┤
- │ average response time: 295ms [min: 295ms, max: 295ms, s.d.: 0µs] │
- └──────────────────────────────────────────────────────────────────┘
- "},"price":{"success":true,"score":1,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/7
- ❏ price
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=381112654&time=2019-07-24T00:30:30.00Z [200 OK, 220B, 231ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 2/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=38111236&time=2019-08-02T11:52:00.00Z [200 OK, 220B, 122ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 3/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=381116974&time=2019-12-01T03:05:00.00Z [200 OK, 220B, 174ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 4/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=381112486&time= [200 OK, 220B, 247ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 5/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=54789625475&time=2019-07-23T02:30:30.00Z [200 OK, 217B, 252ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 6/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=5411698752&time=2019-09-20T02:35:30.00Z [200 OK, 219B, 337ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- Iteration 7/7
- ↳ Get call price for the given phone number with correct time in the past Copy
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=54220125600&time=2019-12-01T04:30:30.00Z [200 OK, 220B, 404ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- ✓ Test the date price is valid from
- ✓ Test price initial
- ✓ Test price increment
- ┌─────────────────────────┬────────────────────┬────────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼────────────────────┼────────────────────┤
- │ iterations │ 7 │ 0 │
- ├─────────────────────────┼────────────────────┼────────────────────┤
- │ requests │ 7 │ 0 │
- ├─────────────────────────┼────────────────────┼────────────────────┤
- │ test-scripts │ 14 │ 0 │
- ├─────────────────────────┼────────────────────┼────────────────────┤
- │ prerequest-scripts │ 7 │ 0 │
- ├─────────────────────────┼────────────────────┼────────────────────┤
- │ assertions │ 42 │ 0 │
- ├─────────────────────────┴────────────────────┴────────────────────┤
- │ total run duration: 2.1s │
- ├───────────────────────────────────────────────────────────────────┤
- │ total data received: 612B (approx) │
- ├───────────────────────────────────────────────────────────────────┤
- │ average response time: 252ms [min: 122ms, max: 404ms, s.d.: 87ms] │
- └───────────────────────────────────────────────────────────────────┘
- "},"call":{"success":false,"score":0,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/18
- ❏ call
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 271B, 775ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 1. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 2. Test call cost from result body
- Iteration 2/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 267B, 337ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 3. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 4. Test call cost from result body
- Iteration 3/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 270B, 549ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 5. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 6. Test call cost from result body
- Iteration 4/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 266B, 594ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 7. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 8. Test call cost from result body
- Iteration 5/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 270B, 513ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- ✓ Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 9. Test call cost from result body
- Iteration 6/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 268B, 1652ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- ✓ Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 10. Test call cost from result body
- Iteration 7/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 269B, 1647ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 11. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 12. Test call cost from result body
- Iteration 8/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 267B, 2.1s]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 13. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 14. Test call cost from result body
- Iteration 9/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [404 Not Found, 195B, 642ms]
- 15. Status code is 200
- 16. Status code is 200
- 17. Test calling number from result body
- 18. Test called number from result body
- 19. Test start of the call from result body
- 20. Test call duration from result body
- 21. Test call price from result body
- 22. Test call cost from result body
- Iteration 10/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [404 Not Found, 195B, 590ms]
- 23. Status code is 200
- 24. Status code is 200
- 25. Test calling number from result body
- 26. Test called number from result body
- 27. Test start of the call from result body
- 28. Test call duration from result body
- 29. Test call price from result body
- 30. Test call cost from result body
- Iteration 11/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 269B, 26ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 31. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 32. Test call cost from result body
- Iteration 12/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 273B, 16ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- ✓ Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 33. Test call cost from result body
- Iteration 13/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 270B, 20ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- ✓ Test start of the call from result body
- ✓ Test call duration from result body
- 34. Test call price from result body
- 35. Test call cost from result body
- Iteration 14/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 269B, 16ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 36. Test start of the call from result body
- ✓ Test call duration from result body
- 37. Test call price from result body
- 38. Test call cost from result body
- Iteration 15/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 271B, 21ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- ✓ Test start of the call from result body
- ✓ Test call duration from result body
- 39. Test call price from result body
- 40. Test call cost from result body
- Iteration 16/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 270B, 35ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 41. Test start of the call from result body
- ✓ Test call duration from result body
- ✓ Test call price from result body
- 42. Test call cost from result body
- Iteration 17/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 269B, 32ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 43. Test start of the call from result body
- ✓ Test call duration from result body
- 44. Test call price from result body
- 45. Test call cost from result body
- Iteration 18/18
- ↳ Register call
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 269B, 41ms]
- ✓ Status code is 200
- ✓ Status code is 200
- ✓ Test calling number from result body
- ✓ Test called number from result body
- 46. Test start of the call from result body
- ✓ Test call duration from result body
- 47. Test call price from result body
- 48. Test call cost from result body
- ┌─────────────────────────┬────────────────────┬───────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ iterations │ 18 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ requests │ 18 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ test-scripts │ 36 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ prerequest-scripts │ 36 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ assertions │ 144 │ 48 │
- ├─────────────────────────┴────────────────────┴───────────────────┤
- │ total run duration: 10.2s │
- ├──────────────────────────────────────────────────────────────────┤
- │ total data received: 2.24KB (approx) │
- ├──────────────────────────────────────────────────────────────────┤
- │ average response time: 532ms [min: 16ms, max: 2.1s, s.d.: 625ms] │
- └──────────────────────────────────────────────────────────────────┘
- # failure detail
- 01. AssertionError Test start of the call from result body
- iteration: 1 expected 1563971430000 to deeply equal 1563928230000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 02. AssertionError Test call cost from result body
- iteration: 1 expected '769850.00' to deeply equal '12830.83'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 03. AssertionError Test start of the call from result body
- iteration: 2 expected NaN to deeply equal 1563615030000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 04. AssertionError Test call cost from result body
- iteration: 2 expected '47575.00' to deeply equal '792.92'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 05. AssertionError Test start of the call from result body
- iteration: 3 expected NaN to deeply equal 1564453930000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 06. AssertionError Test call cost from result body
- iteration: 3 expected '155700.00' to deeply equal '2595.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 07. AssertionError Test start of the call from result body
- iteration: 4 expected 1566649825000 to deeply equal 1566606625000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 08. AssertionError Test call cost from result body
- iteration: 4 expected '29925.00' to deeply equal '498.75'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 09. AssertionError Test call cost from result body
- iteration: 5 expected '453150.00' to deeply equal '7552.50'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 10. AssertionError Test call cost from result body
- iteration: 6 expected '51205.00' to deeply equal '853.42'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 11. AssertionError Test start of the call from result body
- iteration: 7 expected NaN to deeply equal 1568794202000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 12. AssertionError Test call cost from result body
- iteration: 7 expected '121030.00' to deeply equal '2017.17'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 13. AssertionError Test start of the call from result body
- iteration: 8 expected NaN to deeply equal 1570241466000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 14. AssertionError Test call cost from result body
- iteration: 8 expected '64175.00' to deeply equal '1069.58'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 15. AssertionError Status code is 200
- iteration: 9 expected response to have status code 200 but got 404
- at assertion:0 in test-script
- inside \"call / Register call\"
- 16. AssertionError Status code is 200
- iteration: 9 expected response to have status code 200 but got 404
- at assertion:1 in test-script
- inside \"call / Register call\"
- 17. TypeError Test calling number from result body
- iteration: 9 Cannot read property 'toString' of undefined
- at assertion:2 in test-script
- inside \"call / Register call\"
- 18. TypeError Test called number from result body
- iteration: 9 Cannot read property 'toString' of undefined
- at assertion:3 in test-script
- inside \"call / Register call\"
- 19. AssertionError Test start of the call from result body
- iteration: 9 expected NaN to deeply equal 1572578318000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 20. TypeError Test call duration from result body
- iteration: 9 Cannot read property 'toString' of undefined
- at assertion:5 in test-script
- inside \"call / Register call\"
- 21. TypeError Test call price from result body
- iteration: 9 Cannot read property 'toNumber' of undefined
- at assertion:6 in test-script
- inside \"call / Register call\"
- 22. TypeError Test call cost from result body
- iteration: 9 Cannot read property 'toNumber' of undefined
- at assertion:7 in test-script
- inside \"call / Register call\"
- 23. AssertionError Status code is 200
- iteration: 10 expected response to have status code 200 but got 404
- at assertion:0 in test-script
- inside \"call / Register call\"
- 24. AssertionError Status code is 200
- iteration: 10 expected response to have status code 200 but got 404
- at assertion:1 in test-script
- inside \"call / Register call\"
- 25. TypeError Test calling number from result body
- iteration: 10 Cannot read property 'toString' of undefined
- at assertion:2 in test-script
- inside \"call / Register call\"
- 26. TypeError Test called number from result body
- iteration: 10 Cannot read property 'toString' of undefined
- at assertion:3 in test-script
- inside \"call / Register call\"
- 27. AssertionError Test start of the call from result body
- iteration: 10 expected NaN to deeply equal 1574228315000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 28. TypeError Test call duration from result body
- iteration: 10 Cannot read property 'toString' of undefined
- at assertion:5 in test-script
- inside \"call / Register call\"
- 29. TypeError Test call price from result body
- iteration: 10 Cannot read property 'toNumber' of undefined
- at assertion:6 in test-script
- inside \"call / Register call\"
- 30. TypeError Test call cost from result body
- iteration: 10 Cannot read property 'toNumber' of undefined
- at assertion:7 in test-script
- inside \"call / Register call\"
- 31. AssertionError Test start of the call from result body
- iteration: 11 expected NaN to deeply equal 1575189930000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 32. AssertionError Test call cost from result body
- iteration: 11 expected '106950.00' to deeply equal '1782.50'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 33. AssertionError Test call cost from result body
- iteration: 12 expected '981150.00' to deeply equal '16352.50'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 34. AssertionError Test call price from result body
- iteration: 13 expected '957.00' to deeply equal '855.00'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 35. AssertionError Test call cost from result body
- iteration: 13 expected '866085.00' to deeply equal '12896.25'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 36. AssertionError Test start of the call from result body
- iteration: 14 expected NaN to deeply equal 1575169500000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 37. AssertionError Test call price from result body
- iteration: 14 expected '205.00' to deeply equal '930.00'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 38. AssertionError Test call cost from result body
- iteration: 14 expected '85075.00' to deeply equal '5967.50'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 39. AssertionError Test call price from result body
- iteration: 15 expected '205.00' to deeply equal '930.00'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 40. AssertionError Test call cost from result body
- iteration: 15 expected '42640.00' to deeply equal '2790.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 41. AssertionError Test start of the call from result body
- iteration: 16 expected NaN to deeply equal 1563849030000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 42. AssertionError Test call cost from result body
- iteration: 16 expected '38930.00' to deeply equal '648.83'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 43. AssertionError Test start of the call from result body
- iteration: 17 expected NaN to deeply equal 1568946930000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 44. AssertionError Test call price from result body
- iteration: 17 expected '487.00' to deeply equal '302.00'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 45. AssertionError Test call cost from result body
- iteration: 17 expected '34577.00' to deeply equal '357.37'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 46. AssertionError Test start of the call from result body
- iteration: 18 expected NaN to deeply equal 1575174630000
- at assertion:4 in test-script
- inside \"call / Register call\"
- 47. AssertionError Test call price from result body
- iteration: 18 expected '205.00' to deeply equal '397.00'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 48. AssertionError Test call cost from result body
- iteration: 18 expected '12710.00' to deeply equal '410.23'
- at assertion:7 in test-script
- inside \"call / Register call\"
- "},"listing":{"success":false,"score":0,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/4
- ❏ listing
- ↳ Get listing
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/listing/381112369?from=2019-07-24T00:30:30Z&to=2019-07-24T00:30:30Z [200 OK, 166B, 489ms]
- ✓ Status code is 200
- 1. Test called number in the listing report
- 2. Test call start in the listing report
- 3. Test call duration in the listing report
- 4. Test call cost in the listing report
- 5. Check number of calls in listing
- Iteration 2/4
- ↳ Get listing
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/listing/381112369?from=2019-07-20T09:30:30Z&to=2019-07-30T02:32:10Z [200 OK, 305B, 1958ms]
- ✓ Status code is 200
- ✓ Test called number in listing when there is more than one call
- 6. Test start of the call in listing when there is more than one call
- ✓ Test duration of the call in listing when there is more than one call
- ✓ Test called number in listing when there is more than one call
- 7. Test start of the call in listing when there is more than one call
- 8. Test duration of the call in listing when there is more than one call
- 9. Check number of calls in listing
- 10⠄ TypeError in test-script
- Iteration 3/4
- ↳ Get listing
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/listing/381112369?from=2019-07-30T00:30:30Z&to=2019-08-15T11:45:33Z [200 OK, 442B, 2.1s]
- ✓ Status code is 200
- ✓ Test called number in listing when there is more than one call
- 11. Test start of the call in listing when there is more than one call
- ✓ Test duration of the call in listing when there is more than one call
- ✓ Test called number in listing when there is more than one call
- ✓ Test start of the call in listing when there is more than one call
- ✓ Test duration of the call in listing when there is more than one call
- 12. Test call cost in the listing report when there is more than one call
- ✓ Check number of calls in listing
- Iteration 4/4
- ↳ Get listing
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/listing/381165985?from=2019-07-01T00:00:00Z&to=2019-12-06T00:00:00Z [200 OK, 304B, 208ms]
- ✓ Status code is 200
- ✓ Test called number in the listing report
- ✓ Test call start in the listing report
- ✓ Test call duration in the listing report
- 13. Test call cost in the listing report
- ✓ Check number of calls in listing
- ┌─────────────────────────┬─────────────────────┬────────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼─────────────────────┼────────────────────┤
- │ iterations │ 4 │ 0 │
- ├─────────────────────────┼─────────────────────┼────────────────────┤
- │ requests │ 4 │ 0 │
- ├─────────────────────────┼─────────────────────┼────────────────────┤
- │ test-scripts │ 8 │ 1 │
- ├─────────────────────────┼─────────────────────┼────────────────────┤
- │ prerequest-scripts │ 4 │ 0 │
- ├─────────────────────────┼─────────────────────┼────────────────────┤
- │ assertions │ 29 │ 12 │
- ├─────────────────────────┴─────────────────────┴────────────────────┤
- │ total run duration: 4.9s │
- ├────────────────────────────────────────────────────────────────────┤
- │ total data received: 686B (approx) │
- ├────────────────────────────────────────────────────────────────────┤
- │ average response time: 1186ms [min: 208ms, max: 2.1s, s.d.: 844ms] │
- └────────────────────────────────────────────────────────────────────┘
- # failure detail
- 01. TypeError Test called number in the listing report
- iteration: 1 Cannot read property 'called' of undefined
- at assertion:1 in test-script
- inside \"listing / Get listing\"
- 02. TypeError Test call start in the listing report
- iteration: 1 Cannot read property 'start' of undefined
- at assertion:2 in test-script
- inside \"listing / Get listing\"
- 03. TypeError Test call duration in the listing report
- iteration: 1 Cannot read property 'duration' of undefined
- at assertion:3 in test-script
- inside \"listing / Get listing\"
- 04. TypeError Test call cost in the listing report
- iteration: 1 Cannot read property 'cost' of undefined
- at assertion:4 in test-script
- inside \"listing / Get listing\"
- 05. AssertionError Check number of calls in listing
- iteration: 1 expected false to be truthy
- at assertion:5 in test-script
- inside \"listing / Get listing\"
- 06. AssertionError Test start of the call in listing when there is more than one call
- iteration: 2 expected '{\"calling\":\"381112369\",\"calls\":[{\"calling\":\"381112369\",\"called\":\"381112654\",\"start\":\"2019-07-24T12:30:30Z\",\"duration\":\"856\",\"rounded\":\"890\",\"price\":865.0,\"cost\":769850.0}]}' to include '2019-07-24T00:30:30Z'
- at assertion:2 in test-script
- inside \"listing / Get listing\"
- 07. AssertionError Test start of the call in listing when there is more than one call
- iteration: 2 expected '{\"calling\":\"381112369\",\"calls\":[{\"calling\":\"381112369\",\"called\":\"381112654\",\"start\":\"2019-07-24T12:30:30Z\",\"duration\":\"856\",\"rounded\":\"890\",\"price\":865.0,\"cost\":769850.0}]}' to include '2019-07-20T09:30:30Z'
- at assertion:5 in test-script
- inside \"listing / Get listing\"
- 08. AssertionError Test duration of the call in listing when there is more than one call
- iteration: 2 expected '{\"calling\":\"381112369\",\"calls\":[{\"calling\":\"381112369\",\"called\":\"381112654\",\"start\":\"2019-07-24T12:30:30Z\",\"duration\":\"856\",\"rounded\":\"890\",\"price\":865.0,\"cost\":769850.0}]}' to include '25'
- at assertion:6 in test-script
- inside \"listing / Get listing\"
- 09. AssertionError Check number of calls in listing
- iteration: 2 expected false to be truthy
- at assertion:7 in test-script
- inside \"listing / Get listing\"
- 10. TypeError
- iteration: 2 Cannot read property 'called' of undefined
- at test-script
- inside \"listing / Get listing\"
- 11. AssertionError Test start of the call in listing when there is more than one call
- iteration: 3 expected '{\"calling\":\"381112369\",\"calls\":[{\"calling\":\"381112369\",\"called\":\"381112654\",\"start\":\"2019-07-30T2:32:10Z\",\"duration\":\"148\",\"rounded\":\"180\",\"price\":865.0,\"cost\":155700.0},{\"calling\":\"381112369\",\"called\":\"38111236\",\"start\":\"2019-08-15T11:30:33Z\",\"duration\":\"496\",\"rounded\":\"530\",\"price\":855.0,\"cost\":453150.0}]}' to include '2019-07-30T02:32:10Z'
- at assertion:2 in test-script
- inside \"listing / Get listing\"
- 12. AssertionError Test call cost in the listing report when there is more than one call
- iteration: 3 expected '453150.00' to deeply equal '7552.50'
- at assertion:7 in test-script
- inside \"listing / Get listing\"
- 13. AssertionError Test call cost in the listing report
- iteration: 4 expected '866085.00' to deeply equal '12896.25'
- at assertion:4 in test-script
- inside \"listing / Get listing\"
- "},"invoice_request":{"success":true,"score":1,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/3
- ❏ invoice_request
- ↳ Invoice request
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [202 Accepted, 105B, 74ms]
- ✓ Status code is 202
- Iteration 2/3
- ↳ Invoice request
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [202 Accepted, 105B, 33ms]
- ✓ Status code is 202
- Iteration 3/3
- ↳ Invoice request
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [202 Accepted, 105B, 19ms]
- ✓ Status code is 202
- ┌─────────────────────────┬───────────────────┬──────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ iterations │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ requests │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ test-scripts │ 6 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ prerequest-scripts │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ assertions │ 3 │ 0 │
- ├─────────────────────────┴───────────────────┴──────────────────┤
- │ total run duration: 9.3s │
- ├────────────────────────────────────────────────────────────────┤
- │ total data received: 0B (approx) │
- ├────────────────────────────────────────────────────────────────┤
- │ average response time: 42ms [min: 19ms, max: 74ms, s.d.: 23ms] │
- └────────────────────────────────────────────────────────────────┘
- "},"report":{"success":false,"score":0,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/4
- ❏ report
- ↳ Get report
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 54ms]
- ✓ Status code is 200
- 1. Check number of reports in listing: 0
- 2⠄ TypeError in test-script
- Iteration 2/4
- ↳ Get report
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381165985 [200 OK, 178B, 21ms]
- ✓ Status code is 200
- 3. Test invoices in report
- ✓ Test remaining in report
- 4. Check number of reports in listing: 0
- Iteration 3/4
- ↳ Get report
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5478965475 [200 OK, 178B, 29ms]
- ✓ Status code is 200
- 5. Test invoices in report
- ✓ Test remaining in report
- 6. Check number of reports in listing: 0
- Iteration 4/4
- ↳ Get report
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5473665475 [200 OK, 178B, 37ms]
- ✓ Status code is 200
- 7. Test invoices in report
- ✓ Test remaining in report
- 8. Check number of reports in listing: 0
- ┌─────────────────────────┬───────────────────┬──────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ iterations │ 4 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ requests │ 4 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ test-scripts │ 8 │ 1 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ prerequest-scripts │ 4 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ assertions │ 14 │ 7 │
- ├─────────────────────────┴───────────────────┴──────────────────┤
- │ total run duration: 286ms │
- ├────────────────────────────────────────────────────────────────┤
- │ total data received: 184B (approx) │
- ├────────────────────────────────────────────────────────────────┤
- │ average response time: 35ms [min: 21ms, max: 54ms, s.d.: 12ms] │
- └────────────────────────────────────────────────────────────────┘
- # failure detail
- 1. AssertionError Check number of reports in listing: 0
- iteration: 1 expected false to be truthy
- at assertion:1 in test-script
- inside \"report / Get report\"
- 2. TypeError
- iteration: 1 Cannot read property 'sum' of undefined
- at test-script
- inside \"report / Get report\"
- 3. TypeError Test invoices in report
- iteration: 2 Cannot read property 'sum' of undefined
- at assertion:1 in test-script
- inside \"report / Get report\"
- 4. AssertionError Check number of reports in listing: 0
- iteration: 2 expected false to be truthy
- at assertion:3 in test-script
- inside \"report / Get report\"
- 5. TypeError Test invoices in report
- iteration: 3 Cannot read property 'sum' of undefined
- at assertion:1 in test-script
- inside \"report / Get report\"
- 6. AssertionError Check number of reports in listing: 0
- iteration: 3 expected false to be truthy
- at assertion:3 in test-script
- inside \"report / Get report\"
- 7. TypeError Test invoices in report
- iteration: 4 Cannot read property 'sum' of undefined
- at assertion:1 in test-script
- inside \"report / Get report\"
- 8. AssertionError Check number of reports in listing: 0
- iteration: 4 expected false to be truthy
- at assertion:3 in test-script
- inside \"report / Get report\"
- "},"invoice":{"success":false,"score":0,"output":"newman
- Hack9 functional tests - invoice copy
- Iteration 1/6
- ❏ invoice
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381165985 [200 OK, 178B, 46ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 25ms]
- 1. Status code is 200
- 2. Test calling number from invoice
- 3. Test the start date of the invoice
- 4. Test the end date of the invoice
- 5. Test amount to be payed for the invoice
- 6. Test invoice count (number of calls made during the invoicing period)
- Iteration 2/6
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5478965475 [200 OK, 178B, 31ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 60ms]
- 7. Status code is 200
- 8. Test calling number from invoice
- 9. Test the start date of the invoice
- 10. Test the end date of the invoice
- 11. Test amount to be payed for the invoice
- 12. Test invoice count (number of calls made during the invoicing period)
- Iteration 3/6
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5473665475 [200 OK, 178B, 56ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 40ms]
- 13. Status code is 200
- 14. Test calling number from invoice
- 15. Test the start date of the invoice
- 16. Test the end date of the invoice
- 17. Test amount to be payed for the invoice
- 18. Test invoice count (number of calls made during the invoicing period)
- Iteration 4/6
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 49ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 24ms]
- 19. Status code is 200
- 20. Test calling number from invoice
- Iteration 5/6
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 10ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 16ms]
- 21. Status code is 200
- 22. Test calling number from invoice
- Iteration 6/6
- ↳ Get invoice
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 7ms]
- ┌
- │ {
- │ calling: null,
- │ invoices: [],
- │ remaining: 0
- │ }
- └
- GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 7ms]
- 23. Status code is 200
- 24. Test calling number from invoice
- ┌─────────────────────────┬──────────────────┬──────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼──────────────────┼──────────────────┤
- │ iterations │ 6 │ 0 │
- ├─────────────────────────┼──────────────────┼──────────────────┤
- │ requests │ 12 │ 0 │
- ├─────────────────────────┼──────────────────┼──────────────────┤
- │ test-scripts │ 12 │ 0 │
- ├─────────────────────────┼──────────────────┼──────────────────┤
- │ prerequest-scripts │ 12 │ 0 │
- ├─────────────────────────┼──────────────────┼──────────────────┤
- │ assertions │ 24 │ 24 │
- ├─────────────────────────┴──────────────────┴──────────────────┤
- │ total run duration: 617ms │
- ├───────────────────────────────────────────────────────────────┤
- │ total data received: 1.54KB (approx) │
- ├───────────────────────────────────────────────────────────────┤
- │ average response time: 30ms [min: 7ms, max: 60ms, s.d.: 18ms] │
- └───────────────────────────────────────────────────────────────┘
- # failure detail
- 01. AssertionError Status code is 200
- iteration: 1 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 02. TypeError Test calling number from invoice
- iteration: 1 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- 03. AssertionError Test the start date of the invoice
- iteration: 1 expected NaN to deeply equal 1564617600000
- at assertion:2 in test-script
- inside \"invoice / Get invoice\"
- 04. AssertionError Test the end date of the invoice
- iteration: 1 expected NaN to deeply equal 1567295999990
- at assertion:3 in test-script
- inside \"invoice / Get invoice\"
- 05. TypeError Test amount to be payed for the invoice
- iteration: 1 Cannot read property 'toNumber' of undefined
- at assertion:4 in test-script
- inside \"invoice / Get invoice\"
- 06. TypeError Test invoice count (number of calls made during the invoicing period)
- iteration: 1 Cannot read property 'toString' of undefined
- at assertion:5 in test-script
- inside \"invoice / Get invoice\"
- 07. AssertionError Status code is 200
- iteration: 2 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 08. TypeError Test calling number from invoice
- iteration: 2 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- 09. AssertionError Test the start date of the invoice
- iteration: 2 expected NaN to deeply equal 1561939200000
- at assertion:2 in test-script
- inside \"invoice / Get invoice\"
- 10. AssertionError Test the end date of the invoice
- iteration: 2 expected NaN to deeply equal 1564617599990
- at assertion:3 in test-script
- inside \"invoice / Get invoice\"
- 11. TypeError Test amount to be payed for the invoice
- iteration: 2 Cannot read property 'toNumber' of undefined
- at assertion:4 in test-script
- inside \"invoice / Get invoice\"
- 12. TypeError Test invoice count (number of calls made during the invoicing period)
- iteration: 2 Cannot read property 'toString' of undefined
- at assertion:5 in test-script
- inside \"invoice / Get invoice\"
- 13. AssertionError Status code is 200
- iteration: 3 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 14. TypeError Test calling number from invoice
- iteration: 3 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- 15. AssertionError Test the start date of the invoice
- iteration: 3 expected NaN to deeply equal 1567296000000
- at assertion:2 in test-script
- inside \"invoice / Get invoice\"
- 16. AssertionError Test the end date of the invoice
- iteration: 3 expected NaN to deeply equal 1572566399990
- at assertion:3 in test-script
- inside \"invoice / Get invoice\"
- 17. TypeError Test amount to be payed for the invoice
- iteration: 3 Cannot read property 'toNumber' of undefined
- at assertion:4 in test-script
- inside \"invoice / Get invoice\"
- 18. TypeError Test invoice count (number of calls made during the invoicing period)
- iteration: 3 Cannot read property 'toString' of undefined
- at assertion:5 in test-script
- inside \"invoice / Get invoice\"
- 19. AssertionError Status code is 200
- iteration: 4 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 20. TypeError Test calling number from invoice
- iteration: 4 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- 21. AssertionError Status code is 200
- iteration: 5 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 22. TypeError Test calling number from invoice
- iteration: 5 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- 23. AssertionError Status code is 200
- iteration: 6 expected response to have status code 200 but got 400
- at assertion:0 in test-script
- inside \"invoice / Get invoice\"
- 24. TypeError Test calling number from invoice
- iteration: 6 Cannot read property 'toString' of undefined
- at assertion:1 in test-script
- inside \"invoice / Get invoice\"
- "},"priceLoad":{"success":true,"score":0,"output":"
- /\\ |‾‾| /‾‾/ /‾/
- /\\ / \\ | |_/ / / /
- / \\/ \\ | | / ‾‾\\
- / \\ | |‾\\ \\ | (_) |
- / __________ \\ |__| \\__\\ \\___/ .io
- init [----------------------------------------------------------] runner\r init [----------------------------------------------------------] options\r init [----------------------------------------------------------] executor\r init [----------------------------------------------------------] engine\r"},"callLoad":{"success":null,"score":0,"output":"skipped"},"listingLoad":{"success":null,"score":0,"output":"skipped"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement