req_cart-page-scena--506128127.html 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
  6. <link href="style/style.css" rel="stylesheet" type="text/css" />
  7. <link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
  8. <script src="js/jquery-3.5.1.min.js"></script>
  9. <script src="js/bootstrap.min.js"></script>
  10. <script src="js/gatling.js"></script>
  11. <script src="js/menu.js"></script>
  12. <script src="js/ellipsis.js"></script>
  13. <script src="js/all_sessions.js"></script>
  14. <script src="js/stats.js"></script>
  15. <script src="js/highstock.js"></script>
  16. <script src="js/highcharts-more.js"></script>
  17. <script src="js/theme.js"></script>
  18. <script src="js/unpack.js"></script>
  19. <title>Gatling Stats - cart page scenario</title>
  20. </head>
  21. <body>
  22. <script>
  23. const storedTheme = localStorage.getItem('theme') || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
  24. if (storedTheme) document.documentElement.setAttribute('data-theme', storedTheme)
  25. function toggleTheme() {
  26. const currentTheme = document.documentElement.getAttribute("data-theme");
  27. const targetTheme = currentTheme === "light" ? "dark" : "light";
  28. document.documentElement.setAttribute('data-theme', targetTheme)
  29. localStorage.setItem('theme', targetTheme);
  30. };
  31. </script>
  32. <div class="app-container">
  33. <div class="frise"></div>
  34. <div class="head">
  35. <div class="gatling-open-source">
  36. <a class="gatling-logo gatling-logo-light" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo-light.svg"/></a>
  37. <a class="gatling-logo gatling-logo-dark" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo-dark.svg"/></a>
  38. <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  39. </div>
  40. <div class="nav spacer"></div>
  41. <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank"><strong>Try</strong>
  42. <img class="logo-enterprise-light" alt="Gatling Enterprise" src="style/logo-enterprise-light.svg"/>
  43. <img class="logo-enterprise-dark" alt="Gatling Enterprise" src="style/logo-enterprise-dark.svg"/>
  44. </a>
  45. <button id="theme-toggle" class="theme-toggle" type="button" onclick="toggleTheme()" aria-label="Toggle user interface mode">
  46. <span class="toggle-dark"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg></span>
  47. <span class="toggle-light"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg></span>
  48. </button>
  49. </div>
  50. <div class="container details">
  51. <div class="nav">
  52. <ul></ul>
  53. </div>
  54. <div class="cadre">
  55. <div class="content">
  56. <div class="content-header">
  57. <div class="onglet">
  58. CartsPageSimulation
  59. </div>
  60. <div class="sous-menu" id="sousMenu">
  61. <div class="sous-menu-spacer">
  62. <div class="item "><a href="index.html">Global</a></div>
  63. <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="content-in">
  68. <div class="container-article">
  69. <div class="article">
  70. <div class="schema-container">
  71. <div id="ranges" class="schema ranges-large">
  72. </div>
  73. <div class="infos">
  74. <div class="infos-in">
  75. <div class="infos-title">Stats</div>
  76. <div class="info">
  77. <h2 class="first">Executions</h2>
  78. <table>
  79. <thead>
  80. <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
  81. </thead>
  82. <tbody>
  83. <tr>
  84. <td class="title">Total count</td>
  85. <td id="numberOfRequests" class="total"></td>
  86. <td id="numberOfRequestsOK" class="ok"></td>
  87. <td id="numberOfRequestsKO" class="ko"></td>
  88. </tr>
  89. <tr>
  90. <td class="title">Mean count/s</abbr></td>
  91. <td id="meanNumberOfRequestsPerSecond" class="total"></td>
  92. <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
  93. <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
  94. </tr>
  95. </tbody>
  96. </table>
  97. <h2 class="second">Response Time (ms)</h2>
  98. <table>
  99. <thead>
  100. <tr>
  101. <th></th>
  102. <th>Total</th>
  103. <th>OK</th>
  104. <th>KO</th>
  105. </tr>
  106. </thead>
  107. <tbody>
  108. <tr>
  109. <td class="title">Min</td>
  110. <td id="minResponseTime" class="total"></td>
  111. <td id="minResponseTimeOK" class="ok"></td>
  112. <td id="minResponseTimeKO" class="ko"></td>
  113. </tr>
  114. <tr>
  115. <td class="title">50th percentile</td>
  116. <td id="percentiles1" class="total"></td>
  117. <td id="percentiles1OK" class="ok"></td>
  118. <td id="percentiles1KO" class="ko"></td>
  119. </tr>
  120. <tr>
  121. <td class="title">75th percentile</td>
  122. <td id="percentiles2" class="total"></td>
  123. <td id="percentiles2OK" class="ok"></td>
  124. <td id="percentiles2KO" class="ko"></td>
  125. </tr>
  126. <tr>
  127. <td class="title">95th percentile</td>
  128. <td id="percentiles3" class="total"></td>
  129. <td id="percentiles3OK" class="ok"></td>
  130. <td id="percentiles3KO" class="ko"></td>
  131. </tr>
  132. <tr>
  133. <td class="title">99th percentile</td>
  134. <td id="percentiles4" class="total"></td>
  135. <td id="percentiles4OK" class="ok"></td>
  136. <td id="percentiles4KO" class="ko"></td>
  137. </tr>
  138. <tr>
  139. <td class="title">Max</td>
  140. <td id="maxResponseTime" class="total"></td>
  141. <td id="maxResponseTimeOK" class="ok"></td>
  142. <td id="maxResponseTimeKO" class="ko"></td>
  143. </tr>
  144. <tr>
  145. <td class="title">Mean</td>
  146. <td id="meanResponseTime" class="total"></td>
  147. <td id="meanResponseTimeOK" class="ok"></td>
  148. <td id="meanResponseTimeKO" class="ko"></td>
  149. </tr>
  150. <tr>
  151. <td class="title">Standard Deviation</td>
  152. <td id="standardDeviation" class="total"></td>
  153. <td id="standardDeviationOK" class="ok"></td>
  154. <td id="standardDeviationKO" class="ko"></td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="statistics extensible-geant collapsed">
  163. <div class="title">
  164. Errors
  165. </div>
  166. <table id="container_errors" class="statistics-in extensible-geant">
  167. <thead>
  168. <tr>
  169. <th id="error-col-1" class="header sortable"><span>Error</span></th>
  170. <th id="error-col-2" class="header sortable"><span>Count</span></th>
  171. <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
  172. </tr>
  173. </thead>
  174. <tbody>
  175. <tr>
  176. <td class="error-col-1 total ko">j.n.SocketException: No buffer space available (maximum connections reached?): connect<span class="value" style="display:none">0</span></td>
  177. <td class="value error-col-2 total ko">9650</td>
  178. <td class="value error-col-3 total ko">48.81%</td>
  179. </tr>
  180. <tr>
  181. <td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out after 10000 ms: ecomm.gatling.io/18.164.246.48:443<span class="value" style="display:none">1</span></td>
  182. <td class="value error-col-2 total ko">2526</td>
  183. <td class="value error-col-3 total ko">12.78%</td>
  184. </tr>
  185. <tr>
  186. <td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out after 10000 ms: ecomm.gatling.io/18.164.246.111:443<span class="value" style="display:none">2</span></td>
  187. <td class="value error-col-2 total ko">2495</td>
  188. <td class="value error-col-3 total ko">12.62%</td>
  189. </tr>
  190. <tr>
  191. <td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out after 10000 ms: ecomm.gatling.io/18.164.246.56:443<span class="value" style="display:none">3</span></td>
  192. <td class="value error-col-2 total ko">2480</td>
  193. <td class="value error-col-3 total ko">12.54%</td>
  194. </tr>
  195. <tr>
  196. <td class="error-col-1 total ko">i.n.c.ConnectTimeoutException: connection timed out after 10000 ms: ecomm.gatling.io/18.164.246.108:443<span class="value" style="display:none">4</span></td>
  197. <td class="value error-col-2 total ko">2463</td>
  198. <td class="value error-col-3 total ko">12.46%</td>
  199. </tr>
  200. <tr>
  201. <td class="error-col-1 total ko">i.n.h.s.SslHandshakeTimeoutException: handshake timed out after 10000ms<span class="value" style="display:none">5</span></td>
  202. <td class="value error-col-2 total ko">94</td>
  203. <td class="value error-col-3 total ko">0.48%</td>
  204. </tr>
  205. <tr>
  206. <td class="error-col-1 total ko">j.n.BindException: Address already in use: getsockopt<span class="value" style="display:none">6</span></td>
  207. <td class="value error-col-2 total ko">51</td>
  208. <td class="value error-col-3 total ko">0.26%</td>
  209. </tr>
  210. <tr>
  211. <td class="error-col-1 total ko">Request timeout to ecomm.gatling.io/18.164.246.108:443 after 60000 ms<span class="value" style="display:none">7</span></td>
  212. <td class="value error-col-2 total ko">4</td>
  213. <td class="value error-col-3 total ko">0.02%</td>
  214. </tr>
  215. <tr>
  216. <td class="error-col-1 total ko">Request timeout to ecomm.gatling.io/18.164.246.56:443 after 60000 ms<span class="value" style="display:none">8</span></td>
  217. <td class="value error-col-2 total ko">4</td>
  218. <td class="value error-col-3 total ko">0.02%</td>
  219. </tr>
  220. <tr>
  221. <td class="error-col-1 total ko">Request timeout to ecomm.gatling.io/18.164.246.111:443 after 60000 ms<span class="value" style="display:none">9</span></td>
  222. <td class="value error-col-2 total ko">2</td>
  223. <td class="value error-col-3 total ko">0.01%</td>
  224. </tr>
  225. <tr>
  226. <td class="error-col-1 total ko">Request timeout to ecomm.gatling.io/18.164.246.48:443 after 60000 ms<span class="value" style="display:none">10</span></td>
  227. <td class="value error-col-2 total ko">1</td>
  228. <td class="value error-col-3 total ko">0.01%</td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. </div>
  233. <div class="schema geant">
  234. <div id="responsetimeDistributionContainer" class="geant"></div>
  235. </div>
  236. <div class="schema geant">
  237. <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
  238. </div>
  239. <div class="schema geant">
  240. <div id="requests" class="geant"></div>
  241. </div>
  242. <div class="schema geant">
  243. <div id="responses" class="geant"></div>
  244. </div>
  245. <div class="schema geant">
  246. <div id="container_response_time_dispersion" class="geant"></div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. <script>
  255. var pageStats = stats.contents['req_cart-page-scena--506128127'].stats;
  256. $(document).ready(function() {
  257. $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
  258. setDetailsLinkUrl();
  259. setDetailsMenu();
  260. setActiveMenu();
  261. fillStats(pageStats);
  262. Highcharts.setOptions({
  263. global: { useUTC: false }
  264. });
  265. var rangesChart = new Highcharts.Chart({
  266. chart: {
  267. renderTo: 'ranges',
  268. marginRight: 100
  269. },
  270. credits: { enabled: false },
  271. legend: { enabled: false },
  272. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  273. xAxis: {
  274. categories: [
  275. pageStats.group1.htmlName,
  276. pageStats.group2.htmlName,
  277. pageStats.group3.htmlName,
  278. pageStats.group4.htmlName
  279. ]
  280. },
  281. yAxis: {
  282. title: { text: 'Number of Requests' },
  283. reversedStacks: false
  284. },
  285. tooltip: {
  286. formatter: function() {
  287. var s;
  288. if (this.point.name) { // the pie chart
  289. s = ''+ this.point.name +': '+ this.y +'% requests';
  290. } else {
  291. s = ''+ this.y + ' requests';
  292. }
  293. return s;
  294. }
  295. },
  296. plotOptions: {
  297. series: {
  298. stacking: 'normal',
  299. shadow: true
  300. }
  301. },
  302. series: [
  303. {
  304. type: 'column',
  305. data: [{
  306. color: '#68b65c',
  307. y: pageStats.group1.count
  308. },
  309. {
  310. color: '#FFDD00',
  311. y: pageStats.group2.count
  312. },
  313. {
  314. color: '#FFA900',
  315. y: pageStats.group3.count
  316. },
  317. {
  318. color: '#f15b4f',
  319. y: pageStats.group4.count
  320. }]
  321. },
  322. {
  323. type: 'pie',
  324. name: 'Percentages',
  325. data: [
  326. {
  327. name: pageStats.group1.name,
  328. y: pageStats.group1.percentage,
  329. color: '#68b65c'
  330. },
  331. {
  332. name: pageStats.group2.name,
  333. y: pageStats.group2.percentage,
  334. color: '#FFDD00'
  335. },
  336. {
  337. name: pageStats.group3.name,
  338. y: pageStats.group3.percentage,
  339. color: '#FFA900'
  340. },
  341. {
  342. name: pageStats.group4.name,
  343. y: pageStats.group4.percentage,
  344. color: '#f15b4f'
  345. }
  346. ],
  347. center: [368, 0],
  348. size: 90,
  349. showInLegend: false,
  350. dataLabels: { enabled: false }
  351. }
  352. ]
  353. });
  354. rangesChart.setTitle({
  355. text: '<span class="chart_title">Response Time Ranges</span>',
  356. useHTML: true
  357. });
  358. $('#container_errors').sortable('#container_errors');
  359. var responsetimeDistributionChart = new Highcharts.Chart({
  360. chart: {
  361. renderTo: 'responsetimeDistributionContainer',
  362. type: 'column',
  363. marginBottom: 60
  364. },
  365. credits: { enabled: false },
  366. legend: {
  367. enabled: true,
  368. floating: true,
  369. y: 5,
  370. borderWidth: 0,
  371. itemStyle: { fontWeight: "normal" },
  372. symbolRadius: 0
  373. },
  374. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  375. navigator: {
  376. maskInside: false
  377. },
  378. xAxis: {
  379. categories: ['885', '1479', '2074', '2668', '3262', '3856', '4451', '5045', '5639', '6234', '6828', '7422', '8016', '8611', '9205', '9799', '10393', '10988', '11582', '12176', '12771', '13365', '13959', '14553', '15148', '15742', '16336', '16930', '17525', '18119', '18713', '19308', '19902', '20496', '21090', '21685', '22279', '22873', '23467', '24062', '24656', '25250', '25844', '26439', '27033', '27627', '28222', '28816', '29410', '30004', '30599', '31193', '31787', '32381', '32976', '33570', '34164', '34759', '35353', '35947', '36541', '37136', '37730', '38324', '38918', '39513', '40107', '40701', '41295', '41890', '42484', '43078', '43673', '44267', '44861', '45455', '46050', '46644', '47238', '47832', '48427', '49021', '49615', '50210', '50804', '51398', '51992', '52587', '53181', '53775', '54369', '54964', '55558', '56152', '56747', '57341', '57935', '58529', '59124', '59718'],
  380. tickInterval: 20
  381. },
  382. yAxis: {
  383. min: 0,
  384. title: { text: 'Percentage of Requests' },
  385. reversedStacks: false
  386. },
  387. tooltip: {
  388. formatter: function() {
  389. return '<b>'+ this.x +' ms</b><br/>'+
  390. this.series.name +': '+ this.y +' %<br/>'+
  391. 'Total: '+ this.point.stackTotal + ' %';
  392. }
  393. },
  394. plotOptions: {
  395. series: {
  396. groupPadding: 0,
  397. stacking: 'normal',
  398. shadow: true
  399. }
  400. },
  401. series: [
  402. {
  403. type: 'column',
  404. color: '#68b65c',
  405. name: 'OK',
  406. data: [
  407. 0.0,0.0,0.04,0.24,0.19,0.32,0.13,0.42,0.27,0.29,0.11,0.06,1.38,1.02,2.23,2.48,2.88,1.68,1.49,0.28,0.19,0.14,0.11,0.26,0.21,0.17,0.11,0.06,0.04,0.1,0.1,0.12,0.11,0.07,0.07,0.18,0.17,0.17,0.17,0.15,0.08,0.14,0.08,0.05,0.05,0.02,0.1,0.09,0.1,0.08,0.02,0.11,0.16,0.18,0.16,0.08,0.11,0.09,0.04,0.04,0.01,0.01,0.01,0.1,0.12,0.11,0.08,0.06,0.04,0.0,0.02,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
  408. ],
  409. tooltip: { yDecimals: 0, ySuffix: 'ms' }
  410. },
  411. {
  412. type: 'column',
  413. color: '#f15b4f',
  414. name: 'KO',
  415. data: [
  416. 5.53,1.5,0.43,2.85,14.83,6.59,0.0,4.05,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.25,2.69,0.0,0.0,0.0,0.06,0.22,0.01,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.62,0.0,0.01,0.0,0.0,0.0,0.04,0.04,0.0,0.0,0.0,0.01,0.04,0.0,0.02,0.0,0.21,2.22,0.01,0.04,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.89,31.14,0.5,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.04
  417. ],
  418. tooltip: { yDecimals: 0, ySuffix: 'ms' }
  419. }
  420. ]
  421. });
  422. responsetimeDistributionChart.setTitle({
  423. text: '<span class="chart_title">Response Time Distribution</span>',
  424. useHTML: true
  425. });
  426. var responsetimepercentilesovertimeokPercentiles = unpack([[1744367032,[1463,5665,8125,9764,9836,10123,10498,11527,11569,21671]],[1744367033,[8347,9341,10100,10495,10572,10811,11518,11550,18001,54992]],[1744367034,[8019,10884,12171,24240,25997,30325,33062,38303,40979,49386]],[1744367035,[8952,15784,23087,32242,32819,35071,38905,40099,42783,53493]],[1744367036,[7411,14497,22232,32010,32922,34391,37849,39666,42494,45928]],[1744367037,null],[1744367038,[10873,11142,11491,11583,12153,12153,12153,12153,12153,12153]],[1744367039,null],[1744367040,null],[1744367041,null],[1744367042,null],[1744367043,null],[1744367044,null],[1744367045,null],[1744367046,null],[1744367047,null],[1744367048,null],[1744367049,null],[1744367050,null],[1744367051,null],[1744367052,null],[1744367053,null],[1744367054,null],[1744367055,null],[1744367056,null],[1744367057,null],[1744367058,null],[1744367059,null],[1744367060,null],[1744367061,null],[1744367062,null],[1744367063,null],[1744367064,null],[1744367065,null],[1744367066,null],[1744367067,null],[1744367068,null],[1744367069,null],[1744367070,null],[1744367071,null],[1744367072,null],[1744367073,null],[1744367074,null],[1744367075,null],[1744367076,null],[1744367077,null],[1744367078,null],[1744367079,null],[1744367080,null],[1744367081,null],[1744367082,null],[1744367083,null],[1744367084,null],[1744367085,null],[1744367086,null],[1744367087,null],[1744367088,null],[1744367089,null],[1744367090,null],[1744367091,null],[1744367092,null],[1744367093,null],[1744367094,null],[1744367095,null],[1744367096,null],[1744367097,null],[1744367098,null],[1744367099,null],[1744367100,null],[1744367101,null],[1744367102,null],[1744367103,null],[1744367104,null],[1744367105,null],[1744367106,null],[1744367107,null],[1744367108,null],[1744367109,null],[1744367110,null],[1744367111,null],[1744367112,null],[1744367113,null],[1744367114,null],[1744367115,null],[1744367116,null],[1744367117,null],[1744367118,null],[1744367119,null],[1744367120,null],[1744367121,null],[1744367122,null],[1744367123,null],[1744367124,null],[1744367125,null],[1744367126,null],[1744367127,null],[1744367128,null],[1744367129,null],[1744367130,null],[1744367131,null],[1744367132,null],[1744367133,null],[1744367134,null],[1744367135,null],[1744367136,null],[1744367137,null],[1744367138,null],[1744367139,null],[1744367140,null],[1744367141,null]]);
  427. var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  428. chart: {
  429. renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
  430. zoomType: 'x',
  431. marginBottom: 60
  432. },
  433. colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  434. credits: { enabled: false },
  435. legend: {
  436. enabled: true,
  437. floating: true,
  438. y: -65,
  439. borderWidth: 0,
  440. itemStyle: { fontWeight: "normal" },
  441. symbolRadius: 0
  442. },
  443. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  444. navigator: {
  445. maskInside: false,
  446. baseSeries: 9
  447. },
  448. rangeSelector: {
  449. rangeSelector: { align: "left" },
  450. buttonSpacing: 0,
  451. buttonTheme: {
  452. fill: '#CFC9C6',
  453. padding: 1,
  454. stroke: '#000000',
  455. 'stroke-width': 0.25,
  456. style: {
  457. color: '#000000',
  458. fontWeight: 'bold',
  459. },
  460. states: {
  461. stroke: '#92918C',
  462. 'stroke-width': 0.25,
  463. hover: {
  464. fill: '#92918C',
  465. style: { color: 'black' }
  466. },
  467. select: {
  468. fill: '#FFA900',
  469. style: { color: 'white' }
  470. }
  471. }
  472. },
  473. buttons : [
  474. {
  475. type : 'minute',
  476. count : 1,
  477. text : '1m'
  478. }, {
  479. type : 'minute',
  480. count : 10,
  481. text : '10m'
  482. }, {
  483. type : 'hour',
  484. count : 1,
  485. text : '1h'
  486. }, {
  487. type : 'all',
  488. count : 1,
  489. text : 'All'
  490. }
  491. ],
  492. selected : 3,
  493. inputEnabled : false
  494. },
  495. xAxis: {
  496. type: 'datetime',
  497. ordinal: false,
  498. maxZoom: 10000 // three days
  499. },
  500. yAxis:[
  501. {
  502. min: 0,
  503. title: { text: 'Response Time (ms)' },
  504. opposite: false
  505. }, {
  506. min: 0,
  507. title: {
  508. text: 'Active Users',
  509. style: { color: '#FFA900' }
  510. },
  511. opposite: true
  512. }
  513. ],
  514. plotOptions: {
  515. arearange: { lineWidth: 1 },
  516. series: {
  517. dataGrouping: { enabled: false }
  518. }
  519. },
  520. series: [
  521. {
  522. pointInterval: 1000,
  523. name: 'min',
  524. data: responsetimepercentilesovertimeokPercentiles[0],
  525. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  526. type : 'area',
  527. yAxis: 0,
  528. zIndex: 10
  529. },
  530. {
  531. pointInterval: 1000,
  532. name: '25%',
  533. data: responsetimepercentilesovertimeokPercentiles[1],
  534. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  535. type : 'area',
  536. yAxis: 0,
  537. zIndex: 9
  538. },
  539. {
  540. pointInterval: 1000,
  541. name: '50%',
  542. data: responsetimepercentilesovertimeokPercentiles[2],
  543. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  544. type : 'area',
  545. yAxis: 0,
  546. zIndex: 8
  547. },
  548. {
  549. pointInterval: 1000,
  550. name: '75%',
  551. data: responsetimepercentilesovertimeokPercentiles[3],
  552. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  553. type : 'area',
  554. yAxis: 0,
  555. zIndex: 7
  556. },
  557. {
  558. pointInterval: 1000,
  559. name: '80%',
  560. data: responsetimepercentilesovertimeokPercentiles[4],
  561. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  562. type : 'area',
  563. yAxis: 0,
  564. zIndex: 6
  565. },
  566. {
  567. pointInterval: 1000,
  568. name: '85%',
  569. data: responsetimepercentilesovertimeokPercentiles[5],
  570. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  571. type : 'area',
  572. yAxis: 0,
  573. zIndex: 5
  574. },
  575. {
  576. pointInterval: 1000,
  577. name: '90%',
  578. data: responsetimepercentilesovertimeokPercentiles[6],
  579. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  580. type : 'area',
  581. yAxis: 0,
  582. zIndex: 4
  583. },
  584. {
  585. pointInterval: 1000,
  586. name: '95%',
  587. data: responsetimepercentilesovertimeokPercentiles[7],
  588. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  589. type : 'area',
  590. yAxis: 0,
  591. zIndex: 3
  592. },
  593. {
  594. pointInterval: 1000,
  595. name: '99%',
  596. data: responsetimepercentilesovertimeokPercentiles[8],
  597. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  598. type : 'area',
  599. yAxis: 0,
  600. zIndex: 2
  601. },
  602. {
  603. pointInterval: 1000,
  604. name: 'max',
  605. data: responsetimepercentilesovertimeokPercentiles[9],
  606. tooltip: { yDecimals: 0, ySuffix: 'ms' },
  607. type : 'area',
  608. yAxis: 0,
  609. zIndex: 1
  610. },
  611. allUsersData
  612. ]
  613. });
  614. responsetimepercentilesovertimeokPercentilesChart.setTitle({
  615. text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  616. useHTML: true
  617. });
  618. var requests = unpack([[1744367032,[1547,1547,0]],[1744367033,[1982,1898,84]],[1744367034,[5207,816,4391]],[1744367035,[3641,411,3230]],[1744367036,[7520,553,6967]],[1744367037,[2406,0,2406]],[1744367038,[1450,5,1445]],[1744367039,[1247,0,1247]],[1744367040,[0,0,0]],[1744367041,[0,0,0]],[1744367042,[0,0,0]],[1744367043,[0,0,0]],[1744367044,[0,0,0]],[1744367045,[0,0,0]],[1744367046,[0,0,0]],[1744367047,[0,0,0]],[1744367048,[0,0,0]],[1744367049,[0,0,0]],[1744367050,[0,0,0]],[1744367051,[0,0,0]],[1744367052,[0,0,0]],[1744367053,[0,0,0]],[1744367054,[0,0,0]],[1744367055,[0,0,0]],[1744367056,[0,0,0]],[1744367057,[0,0,0]],[1744367058,[0,0,0]],[1744367059,[0,0,0]],[1744367060,[0,0,0]],[1744367061,[0,0,0]],[1744367062,[0,0,0]],[1744367063,[0,0,0]],[1744367064,[0,0,0]],[1744367065,[0,0,0]],[1744367066,[0,0,0]],[1744367067,[0,0,0]],[1744367068,[0,0,0]],[1744367069,[0,0,0]],[1744367070,[0,0,0]],[1744367071,[0,0,0]],[1744367072,[0,0,0]],[1744367073,[0,0,0]],[1744367074,[0,0,0]],[1744367075,[0,0,0]],[1744367076,[0,0,0]],[1744367077,[0,0,0]],[1744367078,[0,0,0]],[1744367079,[0,0,0]],[1744367080,[0,0,0]],[1744367081,[0,0,0]],[1744367082,[0,0,0]],[1744367083,[0,0,0]],[1744367084,[0,0,0]],[1744367085,[0,0,0]],[1744367086,[0,0,0]],[1744367087,[0,0,0]],[1744367088,[0,0,0]],[1744367089,[0,0,0]],[1744367090,[0,0,0]],[1744367091,[0,0,0]],[1744367092,[0,0,0]],[1744367093,[0,0,0]],[1744367094,[0,0,0]],[1744367095,[0,0,0]],[1744367096,[0,0,0]],[1744367097,[0,0,0]],[1744367098,[0,0,0]],[1744367099,[0,0,0]],[1744367100,[0,0,0]],[1744367101,[0,0,0]],[1744367102,[0,0,0]],[1744367103,[0,0,0]],[1744367104,[0,0,0]],[1744367105,[0,0,0]],[1744367106,[0,0,0]],[1744367107,[0,0,0]],[1744367108,[0,0,0]],[1744367109,[0,0,0]],[1744367110,[0,0,0]],[1744367111,[0,0,0]],[1744367112,[0,0,0]],[1744367113,[0,0,0]],[1744367114,[0,0,0]],[1744367115,[0,0,0]],[1744367116,[0,0,0]],[1744367117,[0,0,0]],[1744367118,[0,0,0]],[1744367119,[0,0,0]],[1744367120,[0,0,0]],[1744367121,[0,0,0]],[1744367122,[0,0,0]],[1744367123,[0,0,0]],[1744367124,[0,0,0]],[1744367125,[0,0,0]],[1744367126,[0,0,0]],[1744367127,[0,0,0]],[1744367128,[0,0,0]],[1744367129,[0,0,0]],[1744367130,[0,0,0]],[1744367131,[0,0,0]],[1744367132,[0,0,0]],[1744367133,[0,0,0]],[1744367134,[0,0,0]],[1744367135,[0,0,0]],[1744367136,[0,0,0]],[1744367137,[0,0,0]],[1744367138,[0,0,0]],[1744367139,[0,0,0]],[1744367140,[0,0,0]],[1744367141,[0,0,0]]]);
  619. var requestsChart = new Highcharts.StockChart({
  620. chart: {
  621. renderTo: 'requests',
  622. zoomType: 'x',
  623. marginBottom: 60
  624. },
  625. credits: { enabled: false },
  626. legend: {
  627. enabled: true,
  628. floating: true,
  629. y: -65,
  630. borderWidth: 0,
  631. itemStyle: { fontWeight: "normal" },
  632. symbolRadius: 0
  633. },
  634. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  635. navigator: {
  636. maskInside: false
  637. },
  638. rangeSelector: {
  639. buttonSpacing: 0,
  640. buttonTheme: {
  641. fill: '#CFC9C6',
  642. padding: 1,
  643. stroke: '#000000',
  644. 'stroke-width': 0.25,
  645. style: {
  646. color: '#000000',
  647. fontWeight: 'bold',
  648. },
  649. states: {
  650. stroke: '#000000',
  651. 'stroke-width': 0.25,
  652. hover: {
  653. fill: '#92918C',
  654. style: { color: 'black' }
  655. },
  656. select: {
  657. fill: '#FFA900',
  658. style: { color: 'white' }
  659. }
  660. }
  661. },
  662. buttons : [
  663. {
  664. type : 'minute',
  665. count : 1,
  666. text : '1m'
  667. }, {
  668. type : 'minute',
  669. count : 10,
  670. text : '10m'
  671. }, {
  672. type : 'hour',
  673. count : 1,
  674. text : '1h'
  675. }, {
  676. type : 'all',
  677. count : 1,
  678. text : 'All'
  679. }
  680. ],
  681. selected : 3,
  682. inputEnabled : false
  683. },
  684. plotOptions: {
  685. series: {
  686. dataGrouping: { enabled: false }
  687. },
  688. area: {
  689. stacking: 'normal'
  690. }
  691. },
  692. xAxis: {
  693. type: 'datetime',
  694. ordinal: false,
  695. maxZoom: 10000 // three days
  696. },
  697. yAxis:[
  698. {
  699. min: 0,
  700. title: { text: 'Number of requests' },
  701. opposite: false,
  702. reversedStacks: false
  703. }, {
  704. min: 0,
  705. title: {
  706. text: 'Active Users',
  707. style: { color: '#FFA900' }
  708. },
  709. opposite: true
  710. }
  711. ],
  712. series: [
  713. {
  714. color: '#5E7BE2',
  715. name: 'All',
  716. data: requests[0],
  717. tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
  718. ,type: 'area'},
  719. allUsersData
  720. ]
  721. });
  722. requestsChart.setTitle({
  723. text: '<span class="chart_title">Number of requests per second</span>',
  724. useHTML: true
  725. });
  726. var responses = unpack([[1744367032,[0,0,0]],[1744367033,[0,0,0]],[1744367034,[12,12,0]],[1744367035,[78,78,0]],[1744367036,[111,111,0]],[1744367037,[152,152,0]],[1744367038,[64,64,0]],[1744367039,[1819,96,1723]],[1744367040,[5330,268,5062]],[1744367041,[2380,329,2051]],[1744367042,[1100,1016,84]],[1744367043,[943,910,33]],[1744367044,[886,608,278]],[1744367045,[629,171,458]],[1744367046,[29,27,2]],[1744367047,[25,25,0]],[1744367048,[55,55,0]],[1744367049,[92,92,0]],[1744367050,[90,90,0]],[1744367051,[141,75,66]],[1744367052,[55,40,15]],[1744367053,[42,42,0]],[1744367054,[98,44,54]],[1744367055,[138,53,85]],[1744367056,[70,56,14]],[1744367057,[66,63,3]],[1744367058,[86,82,4]],[1744367059,[57,48,9]],[1744367060,[58,45,13]],[1744367061,[23,23,0]],[1744367062,[37,31,6]],[1744367063,[37,29,8]],[1744367064,[191,32,159]],[1744367065,[379,39,340]],[1744367066,[130,30,100]],[1744367067,[92,61,31]],[1744367068,[69,66,3]],[1744367069,[45,42,3]],[1744367070,[36,35,1]],[1744367071,[24,22,2]],[1744367072,[13,13,0]],[1744367073,[18,18,0]],[1744367074,[824,47,777]],[1744367075,[3219,38,3181]],[1744367076,[3356,22,3334]],[1744367077,[1854,11,1843]],[1744367078,[8,7,1]],[1744367079,[4,3,1]],[1744367080,[7,4,3]],[1744367081,[2,1,1]],[1744367082,[1,1,0]],[1744367083,[3,1,2]],[1744367084,[7,0,7]],[1744367085,[2,0,2]],[1744367086,[0,0,0]],[1744367087,[0,0,0]],[1744367088,[2,2,0]],[1744367089,[0,0,0]],[1744367090,[0,0,0]],[1744367091,[0,0,0]],[1744367092,[0,0,0]],[1744367093,[2,0,2]],[1744367094,[7,0,7]],[1744367095,[0,0,0]],[1744367096,[2,0,2]],[1744367097,[0,0,0]],[1744367098,[0,0,0]],[1744367099,[0,0,0]],[1744367100,[0,0,0]],[1744367101,[0,0,0]],[1744367102,[0,0,0]],[1744367103,[0,0,0]],[1744367104,[0,0,0]],[1744367105,[0,0,0]],[1744367106,[0,0,0]],[1744367107,[0,0,0]],[1744367108,[0,0,0]],[1744367109,[0,0,0]],[1744367110,[0,0,0]],[1744367111,[0,0,0]],[1744367112,[0,0,0]],[1744367113,[0,0,0]],[1744367114,[0,0,0]],[1744367115,[0,0,0]],[1744367116,[0,0,0]],[1744367117,[0,0,0]],[1744367118,[0,0,0]],[1744367119,[0,0,0]],[1744367120,[0,0,0]],[1744367121,[0,0,0]],[1744367122,[0,0,0]],[1744367123,[0,0,0]],[1744367124,[0,0,0]],[1744367125,[0,0,0]],[1744367126,[0,0,0]],[1744367127,[0,0,0]],[1744367128,[0,0,0]],[1744367129,[0,0,0]],[1744367130,[0,0,0]],[1744367131,[0,0,0]],[1744367132,[0,0,0]],[1744367133,[0,0,0]],[1744367134,[0,0,0]],[1744367135,[0,0,0]],[1744367136,[0,0,0]],[1744367137,[0,0,0]],[1744367138,[0,0,0]],[1744367139,[0,0,0]],[1744367140,[0,0,0]],[1744367141,[0,0,0]]]);
  727. var requestsChart = new Highcharts.StockChart({
  728. chart: {
  729. renderTo: 'responses',
  730. zoomType: 'x',
  731. marginBottom: 60
  732. },
  733. credits: { enabled: false },
  734. legend: {
  735. enabled: true,
  736. floating: true,
  737. y: -65,
  738. borderWidth: 0,
  739. itemStyle: { fontWeight: "normal" },
  740. symbolRadius: 0
  741. },
  742. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  743. navigator: {
  744. maskInside: false
  745. },
  746. rangeSelector: {
  747. buttonSpacing: 0,
  748. buttonTheme: {
  749. fill: '#CFC9C6',
  750. padding: 1,
  751. stroke: '#000000',
  752. 'stroke-width': 0.25,
  753. style: {
  754. color: '#000000',
  755. fontWeight: 'bold',
  756. },
  757. states: {
  758. stroke: '#000000',
  759. 'stroke-width': 0.25,
  760. hover: {
  761. fill: '#92918C',
  762. style: { color: 'black' }
  763. },
  764. select: {
  765. fill: '#FFA900',
  766. style: { color: 'white' }
  767. }
  768. }
  769. },
  770. buttons : [
  771. {
  772. type : 'minute',
  773. count : 1,
  774. text : '1m'
  775. }, {
  776. type : 'minute',
  777. count : 10,
  778. text : '10m'
  779. }, {
  780. type : 'hour',
  781. count : 1,
  782. text : '1h'
  783. }, {
  784. type : 'all',
  785. count : 1,
  786. text : 'All'
  787. }
  788. ],
  789. selected : 3,
  790. inputEnabled : false
  791. },
  792. plotOptions: {
  793. series: {
  794. dataGrouping: { enabled: false }
  795. },
  796. area: {
  797. stacking: 'normal'
  798. }
  799. },
  800. xAxis: {
  801. type: 'datetime',
  802. ordinal: false,
  803. maxZoom: 10000 // three days
  804. },
  805. yAxis:[
  806. {
  807. min: 0,
  808. title: { text: 'Number of responses' },
  809. opposite: false,
  810. reversedStacks: false
  811. }, {
  812. min: 0,
  813. title: {
  814. text: 'Active Users',
  815. style: { color: '#FFA900' }
  816. },
  817. opposite: true
  818. }
  819. ],
  820. series: [
  821. {
  822. color: '#5E7BE2',
  823. name: 'All',
  824. data: responses[0],
  825. tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
  826. },
  827. {
  828. color: '#68b65c',
  829. name: 'OK',
  830. data: responses[1],
  831. tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
  832. ,type: 'area'},
  833. {
  834. color: '#f15b4f',
  835. name: 'KO',
  836. data: responses[2],
  837. tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
  838. ,type: 'area'},
  839. allUsersData,
  840. {
  841. type: 'pie',
  842. name: 'Distribution',
  843. data: [
  844. {name: 'OK', y: 5230.0, color: '#68b65c'},{name: 'KO', y: 19770.0, color: '#f15b4f'}
  845. ],
  846. center: [775, -40],
  847. size: 70,
  848. showInLegend: false,
  849. dataLabels: { enabled: false },
  850. dataGrouping: { enabled: false }
  851. }
  852. ]
  853. });
  854. requestsChart.setTitle({
  855. text: '<span class="chart_title">Number of responses per second</span>',
  856. useHTML: true
  857. });
  858. var scatterChart = new Highcharts.Chart({
  859. chart: {
  860. renderTo: 'container_response_time_dispersion',
  861. defaultSeriesType: 'scatter',
  862. zoomType: 'xy',
  863. marginBottom: 90
  864. },
  865. credits: { enabled: false },
  866. xAxis: {
  867. title: {
  868. enabled: true,
  869. text: 'Global number of requests per second',
  870. style: { fontWeight: 'bold' }
  871. },
  872. startOnTick: true,
  873. endOnTick: true,
  874. showLastLabel: true,
  875. min: 0
  876. },
  877. title: { text: 'A title to let highcharts reserve the place for the title set later' },
  878. yAxis: {
  879. min: 0,
  880. title: { text: 'Response Time (ms)' }
  881. },
  882. tooltip: {
  883. formatter: function() {
  884. return ''+ this.y +' ms at ' + this.x + ' allreq/s';
  885. }
  886. },
  887. legend: {
  888. enabled: true,
  889. floating: true,
  890. y: 0,
  891. borderWidth: 0,
  892. itemStyle: { fontWeight: "normal" },
  893. },
  894. plotOptions: {
  895. scatter: {
  896. marker: {
  897. radius: 3,
  898. states: {
  899. hover: {
  900. enabled: true,
  901. lineColor: 'rgb(100,100,100)'
  902. }
  903. }
  904. },
  905. states: {
  906. hover: {
  907. marker: { enabled: false }
  908. }
  909. }
  910. }
  911. },
  912. series: [
  913. {
  914. type: 'scatter',
  915. color: '#68b65c',
  916. name: 'OK',
  917. data: [
  918. [1547,11527],[1639,12153],[1982,11550],[3872,40099],[5243,38303],[7856,39666]
  919. ]},
  920. {
  921. type: 'scatter',
  922. color: '#f15b4f',
  923. name: 'KO',
  924. data: [
  925. [1535,2554],[1639,5538],[1982,41008],[2862,3936],[3872,40861],[5243,40613],[7856,40635]
  926. ]}
  927. ]
  928. });
  929. scatterChart.setTitle({
  930. text: '<span class="chart_title">Response Time against Global Throughput</span>',
  931. useHTML: true
  932. });
  933. });
  934. </script>
  935. </div>
  936. </body>
  937. </html>