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, 271ms]
- ✓ 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: 340ms │
- ├──────────────────────────────────────────────────────────────────┤
- │ total data received: 0B (approx) │
- ├──────────────────────────────────────────────────────────────────┤
- │ average response time: 271ms [min: 271ms, max: 271ms, s.d.: 0µs] │
- └──────────────────────────────────────────────────────────────────┘
- "},"price":{"success":false,"score":0,"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, 225B, 157ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 1. 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, 225B, 101ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 2. 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, 225B, 141ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 3. 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, 225B, 16ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 4. 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, 222B, 16ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 5. 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, 224B, 14ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 6. 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, 225B, 16ms]
- ✓ Status code is 200
- ✓ Test price prefix
- ✓ Test price
- 7. 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 │ 7 │
- ├─────────────────────────┴───────────────────┴───────────────────┤
- │ total run duration: 707ms │
- ├─────────────────────────────────────────────────────────────────┤
- │ total data received: 647B (approx) │
- ├─────────────────────────────────────────────────────────────────┤
- │ average response time: 65ms [min: 14ms, max: 157ms, s.d.: 60ms] │
- └─────────────────────────────────────────────────────────────────┘
- # failure detail
- 1. AssertionError Test the date price is valid from
- iteration: 1 expected NaN to deeply equal 1561939200000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 2. AssertionError Test the date price is valid from
- iteration: 2 expected NaN to deeply equal 1564617600000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 3. AssertionError Test the date price is valid from
- iteration: 3 expected NaN to deeply equal 1572566400000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 4. AssertionError Test the date price is valid from
- iteration: 4 expected NaN to deeply equal 1572566400000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 5. AssertionError Test the date price is valid from
- iteration: 5 expected NaN to deeply equal 1561939200000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 6. AssertionError Test the date price is valid from
- iteration: 6 expected NaN to deeply equal 1564617600000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- 7. AssertionError Test the date price is valid from
- iteration: 7 expected NaN to deeply equal 1561939200000
- at assertion:3 in test-script
- inside \"price / Get call price for the given phone number with correct time in the past Copy\"
- "},"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, 274B, 647ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 273B, 264ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 264B, 539ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 260B, 18ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 263B, 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
- ✓ Test rounded from result body
- ✓ Test call price from result body
- ✓ 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, 273B, 18ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 275B, 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
- ✓ Test rounded from result body
- ✓ Test call price from result body
- ✓ 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, 274B, 34ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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 [200 OK, 261B, 18ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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 [200 OK, 261B, 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
- ✓ Test rounded from result body
- ✓ Test call price from result body
- ✓ 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, 263B, 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
- ✓ Test rounded from result body
- ✓ Test call price from result body
- ✓ 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, 267B, 15ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 265B, 14ms]
- ✓ 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 rounded from result body
- 1. Test call price from result body
- 2. 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, 277B, 18ms]
- ✓ 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
- 3. Test rounded from result body
- 4. Test call price from result body
- 5. 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, 276B, 17ms]
- ✓ 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
- 6. Test rounded from result body
- 7. Test call price from result body
- 8. 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, 276B, 15ms]
- ✓ 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 rounded from result body
- ✓ Test call price from result body
- ✓ 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, 275B, 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 rounded from result body
- 9. Test call price from result body
- 10. 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, 275B, 25ms]
- ✓ 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 rounded from result body
- 11. Test call price from result body
- 12. Test call cost from result body
- ┌─────────────────────────┬────────────────────┬───────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ iterations │ 18 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ requests │ 18 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ test-scripts │ 36 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ prerequest-scripts │ 36 │ 0 │
- ├─────────────────────────┼────────────────────┼───────────────────┤
- │ assertions │ 162 │ 12 │
- ├─────────────────────────┴────────────────────┴───────────────────┤
- │ total run duration: 2.3s │
- ├──────────────────────────────────────────────────────────────────┤
- │ total data received: 2.4KB (approx) │
- ├──────────────────────────────────────────────────────────────────┤
- │ average response time: 96ms [min: 14ms, max: 647ms, s.d.: 185ms] │
- └──────────────────────────────────────────────────────────────────┘
- # failure detail
- 01. AssertionError Test call price from result body
- iteration: 13 expected '957.00' to deeply equal '855.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 02. AssertionError Test call cost from result body
- iteration: 13 expected '14434.75' to deeply equal '12896.25'
- at assertion:8 in test-script
- inside \"call / Register call\"
- 03. AssertionError Test rounded from result body
- iteration: 14 expected '415' to deeply equal '385'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 04. AssertionError Test call price from result body
- iteration: 14 expected '205.00' to deeply equal '930.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 05. AssertionError Test call cost from result body
- iteration: 14 expected '1417.92' to deeply equal '5967.50'
- at assertion:8 in test-script
- inside \"call / Register call\"
- 06. AssertionError Test rounded from result body
- iteration: 15 expected '208' to deeply equal '180'
- at assertion:6 in test-script
- inside \"call / Register call\"
- 07. AssertionError Test call price from result body
- iteration: 15 expected '205.00' to deeply equal '930.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 08. AssertionError Test call cost from result body
- iteration: 15 expected '710.67' to deeply equal '2790.00'
- at assertion:8 in test-script
- inside \"call / Register call\"
- 09. AssertionError Test call price from result body
- iteration: 17 expected '487.00' to deeply equal '302.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 10. AssertionError Test call cost from result body
- iteration: 17 expected '576.28' to deeply equal '357.37'
- at assertion:8 in test-script
- inside \"call / Register call\"
- 11. AssertionError Test call price from result body
- iteration: 18 expected '205.00' to deeply equal '397.00'
- at assertion:7 in test-script
- inside \"call / Register call\"
- 12. AssertionError Test call cost from result body
- iteration: 18 expected '211.83' to deeply equal '410.23'
- at assertion:8 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, 172ms]
- ✓ 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, 308B, 197ms]
- ✓ 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
- ✓ Test duration of the call in listing when there is more than one call
- 8. Check number of calls in listing
- 9⠄ 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, 429B, 176ms]
- ✓ Status code is 200
- ✓ Test called number in listing when there is more than one call
- 10. 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
- 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
- ✓ 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, 299B, 39ms]
- ✓ Status code is 200
- ✓ Test called number in the listing report
- 12. 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 │ 28 │ 12 │
- ├─────────────────────────┴────────────────────┴───────────────────┤
- │ total run duration: 754ms │
- ├──────────────────────────────────────────────────────────────────┤
- │ total data received: 671B (approx) │
- ├──────────────────────────────────────────────────────────────────┤
- │ average response time: 146ms [min: 39ms, max: 197ms, s.d.: 62ms] │
- └──────────────────────────────────────────────────────────────────┘
- # 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-24T00:30:30\",\"duration\":856,\"rounded\":890,\"price\":865.0,\"cost\":12830.8330078125}]}' 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-24T00:30:30\",\"duration\":856,\"rounded\":890,\"price\":865.0,\"cost\":12830.8330078125}]}' to include '2019-07-20T09:30:30Z'
- at assertion:5 in test-script
- inside \"listing / Get listing\"
- 08. AssertionError Check number of calls in listing
- iteration: 2 expected false to be truthy
- at assertion:7 in test-script
- inside \"listing / Get listing\"
- 09. TypeError
- iteration: 2 Cannot read property 'called' of undefined
- at test-script
- inside \"listing / Get listing\"
- 10. 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-30T02:32:10\",\"duration\":148,\"rounded\":180,\"price\":865.0,\"cost\":2595.0},{\"calling\":\"381112369\",\"called\":\"38111236\",\"start\":\"2019-08-15T11:30:33\",\"duration\":496,\"rounded\":530,\"price\":855.0,\"cost\":7552.5}]}' to include '2019-07-30T02:32:10Z'
- at assertion:2 in 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-30T02:32:10\",\"duration\":148,\"rounded\":180,\"price\":865.0,\"cost\":2595.0},{\"calling\":\"381112369\",\"called\":\"38111236\",\"start\":\"2019-08-15T11:30:33\",\"duration\":496,\"rounded\":530,\"price\":855.0,\"cost\":7552.5}]}' to include '2019-08-15T11:30:33Z'
- at assertion:5 in test-script
- inside \"listing / Get listing\"
- 12. AssertionError Test call start in the listing report
- iteration: 4 expected '2019-08-02T11:52:00' to deeply equal '2019-08-02T11:52:00Z'
- at assertion:2 in test-script
- inside \"listing / Get listing\"
- 13. AssertionError Test call cost in the listing report
- iteration: 4 expected '14434.75' to deeply equal '12896.25'
- at assertion:4 in test-script
- inside \"listing / Get listing\"
- "},"invoice_request":{"success":false,"score":0,"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 [200 OK, 99B, 61ms]
- 1. Status code is 202
- Iteration 2/3
- ↳ Invoice request
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [200 OK, 99B, 17ms]
- 2. Status code is 202
- Iteration 3/3
- ↳ Invoice request
- POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [200 OK, 99B, 17ms]
- 3. Status code is 202
- ┌─────────────────────────┬───────────────────┬──────────────────┐
- │ │ executed │ failed │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ iterations │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ requests │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ test-scripts │ 6 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ prerequest-scripts │ 3 │ 0 │
- ├─────────────────────────┼───────────────────┼──────────────────┤
- │ assertions │ 3 │ 3 │
- ├─────────────────────────┴───────────────────┴──────────────────┤
- │ total run duration: 9.2s │
- ├────────────────────────────────────────────────────────────────┤
- │ total data received: 0B (approx) │
- ├────────────────────────────────────────────────────────────────┤
- │ average response time: 31ms [min: 17ms, max: 61ms, s.d.: 20ms] │
- └────────────────────────────────────────────────────────────────┘
- # failure detail
- 1. AssertionError Status code is 202
- iteration: 1 expected response to have status code 202 but got 200
- at assertion:0 in test-script
- inside \"invoice_request / Invoice request\"
- 2. AssertionError Status code is 202
- iteration: 2 expected response to have status code 202 but got 200
- at assertion:0 in test-script
- inside \"invoice_request / Invoice request\"
- 3. AssertionError Status code is 202
- iteration: 3 expected response to have status code 202 but got 200
- at assertion:0 in test-script
- inside \"invoice_request / Invoice request\"
- "},"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, 55ms]
- ✓ 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, 30ms]
- ✓ 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, 15ms]
- ✓ 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, 18ms]
- ✓ 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: 265ms │
- ├────────────────────────────────────────────────────────────────┤
- │ total data received: 184B (approx) │
- ├────────────────────────────────────────────────────────────────┤
- │ average response time: 29ms [min: 15ms, max: 55ms, s.d.: 15ms] │
- └────────────────────────────────────────────────────────────────┘
- # 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, 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, 12ms]
- 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, 17ms]
- ┌
- │ {
- │ 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, 22ms]
- 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, 8ms]
- ┌
- │ {
- │ 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, 9ms]
- 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, 8ms]
- ┌
- │ {
- │ 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, 12ms]
- 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, 8ms]
- ┌
- │ {
- │ 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, 12ms]
- 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, 9ms]
- ┌
- │ {
- │ 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, 8ms]
- 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: 443ms │
- ├───────────────────────────────────────────────────────────────┤
- │ total data received: 1.54KB (approx) │
- ├───────────────────────────────────────────────────────────────┤
- │ average response time: 14ms [min: 8ms, max: 49ms, s.d.: 11ms] │
- └───────────────────────────────────────────────────────────────┘
- # 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":null,"score":0,"output":"skipped"},"callLoad":{"success":null,"score":0,"output":"skipped"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement