Advertisement
Guest User

Najnoviji

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