Advertisement
Guest User

Novi

a guest
Dec 13th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.58 KB | None | 0 0
  1. {"reset":{"success":true,"score":1,"output":"newman
  2.  
  3. Hack9 functional tests - invoice copy
  4.  
  5. ❏ reset
  6. ↳ Reset
  7. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/reset [201 Created, 104B, 271ms]
  8. ✓ Status code is 201
  9.  
  10. ┌─────────────────────────┬────────────────────┬───────────────────┐
  11. │ │ executed │ failed │
  12. ├─────────────────────────┼────────────────────┼───────────────────┤
  13. │ iterations │ 1 │ 0 │
  14. ├─────────────────────────┼────────────────────┼───────────────────┤
  15. │ requests │ 1 │ 0 │
  16. ├─────────────────────────┼────────────────────┼───────────────────┤
  17. │ test-scripts │ 2 │ 0 │
  18. ├─────────────────────────┼────────────────────┼───────────────────┤
  19. │ prerequest-scripts │ 1 │ 0 │
  20. ├─────────────────────────┼────────────────────┼───────────────────┤
  21. │ assertions │ 1 │ 0 │
  22. ├─────────────────────────┴────────────────────┴───────────────────┤
  23. │ total run duration: 340ms │
  24. ├──────────────────────────────────────────────────────────────────┤
  25. │ total data received: 0B (approx) │
  26. ├──────────────────────────────────────────────────────────────────┤
  27. │ average response time: 271ms [min: 271ms, max: 271ms, s.d.: 0µs] │
  28. └──────────────────────────────────────────────────────────────────┘
  29. "},"price":{"success":false,"score":0,"output":"newman
  30.  
  31. Hack9 functional tests - invoice copy
  32.  
  33. Iteration 1/7
  34.  
  35. ❏ price
  36. ↳ Get call price for the given phone number with correct time in the past Copy
  37. 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]
  38. ✓ Status code is 200
  39. ✓ Test price prefix
  40. ✓ Test price
  41. 1. Test the date price is valid from
  42. ✓ Test price initial
  43. ✓ Test price increment
  44.  
  45. Iteration 2/7
  46.  
  47. ↳ Get call price for the given phone number with correct time in the past Copy
  48. 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]
  49. ✓ Status code is 200
  50. ✓ Test price prefix
  51. ✓ Test price
  52. 2. Test the date price is valid from
  53. ✓ Test price initial
  54. ✓ Test price increment
  55.  
  56. Iteration 3/7
  57.  
  58. ↳ Get call price for the given phone number with correct time in the past Copy
  59. 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]
  60. ✓ Status code is 200
  61. ✓ Test price prefix
  62. ✓ Test price
  63. 3. Test the date price is valid from
  64. ✓ Test price initial
  65. ✓ Test price increment
  66.  
  67. Iteration 4/7
  68.  
  69. ↳ Get call price for the given phone number with correct time in the past Copy
  70. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/price?number=381112486&time= [200 OK, 225B, 16ms]
  71. ✓ Status code is 200
  72. ✓ Test price prefix
  73. ✓ Test price
  74. 4. Test the date price is valid from
  75. ✓ Test price initial
  76. ✓ Test price increment
  77.  
  78. Iteration 5/7
  79.  
  80. ↳ Get call price for the given phone number with correct time in the past Copy
  81. 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]
  82. ✓ Status code is 200
  83. ✓ Test price prefix
  84. ✓ Test price
  85. 5. Test the date price is valid from
  86. ✓ Test price initial
  87. ✓ Test price increment
  88.  
  89. Iteration 6/7
  90.  
  91. ↳ Get call price for the given phone number with correct time in the past Copy
  92. 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]
  93. ✓ Status code is 200
  94. ✓ Test price prefix
  95. ✓ Test price
  96. 6. Test the date price is valid from
  97. ✓ Test price initial
  98. ✓ Test price increment
  99.  
  100. Iteration 7/7
  101.  
  102. ↳ Get call price for the given phone number with correct time in the past Copy
  103. 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]
  104. ✓ Status code is 200
  105. ✓ Test price prefix
  106. ✓ Test price
  107. 7. Test the date price is valid from
  108. ✓ Test price initial
  109. ✓ Test price increment
  110.  
  111. ┌─────────────────────────┬───────────────────┬───────────────────┐
  112. │ │ executed │ failed │
  113. ├─────────────────────────┼───────────────────┼───────────────────┤
  114. │ iterations │ 7 │ 0 │
  115. ├─────────────────────────┼───────────────────┼───────────────────┤
  116. │ requests │ 7 │ 0 │
  117. ├─────────────────────────┼───────────────────┼───────────────────┤
  118. │ test-scripts │ 14 │ 0 │
  119. ├─────────────────────────┼───────────────────┼───────────────────┤
  120. │ prerequest-scripts │ 7 │ 0 │
  121. ├─────────────────────────┼───────────────────┼───────────────────┤
  122. │ assertions │ 42 │ 7 │
  123. ├─────────────────────────┴───────────────────┴───────────────────┤
  124. │ total run duration: 707ms │
  125. ├─────────────────────────────────────────────────────────────────┤
  126. │ total data received: 647B (approx) │
  127. ├─────────────────────────────────────────────────────────────────┤
  128. │ average response time: 65ms [min: 14ms, max: 157ms, s.d.: 60ms] │
  129. └─────────────────────────────────────────────────────────────────┘
  130.  
  131. # failure detail
  132.  
  133. 1. AssertionError Test the date price is valid from
  134. iteration: 1 expected NaN to deeply equal 1561939200000
  135. at assertion:3 in test-script
  136. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  137.  
  138. 2. AssertionError Test the date price is valid from
  139. iteration: 2 expected NaN to deeply equal 1564617600000
  140. at assertion:3 in test-script
  141. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  142.  
  143. 3. AssertionError Test the date price is valid from
  144. iteration: 3 expected NaN to deeply equal 1572566400000
  145. at assertion:3 in test-script
  146. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  147.  
  148. 4. AssertionError Test the date price is valid from
  149. iteration: 4 expected NaN to deeply equal 1572566400000
  150. at assertion:3 in test-script
  151. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  152.  
  153. 5. AssertionError Test the date price is valid from
  154. iteration: 5 expected NaN to deeply equal 1561939200000
  155. at assertion:3 in test-script
  156. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  157.  
  158. 6. AssertionError Test the date price is valid from
  159. iteration: 6 expected NaN to deeply equal 1564617600000
  160. at assertion:3 in test-script
  161. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  162.  
  163. 7. AssertionError Test the date price is valid from
  164. iteration: 7 expected NaN to deeply equal 1561939200000
  165. at assertion:3 in test-script
  166. inside \"price / Get call price for the given phone number with correct time in the past Copy\"
  167. "},"call":{"success":false,"score":0,"output":"newman
  168.  
  169. Hack9 functional tests - invoice copy
  170.  
  171. Iteration 1/18
  172.  
  173. ❏ call
  174. ↳ Register call
  175. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 274B, 647ms]
  176. ✓ Status code is 200
  177. ✓ Status code is 200
  178. ✓ Test calling number from result body
  179. ✓ Test called number from result body
  180. ✓ Test start of the call from result body
  181. ✓ Test call duration from result body
  182. ✓ Test rounded from result body
  183. ✓ Test call price from result body
  184. ✓ Test call cost from result body
  185.  
  186. Iteration 2/18
  187.  
  188. ↳ Register call
  189. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 273B, 264ms]
  190. ✓ Status code is 200
  191. ✓ Status code is 200
  192. ✓ Test calling number from result body
  193. ✓ Test called number from result body
  194. ✓ Test start of the call from result body
  195. ✓ Test call duration from result body
  196. ✓ Test rounded from result body
  197. ✓ Test call price from result body
  198. ✓ Test call cost from result body
  199.  
  200. Iteration 3/18
  201.  
  202. ↳ Register call
  203. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 264B, 539ms]
  204. ✓ Status code is 200
  205. ✓ Status code is 200
  206. ✓ Test calling number from result body
  207. ✓ Test called number from result body
  208. ✓ Test start of the call from result body
  209. ✓ Test call duration from result body
  210. ✓ Test rounded from result body
  211. ✓ Test call price from result body
  212. ✓ Test call cost from result body
  213.  
  214. Iteration 4/18
  215.  
  216. ↳ Register call
  217. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 260B, 18ms]
  218. ✓ Status code is 200
  219. ✓ Status code is 200
  220. ✓ Test calling number from result body
  221. ✓ Test called number from result body
  222. ✓ Test start of the call from result body
  223. ✓ Test call duration from result body
  224. ✓ Test rounded from result body
  225. ✓ Test call price from result body
  226. ✓ Test call cost from result body
  227.  
  228. Iteration 5/18
  229.  
  230. ↳ Register call
  231. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 263B, 20ms]
  232. ✓ Status code is 200
  233. ✓ Status code is 200
  234. ✓ Test calling number from result body
  235. ✓ Test called number from result body
  236. ✓ Test start of the call from result body
  237. ✓ Test call duration from result body
  238. ✓ Test rounded from result body
  239. ✓ Test call price from result body
  240. ✓ Test call cost from result body
  241.  
  242. Iteration 6/18
  243.  
  244. ↳ Register call
  245. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 273B, 18ms]
  246. ✓ Status code is 200
  247. ✓ Status code is 200
  248. ✓ Test calling number from result body
  249. ✓ Test called number from result body
  250. ✓ Test start of the call from result body
  251. ✓ Test call duration from result body
  252. ✓ Test rounded from result body
  253. ✓ Test call price from result body
  254. ✓ Test call cost from result body
  255.  
  256. Iteration 7/18
  257.  
  258. ↳ Register call
  259. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 275B, 21ms]
  260. ✓ Status code is 200
  261. ✓ Status code is 200
  262. ✓ Test calling number from result body
  263. ✓ Test called number from result body
  264. ✓ Test start of the call from result body
  265. ✓ Test call duration from result body
  266. ✓ Test rounded from result body
  267. ✓ Test call price from result body
  268. ✓ Test call cost from result body
  269.  
  270. Iteration 8/18
  271.  
  272. ↳ Register call
  273. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 274B, 34ms]
  274. ✓ Status code is 200
  275. ✓ Status code is 200
  276. ✓ Test calling number from result body
  277. ✓ Test called number from result body
  278. ✓ Test start of the call from result body
  279. ✓ Test call duration from result body
  280. ✓ Test rounded from result body
  281. ✓ Test call price from result body
  282. ✓ Test call cost from result body
  283.  
  284. Iteration 9/18
  285.  
  286. ↳ Register call
  287. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 261B, 18ms]
  288. ✓ Status code is 200
  289. ✓ Status code is 200
  290. ✓ Test calling number from result body
  291. ✓ Test called number from result body
  292. ✓ Test start of the call from result body
  293. ✓ Test call duration from result body
  294. ✓ Test rounded from result body
  295. ✓ Test call price from result body
  296. ✓ Test call cost from result body
  297.  
  298. Iteration 10/18
  299.  
  300. ↳ Register call
  301. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 261B, 20ms]
  302. ✓ Status code is 200
  303. ✓ Status code is 200
  304. ✓ Test calling number from result body
  305. ✓ Test called number from result body
  306. ✓ Test start of the call from result body
  307. ✓ Test call duration from result body
  308. ✓ Test rounded from result body
  309. ✓ Test call price from result body
  310. ✓ Test call cost from result body
  311.  
  312. Iteration 11/18
  313.  
  314. ↳ Register call
  315. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 263B, 21ms]
  316. ✓ Status code is 200
  317. ✓ Status code is 200
  318. ✓ Test calling number from result body
  319. ✓ Test called number from result body
  320. ✓ Test start of the call from result body
  321. ✓ Test call duration from result body
  322. ✓ Test rounded from result body
  323. ✓ Test call price from result body
  324. ✓ Test call cost from result body
  325.  
  326. Iteration 12/18
  327.  
  328. ↳ Register call
  329. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 267B, 15ms]
  330. ✓ Status code is 200
  331. ✓ Status code is 200
  332. ✓ Test calling number from result body
  333. ✓ Test called number from result body
  334. ✓ Test start of the call from result body
  335. ✓ Test call duration from result body
  336. ✓ Test rounded from result body
  337. ✓ Test call price from result body
  338. ✓ Test call cost from result body
  339.  
  340. Iteration 13/18
  341.  
  342. ↳ Register call
  343. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 265B, 14ms]
  344. ✓ Status code is 200
  345. ✓ Status code is 200
  346. ✓ Test calling number from result body
  347. ✓ Test called number from result body
  348. ✓ Test start of the call from result body
  349. ✓ Test call duration from result body
  350. ✓ Test rounded from result body
  351. 1. Test call price from result body
  352. 2. Test call cost from result body
  353.  
  354. Iteration 14/18
  355.  
  356. ↳ Register call
  357. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 277B, 18ms]
  358. ✓ Status code is 200
  359. ✓ Status code is 200
  360. ✓ Test calling number from result body
  361. ✓ Test called number from result body
  362. ✓ Test start of the call from result body
  363. ✓ Test call duration from result body
  364. 3. Test rounded from result body
  365. 4. Test call price from result body
  366. 5. Test call cost from result body
  367.  
  368. Iteration 15/18
  369.  
  370. ↳ Register call
  371. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 276B, 17ms]
  372. ✓ Status code is 200
  373. ✓ Status code is 200
  374. ✓ Test calling number from result body
  375. ✓ Test called number from result body
  376. ✓ Test start of the call from result body
  377. ✓ Test call duration from result body
  378. 6. Test rounded from result body
  379. 7. Test call price from result body
  380. 8. Test call cost from result body
  381.  
  382. Iteration 16/18
  383.  
  384. ↳ Register call
  385. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 276B, 15ms]
  386. ✓ Status code is 200
  387. ✓ Status code is 200
  388. ✓ Test calling number from result body
  389. ✓ Test called number from result body
  390. ✓ Test start of the call from result body
  391. ✓ Test call duration from result body
  392. ✓ Test rounded from result body
  393. ✓ Test call price from result body
  394. ✓ Test call cost from result body
  395.  
  396. Iteration 17/18
  397.  
  398. ↳ Register call
  399. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 275B, 16ms]
  400. ✓ Status code is 200
  401. ✓ Status code is 200
  402. ✓ Test calling number from result body
  403. ✓ Test called number from result body
  404. ✓ Test start of the call from result body
  405. ✓ Test call duration from result body
  406. ✓ Test rounded from result body
  407. 9. Test call price from result body
  408. 10. Test call cost from result body
  409.  
  410. Iteration 18/18
  411.  
  412. ↳ Register call
  413. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/switch/call [200 OK, 275B, 25ms]
  414. ✓ Status code is 200
  415. ✓ Status code is 200
  416. ✓ Test calling number from result body
  417. ✓ Test called number from result body
  418. ✓ Test start of the call from result body
  419. ✓ Test call duration from result body
  420. ✓ Test rounded from result body
  421. 11. Test call price from result body
  422. 12. Test call cost from result body
  423.  
  424. ┌─────────────────────────┬────────────────────┬───────────────────┐
  425. │ │ executed │ failed │
  426. ├─────────────────────────┼────────────────────┼───────────────────┤
  427. │ iterations │ 18 │ 0 │
  428. ├─────────────────────────┼────────────────────┼───────────────────┤
  429. │ requests │ 18 │ 0 │
  430. ├─────────────────────────┼────────────────────┼───────────────────┤
  431. │ test-scripts │ 36 │ 0 │
  432. ├─────────────────────────┼────────────────────┼───────────────────┤
  433. │ prerequest-scripts │ 36 │ 0 │
  434. ├─────────────────────────┼────────────────────┼───────────────────┤
  435. │ assertions │ 162 │ 12 │
  436. ├─────────────────────────┴────────────────────┴───────────────────┤
  437. │ total run duration: 2.3s │
  438. ├──────────────────────────────────────────────────────────────────┤
  439. │ total data received: 2.4KB (approx) │
  440. ├──────────────────────────────────────────────────────────────────┤
  441. │ average response time: 96ms [min: 14ms, max: 647ms, s.d.: 185ms] │
  442. └──────────────────────────────────────────────────────────────────┘
  443.  
  444. # failure detail
  445.  
  446. 01. AssertionError Test call price from result body
  447. iteration: 13 expected '957.00' to deeply equal '855.00'
  448. at assertion:7 in test-script
  449. inside \"call / Register call\"
  450.  
  451. 02. AssertionError Test call cost from result body
  452. iteration: 13 expected '14434.75' to deeply equal '12896.25'
  453. at assertion:8 in test-script
  454. inside \"call / Register call\"
  455.  
  456. 03. AssertionError Test rounded from result body
  457. iteration: 14 expected '415' to deeply equal '385'
  458. at assertion:6 in test-script
  459. inside \"call / Register call\"
  460.  
  461. 04. AssertionError Test call price from result body
  462. iteration: 14 expected '205.00' to deeply equal '930.00'
  463. at assertion:7 in test-script
  464. inside \"call / Register call\"
  465.  
  466. 05. AssertionError Test call cost from result body
  467. iteration: 14 expected '1417.92' to deeply equal '5967.50'
  468. at assertion:8 in test-script
  469. inside \"call / Register call\"
  470.  
  471. 06. AssertionError Test rounded from result body
  472. iteration: 15 expected '208' to deeply equal '180'
  473. at assertion:6 in test-script
  474. inside \"call / Register call\"
  475.  
  476. 07. AssertionError Test call price from result body
  477. iteration: 15 expected '205.00' to deeply equal '930.00'
  478. at assertion:7 in test-script
  479. inside \"call / Register call\"
  480.  
  481. 08. AssertionError Test call cost from result body
  482. iteration: 15 expected '710.67' to deeply equal '2790.00'
  483. at assertion:8 in test-script
  484. inside \"call / Register call\"
  485.  
  486. 09. AssertionError Test call price from result body
  487. iteration: 17 expected '487.00' to deeply equal '302.00'
  488. at assertion:7 in test-script
  489. inside \"call / Register call\"
  490.  
  491. 10. AssertionError Test call cost from result body
  492. iteration: 17 expected '576.28' to deeply equal '357.37'
  493. at assertion:8 in test-script
  494. inside \"call / Register call\"
  495.  
  496. 11. AssertionError Test call price from result body
  497. iteration: 18 expected '205.00' to deeply equal '397.00'
  498. at assertion:7 in test-script
  499. inside \"call / Register call\"
  500.  
  501. 12. AssertionError Test call cost from result body
  502. iteration: 18 expected '211.83' to deeply equal '410.23'
  503. at assertion:8 in test-script
  504. inside \"call / Register call\"
  505. "},"listing":{"success":false,"score":0,"output":"newman
  506.  
  507. Hack9 functional tests - invoice copy
  508.  
  509. Iteration 1/4
  510.  
  511. ❏ listing
  512. ↳ Get listing
  513. 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]
  514. ✓ Status code is 200
  515. 1. Test called number in the listing report
  516. 2. Test call start in the listing report
  517. 3. Test call duration in the listing report
  518. 4. Test call cost in the listing report
  519. 5. Check number of calls in listing
  520.  
  521. Iteration 2/4
  522.  
  523. ↳ Get listing
  524. 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]
  525. ✓ Status code is 200
  526. ✓ Test called number in listing when there is more than one call
  527. 6. Test start of the call in listing when there is more than one call
  528. ✓ Test duration of the call in listing when there is more than one call
  529. ✓ Test called number in listing when there is more than one call
  530. 7. Test start of the call in listing when there is more than one call
  531. ✓ Test duration of the call in listing when there is more than one call
  532. 8. Check number of calls in listing
  533. 9⠄ TypeError in test-script
  534.  
  535. Iteration 3/4
  536.  
  537. ↳ Get listing
  538. 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]
  539. ✓ Status code is 200
  540. ✓ Test called number in listing when there is more than one call
  541. 10. Test start of the call in listing when there is more than one call
  542. ✓ Test duration of the call in listing when there is more than one call
  543. ✓ Test called number in listing when there is more than one call
  544. 11. Test start of the call in listing when there is more than one call
  545. ✓ Test duration of the call in listing when there is more than one call
  546. ✓ Check number of calls in listing
  547.  
  548. Iteration 4/4
  549.  
  550. ↳ Get listing
  551. 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]
  552. ✓ Status code is 200
  553. ✓ Test called number in the listing report
  554. 12. Test call start in the listing report
  555. ✓ Test call duration in the listing report
  556. 13. Test call cost in the listing report
  557. ✓ Check number of calls in listing
  558.  
  559. ┌─────────────────────────┬────────────────────┬───────────────────┐
  560. │ │ executed │ failed │
  561. ├─────────────────────────┼────────────────────┼───────────────────┤
  562. │ iterations │ 4 │ 0 │
  563. ├─────────────────────────┼────────────────────┼───────────────────┤
  564. │ requests │ 4 │ 0 │
  565. ├─────────────────────────┼────────────────────┼───────────────────┤
  566. │ test-scripts │ 8 │ 1 │
  567. ├─────────────────────────┼────────────────────┼───────────────────┤
  568. │ prerequest-scripts │ 4 │ 0 │
  569. ├─────────────────────────┼────────────────────┼───────────────────┤
  570. │ assertions │ 28 │ 12 │
  571. ├─────────────────────────┴────────────────────┴───────────────────┤
  572. │ total run duration: 754ms │
  573. ├──────────────────────────────────────────────────────────────────┤
  574. │ total data received: 671B (approx) │
  575. ├──────────────────────────────────────────────────────────────────┤
  576. │ average response time: 146ms [min: 39ms, max: 197ms, s.d.: 62ms] │
  577. └──────────────────────────────────────────────────────────────────┘
  578.  
  579. # failure detail
  580.  
  581. 01. TypeError Test called number in the listing report
  582. iteration: 1 Cannot read property 'called' of undefined
  583. at assertion:1 in test-script
  584. inside \"listing / Get listing\"
  585.  
  586. 02. TypeError Test call start in the listing report
  587. iteration: 1 Cannot read property 'start' of undefined
  588. at assertion:2 in test-script
  589. inside \"listing / Get listing\"
  590.  
  591. 03. TypeError Test call duration in the listing report
  592. iteration: 1 Cannot read property 'duration' of undefined
  593. at assertion:3 in test-script
  594. inside \"listing / Get listing\"
  595.  
  596. 04. TypeError Test call cost in the listing report
  597. iteration: 1 Cannot read property 'cost' of undefined
  598. at assertion:4 in test-script
  599. inside \"listing / Get listing\"
  600.  
  601. 05. AssertionError Check number of calls in listing
  602. iteration: 1 expected false to be truthy
  603. at assertion:5 in test-script
  604. inside \"listing / Get listing\"
  605.  
  606. 06. AssertionError Test start of the call in listing when there is more than one call
  607. 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'
  608. at assertion:2 in test-script
  609. inside \"listing / Get listing\"
  610.  
  611. 07. AssertionError Test start of the call in listing when there is more than one call
  612. 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'
  613. at assertion:5 in test-script
  614. inside \"listing / Get listing\"
  615.  
  616. 08. AssertionError Check number of calls in listing
  617. iteration: 2 expected false to be truthy
  618. at assertion:7 in test-script
  619. inside \"listing / Get listing\"
  620.  
  621. 09. TypeError
  622. iteration: 2 Cannot read property 'called' of undefined
  623. at test-script
  624. inside \"listing / Get listing\"
  625.  
  626. 10. AssertionError Test start of the call in listing when there is more than one call
  627. 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'
  628. at assertion:2 in test-script
  629. inside \"listing / Get listing\"
  630.  
  631. 11. AssertionError Test start of the call in listing when there is more than one call
  632. 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'
  633. at assertion:5 in test-script
  634. inside \"listing / Get listing\"
  635.  
  636. 12. AssertionError Test call start in the listing report
  637. iteration: 4 expected '2019-08-02T11:52:00' to deeply equal '2019-08-02T11:52:00Z'
  638. at assertion:2 in test-script
  639. inside \"listing / Get listing\"
  640.  
  641. 13. AssertionError Test call cost in the listing report
  642. iteration: 4 expected '14434.75' to deeply equal '12896.25'
  643. at assertion:4 in test-script
  644. inside \"listing / Get listing\"
  645. "},"invoice_request":{"success":false,"score":0,"output":"newman
  646.  
  647. Hack9 functional tests - invoice copy
  648.  
  649. Iteration 1/3
  650.  
  651. ❏ invoice_request
  652. ↳ Invoice request
  653. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [200 OK, 99B, 61ms]
  654. 1. Status code is 202
  655.  
  656. Iteration 2/3
  657.  
  658. ↳ Invoice request
  659. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [200 OK, 99B, 17ms]
  660. 2. Status code is 202
  661.  
  662. Iteration 3/3
  663.  
  664. ↳ Invoice request
  665. POST hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice [200 OK, 99B, 17ms]
  666. 3. Status code is 202
  667.  
  668. ┌─────────────────────────┬───────────────────┬──────────────────┐
  669. │ │ executed │ failed │
  670. ├─────────────────────────┼───────────────────┼──────────────────┤
  671. │ iterations │ 3 │ 0 │
  672. ├─────────────────────────┼───────────────────┼──────────────────┤
  673. │ requests │ 3 │ 0 │
  674. ├─────────────────────────┼───────────────────┼──────────────────┤
  675. │ test-scripts │ 6 │ 0 │
  676. ├─────────────────────────┼───────────────────┼──────────────────┤
  677. │ prerequest-scripts │ 3 │ 0 │
  678. ├─────────────────────────┼───────────────────┼──────────────────┤
  679. │ assertions │ 3 │ 3 │
  680. ├─────────────────────────┴───────────────────┴──────────────────┤
  681. │ total run duration: 9.2s │
  682. ├────────────────────────────────────────────────────────────────┤
  683. │ total data received: 0B (approx) │
  684. ├────────────────────────────────────────────────────────────────┤
  685. │ average response time: 31ms [min: 17ms, max: 61ms, s.d.: 20ms] │
  686. └────────────────────────────────────────────────────────────────┘
  687.  
  688. # failure detail
  689.  
  690. 1. AssertionError Status code is 202
  691. iteration: 1 expected response to have status code 202 but got 200
  692. at assertion:0 in test-script
  693. inside \"invoice_request / Invoice request\"
  694.  
  695. 2. AssertionError Status code is 202
  696. iteration: 2 expected response to have status code 202 but got 200
  697. at assertion:0 in test-script
  698. inside \"invoice_request / Invoice request\"
  699.  
  700. 3. AssertionError Status code is 202
  701. iteration: 3 expected response to have status code 202 but got 200
  702. at assertion:0 in test-script
  703. inside \"invoice_request / Invoice request\"
  704. "},"report":{"success":false,"score":0,"output":"newman
  705.  
  706. Hack9 functional tests - invoice copy
  707.  
  708. Iteration 1/4
  709.  
  710. ❏ report
  711. ↳ Get report
  712. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 55ms]
  713. ✓ Status code is 200
  714. 1. Check number of reports in listing: 0
  715. 2⠄ TypeError in test-script
  716.  
  717. Iteration 2/4
  718.  
  719. ↳ Get report
  720. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381165985 [200 OK, 178B, 30ms]
  721. ✓ Status code is 200
  722. 3. Test invoices in report
  723. ✓ Test remaining in report
  724. 4. Check number of reports in listing: 0
  725.  
  726. Iteration 3/4
  727.  
  728. ↳ Get report
  729. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5478965475 [200 OK, 178B, 15ms]
  730. ✓ Status code is 200
  731. 5. Test invoices in report
  732. ✓ Test remaining in report
  733. 6. Check number of reports in listing: 0
  734.  
  735. Iteration 4/4
  736.  
  737. ↳ Get report
  738. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5473665475 [200 OK, 178B, 18ms]
  739. ✓ Status code is 200
  740. 7. Test invoices in report
  741. ✓ Test remaining in report
  742. 8. Check number of reports in listing: 0
  743.  
  744. ┌─────────────────────────┬───────────────────┬──────────────────┐
  745. │ │ executed │ failed │
  746. ├─────────────────────────┼───────────────────┼──────────────────┤
  747. │ iterations │ 4 │ 0 │
  748. ├─────────────────────────┼───────────────────┼──────────────────┤
  749. │ requests │ 4 │ 0 │
  750. ├─────────────────────────┼───────────────────┼──────────────────┤
  751. │ test-scripts │ 8 │ 1 │
  752. ├─────────────────────────┼───────────────────┼──────────────────┤
  753. │ prerequest-scripts │ 4 │ 0 │
  754. ├─────────────────────────┼───────────────────┼──────────────────┤
  755. │ assertions │ 14 │ 7 │
  756. ├─────────────────────────┴───────────────────┴──────────────────┤
  757. │ total run duration: 265ms │
  758. ├────────────────────────────────────────────────────────────────┤
  759. │ total data received: 184B (approx) │
  760. ├────────────────────────────────────────────────────────────────┤
  761. │ average response time: 29ms [min: 15ms, max: 55ms, s.d.: 15ms] │
  762. └────────────────────────────────────────────────────────────────┘
  763.  
  764. # failure detail
  765.  
  766. 1. AssertionError Check number of reports in listing: 0
  767. iteration: 1 expected false to be truthy
  768. at assertion:1 in test-script
  769. inside \"report / Get report\"
  770.  
  771. 2. TypeError
  772. iteration: 1 Cannot read property 'sum' of undefined
  773. at test-script
  774. inside \"report / Get report\"
  775.  
  776. 3. TypeError Test invoices in report
  777. iteration: 2 Cannot read property 'sum' of undefined
  778. at assertion:1 in test-script
  779. inside \"report / Get report\"
  780.  
  781. 4. AssertionError Check number of reports in listing: 0
  782. iteration: 2 expected false to be truthy
  783. at assertion:3 in test-script
  784. inside \"report / Get report\"
  785.  
  786. 5. TypeError Test invoices in report
  787. iteration: 3 Cannot read property 'sum' of undefined
  788. at assertion:1 in test-script
  789. inside \"report / Get report\"
  790.  
  791. 6. AssertionError Check number of reports in listing: 0
  792. iteration: 3 expected false to be truthy
  793. at assertion:3 in test-script
  794. inside \"report / Get report\"
  795.  
  796. 7. TypeError Test invoices in report
  797. iteration: 4 Cannot read property 'sum' of undefined
  798. at assertion:1 in test-script
  799. inside \"report / Get report\"
  800.  
  801. 8. AssertionError Check number of reports in listing: 0
  802. iteration: 4 expected false to be truthy
  803. at assertion:3 in test-script
  804. inside \"report / Get report\"
  805. "},"invoice":{"success":false,"score":0,"output":"newman
  806.  
  807. Hack9 functional tests - invoice copy
  808.  
  809. Iteration 1/6
  810.  
  811. ❏ invoice
  812. ↳ Get invoice
  813. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381165985 [200 OK, 178B, 49ms]
  814. │ {
  815. │ calling: null,
  816. │ invoices: [],
  817. │ remaining: 0
  818. │ }
  819. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 12ms]
  820. 1. Status code is 200
  821. 2. Test calling number from invoice
  822. 3. Test the start date of the invoice
  823. 4. Test the end date of the invoice
  824. 5. Test amount to be payed for the invoice
  825. 6. Test invoice count (number of calls made during the invoicing period)
  826.  
  827. Iteration 2/6
  828.  
  829. ↳ Get invoice
  830. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5478965475 [200 OK, 178B, 17ms]
  831. │ {
  832. │ calling: null,
  833. │ invoices: [],
  834. │ remaining: 0
  835. │ }
  836. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 22ms]
  837. 7. Status code is 200
  838. 8. Test calling number from invoice
  839. 9. Test the start date of the invoice
  840. 10. Test the end date of the invoice
  841. 11. Test amount to be payed for the invoice
  842. 12. Test invoice count (number of calls made during the invoicing period)
  843.  
  844. Iteration 3/6
  845.  
  846. ↳ Get invoice
  847. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/5473665475 [200 OK, 178B, 8ms]
  848. │ {
  849. │ calling: null,
  850. │ invoices: [],
  851. │ remaining: 0
  852. │ }
  853. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 9ms]
  854. 13. Status code is 200
  855. 14. Test calling number from invoice
  856. 15. Test the start date of the invoice
  857. 16. Test the end date of the invoice
  858. 17. Test amount to be payed for the invoice
  859. 18. Test invoice count (number of calls made during the invoicing period)
  860.  
  861. Iteration 4/6
  862.  
  863. ↳ Get invoice
  864. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 8ms]
  865. │ {
  866. │ calling: null,
  867. │ invoices: [],
  868. │ remaining: 0
  869. │ }
  870. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 12ms]
  871. 19. Status code is 200
  872. 20. Test calling number from invoice
  873.  
  874. Iteration 5/6
  875.  
  876. ↳ Get invoice
  877. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 8ms]
  878. │ {
  879. │ calling: null,
  880. │ invoices: [],
  881. │ remaining: 0
  882. │ }
  883. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 12ms]
  884. 21. Status code is 200
  885. 22. Test calling number from invoice
  886.  
  887. Iteration 6/6
  888.  
  889. ↳ Get invoice
  890. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/report/381112369 [200 OK, 178B, 9ms]
  891. │ {
  892. │ calling: null,
  893. │ invoices: [],
  894. │ remaining: 0
  895. │ }
  896. GET hack9-public-lb-cloudFormation-1071070727.eu-west-1.elb.amazonaws.com/financial/invoice/{{invoice_id}} [400 Bad Request, 358B, 8ms]
  897. 23. Status code is 200
  898. 24. Test calling number from invoice
  899.  
  900. ┌─────────────────────────┬──────────────────┬──────────────────┐
  901. │ │ executed │ failed │
  902. ├─────────────────────────┼──────────────────┼──────────────────┤
  903. │ iterations │ 6 │ 0 │
  904. ├─────────────────────────┼──────────────────┼──────────────────┤
  905. │ requests │ 12 │ 0 │
  906. ├─────────────────────────┼──────────────────┼──────────────────┤
  907. │ test-scripts │ 12 │ 0 │
  908. ├─────────────────────────┼──────────────────┼──────────────────┤
  909. │ prerequest-scripts │ 12 │ 0 │
  910. ├─────────────────────────┼──────────────────┼──────────────────┤
  911. │ assertions │ 24 │ 24 │
  912. ├─────────────────────────┴──────────────────┴──────────────────┤
  913. │ total run duration: 443ms │
  914. ├───────────────────────────────────────────────────────────────┤
  915. │ total data received: 1.54KB (approx) │
  916. ├───────────────────────────────────────────────────────────────┤
  917. │ average response time: 14ms [min: 8ms, max: 49ms, s.d.: 11ms] │
  918. └───────────────────────────────────────────────────────────────┘
  919.  
  920. # failure detail
  921.  
  922. 01. AssertionError Status code is 200
  923. iteration: 1 expected response to have status code 200 but got 400
  924. at assertion:0 in test-script
  925. inside \"invoice / Get invoice\"
  926.  
  927. 02. TypeError Test calling number from invoice
  928. iteration: 1 Cannot read property 'toString' of undefined
  929. at assertion:1 in test-script
  930. inside \"invoice / Get invoice\"
  931.  
  932. 03. AssertionError Test the start date of the invoice
  933. iteration: 1 expected NaN to deeply equal 1564617600000
  934. at assertion:2 in test-script
  935. inside \"invoice / Get invoice\"
  936.  
  937. 04. AssertionError Test the end date of the invoice
  938. iteration: 1 expected NaN to deeply equal 1567295999990
  939. at assertion:3 in test-script
  940. inside \"invoice / Get invoice\"
  941.  
  942. 05. TypeError Test amount to be payed for the invoice
  943. iteration: 1 Cannot read property 'toNumber' of undefined
  944. at assertion:4 in test-script
  945. inside \"invoice / Get invoice\"
  946.  
  947. 06. TypeError Test invoice count (number of calls made during the invoicing period)
  948. iteration: 1 Cannot read property 'toString' of undefined
  949. at assertion:5 in test-script
  950. inside \"invoice / Get invoice\"
  951.  
  952. 07. AssertionError Status code is 200
  953. iteration: 2 expected response to have status code 200 but got 400
  954. at assertion:0 in test-script
  955. inside \"invoice / Get invoice\"
  956.  
  957. 08. TypeError Test calling number from invoice
  958. iteration: 2 Cannot read property 'toString' of undefined
  959. at assertion:1 in test-script
  960. inside \"invoice / Get invoice\"
  961.  
  962. 09. AssertionError Test the start date of the invoice
  963. iteration: 2 expected NaN to deeply equal 1561939200000
  964. at assertion:2 in test-script
  965. inside \"invoice / Get invoice\"
  966.  
  967. 10. AssertionError Test the end date of the invoice
  968. iteration: 2 expected NaN to deeply equal 1564617599990
  969. at assertion:3 in test-script
  970. inside \"invoice / Get invoice\"
  971.  
  972. 11. TypeError Test amount to be payed for the invoice
  973. iteration: 2 Cannot read property 'toNumber' of undefined
  974. at assertion:4 in test-script
  975. inside \"invoice / Get invoice\"
  976.  
  977. 12. TypeError Test invoice count (number of calls made during the invoicing period)
  978. iteration: 2 Cannot read property 'toString' of undefined
  979. at assertion:5 in test-script
  980. inside \"invoice / Get invoice\"
  981.  
  982. 13. AssertionError Status code is 200
  983. iteration: 3 expected response to have status code 200 but got 400
  984. at assertion:0 in test-script
  985. inside \"invoice / Get invoice\"
  986.  
  987. 14. TypeError Test calling number from invoice
  988. iteration: 3 Cannot read property 'toString' of undefined
  989. at assertion:1 in test-script
  990. inside \"invoice / Get invoice\"
  991.  
  992. 15. AssertionError Test the start date of the invoice
  993. iteration: 3 expected NaN to deeply equal 1567296000000
  994. at assertion:2 in test-script
  995. inside \"invoice / Get invoice\"
  996.  
  997. 16. AssertionError Test the end date of the invoice
  998. iteration: 3 expected NaN to deeply equal 1572566399990
  999. at assertion:3 in test-script
  1000. inside \"invoice / Get invoice\"
  1001.  
  1002. 17. TypeError Test amount to be payed for the invoice
  1003. iteration: 3 Cannot read property 'toNumber' of undefined
  1004. at assertion:4 in test-script
  1005. inside \"invoice / Get invoice\"
  1006.  
  1007. 18. TypeError Test invoice count (number of calls made during the invoicing period)
  1008. iteration: 3 Cannot read property 'toString' of undefined
  1009. at assertion:5 in test-script
  1010. inside \"invoice / Get invoice\"
  1011.  
  1012. 19. AssertionError Status code is 200
  1013. iteration: 4 expected response to have status code 200 but got 400
  1014. at assertion:0 in test-script
  1015. inside \"invoice / Get invoice\"
  1016.  
  1017. 20. TypeError Test calling number from invoice
  1018. iteration: 4 Cannot read property 'toString' of undefined
  1019. at assertion:1 in test-script
  1020. inside \"invoice / Get invoice\"
  1021.  
  1022. 21. AssertionError Status code is 200
  1023. iteration: 5 expected response to have status code 200 but got 400
  1024. at assertion:0 in test-script
  1025. inside \"invoice / Get invoice\"
  1026.  
  1027. 22. TypeError Test calling number from invoice
  1028. iteration: 5 Cannot read property 'toString' of undefined
  1029. at assertion:1 in test-script
  1030. inside \"invoice / Get invoice\"
  1031.  
  1032. 23. AssertionError Status code is 200
  1033. iteration: 6 expected response to have status code 200 but got 400
  1034. at assertion:0 in test-script
  1035. inside \"invoice / Get invoice\"
  1036.  
  1037. 24. TypeError Test calling number from invoice
  1038. iteration: 6 Cannot read property 'toString' of undefined
  1039. at assertion:1 in test-script
  1040. inside \"invoice / Get invoice\"
  1041. "},"priceLoad":{"success":null,"score":0,"output":"skipped"},"callLoad":{"success":null,"score":0,"output":"skipped"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement