123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
- <link href="style/style.css" rel="stylesheet" type="text/css" />
- <link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <script src="js/jquery-3.5.1.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
- <script src="js/gatling.js"></script>
- <script src="js/menu.js"></script>
- <script src="js/ellipsis.js"></script>
- <script src="js/all_sessions.js"></script>
- <script src="js/stats.js"></script>
- <script src="js/highstock.js"></script>
- <script src="js/highcharts-more.js"></script>
- <script src="js/theme.js"></script>
- <script src="js/unpack.js"></script>
- <title>Gatling Stats - cart page scenario</title>
- </head>
- <body>
- <script>
- const storedTheme = localStorage.getItem('theme') || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
- if (storedTheme) document.documentElement.setAttribute('data-theme', storedTheme)
- function toggleTheme() {
- const currentTheme = document.documentElement.getAttribute("data-theme");
- const targetTheme = currentTheme === "light" ? "dark" : "light";
- document.documentElement.setAttribute('data-theme', targetTheme)
- localStorage.setItem('theme', targetTheme);
- };
- </script>
- <div class="app-container">
- <div class="frise"></div>
- <div class="head">
- <div class="gatling-open-source">
- <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>
- <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>
- <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
- </div>
- <div class="nav spacer"></div>
- <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank"><strong>Try</strong>
- <img class="logo-enterprise-light" alt="Gatling Enterprise" src="style/logo-enterprise-light.svg"/>
- <img class="logo-enterprise-dark" alt="Gatling Enterprise" src="style/logo-enterprise-dark.svg"/>
- </a>
- <button id="theme-toggle" class="theme-toggle" type="button" onclick="toggleTheme()" aria-label="Toggle user interface mode">
- <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>
- <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>
- </button>
- </div>
- <div class="container details">
- <div class="nav">
- <ul></ul>
- </div>
- <div class="cadre">
- <div class="content">
- <div class="content-header">
- <div class="onglet">
- CartsPageSimulation
- </div>
- <div class="sous-menu" id="sousMenu">
- <div class="sous-menu-spacer">
- <div class="item "><a href="index.html">Global</a></div>
- <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
- </div>
- </div>
- </div>
- <div class="content-in">
- <div class="container-article">
- <div class="article">
-
-
- <div class="schema-container">
- <div id="ranges" class="schema ranges-large">
- </div>
- <div class="infos">
- <div class="infos-in">
- <div class="infos-title">Stats</div>
- <div class="info">
- <h2 class="first">Executions</h2>
- <table>
- <thead>
- <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
- </thead>
- <tbody>
- <tr>
- <td class="title">Total count</td>
- <td id="numberOfRequests" class="total"></td>
- <td id="numberOfRequestsOK" class="ok"></td>
- <td id="numberOfRequestsKO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">Mean count/s</abbr></td>
- <td id="meanNumberOfRequestsPerSecond" class="total"></td>
- <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
- <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
- </tr>
- </tbody>
- </table>
- <h2 class="second">Response Time (ms)</h2>
- <table>
- <thead>
- <tr>
- <th></th>
- <th>Total</th>
- <th>OK</th>
- <th>KO</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="title">Min</td>
- <td id="minResponseTime" class="total"></td>
- <td id="minResponseTimeOK" class="ok"></td>
- <td id="minResponseTimeKO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">50th percentile</td>
- <td id="percentiles1" class="total"></td>
- <td id="percentiles1OK" class="ok"></td>
- <td id="percentiles1KO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">75th percentile</td>
- <td id="percentiles2" class="total"></td>
- <td id="percentiles2OK" class="ok"></td>
- <td id="percentiles2KO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">95th percentile</td>
- <td id="percentiles3" class="total"></td>
- <td id="percentiles3OK" class="ok"></td>
- <td id="percentiles3KO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">99th percentile</td>
- <td id="percentiles4" class="total"></td>
- <td id="percentiles4OK" class="ok"></td>
- <td id="percentiles4KO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">Max</td>
- <td id="maxResponseTime" class="total"></td>
- <td id="maxResponseTimeOK" class="ok"></td>
- <td id="maxResponseTimeKO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">Mean</td>
- <td id="meanResponseTime" class="total"></td>
- <td id="meanResponseTimeOK" class="ok"></td>
- <td id="meanResponseTimeKO" class="ko"></td>
- </tr>
- <tr>
- <td class="title">Standard Deviation</td>
- <td id="standardDeviation" class="total"></td>
- <td id="standardDeviationOK" class="ok"></td>
- <td id="standardDeviationKO" class="ko"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="statistics extensible-geant collapsed">
- <div class="title">
- Errors
- </div>
- <table id="container_errors" class="statistics-in extensible-geant">
- <thead>
- <tr>
- <th id="error-col-1" class="header sortable"><span>Error</span></th>
- <th id="error-col-2" class="header sortable"><span>Count</span></th>
- <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
- </tr>
- </thead>
- <tbody>
-
- <tr>
- <td class="error-col-1 total ko">i.n.h.s.SslHandshakeTimeoutException: handshake timed out after 10000ms<span class="value" style="display:none">0</span></td>
- <td class="value error-col-2 total ko">12857</td>
- <td class="value error-col-3 total ko">54.19%</td>
- </tr>
- <tr>
- <td class="error-col-1 total ko">j.n.SocketException: Network is unreachable: getsockopt<span class="value" style="display:none">1</span></td>
- <td class="value error-col-2 total ko">5837</td>
- <td class="value error-col-3 total ko">24.6%</td>
- </tr>
- <tr>
- <td class="error-col-1 total ko">j.n.SocketException: No buffer space available (maximum connections reached?): connect<span class="value" style="display:none">2</span></td>
- <td class="value error-col-2 total ko">4764</td>
- <td class="value error-col-3 total ko">20.08%</td>
- </tr>
- <tr>
- <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">3</span></td>
- <td class="value error-col-2 total ko">89</td>
- <td class="value error-col-3 total ko">0.38%</td>
- </tr>
- <tr>
- <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">4</span></td>
- <td class="value error-col-2 total ko">63</td>
- <td class="value error-col-3 total ko">0.27%</td>
- </tr>
- <tr>
- <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">5</span></td>
- <td class="value error-col-2 total ko">60</td>
- <td class="value error-col-3 total ko">0.25%</td>
- </tr>
- <tr>
- <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">6</span></td>
- <td class="value error-col-2 total ko">51</td>
- <td class="value error-col-3 total ko">0.21%</td>
- </tr>
- <tr>
- <td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">7</span></td>
- <td class="value error-col-2 total ko">3</td>
- <td class="value error-col-3 total ko">0.01%</td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="schema geant">
- <div id="responsetimeDistributionContainer" class="geant"></div>
- </div>
- <div class="schema geant">
- <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
- </div>
- <div class="schema geant">
- <div id="requests" class="geant"></div>
- </div>
- <div class="schema geant">
- <div id="responses" class="geant"></div>
- </div>
- <div class="schema geant">
- <div id="container_response_time_dispersion" class="geant"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- var pageStats = stats.contents['req_cart-page-scena--506128127'].stats;
- $(document).ready(function() {
- $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
- setDetailsLinkUrl();
- setDetailsMenu();
- setActiveMenu();
- fillStats(pageStats);
-
- Highcharts.setOptions({
- global: { useUTC: false }
- });
- var rangesChart = new Highcharts.Chart({
- chart: {
- renderTo: 'ranges',
- marginRight: 100
- },
- credits: { enabled: false },
- legend: { enabled: false },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- xAxis: {
- categories: [
- pageStats.group1.htmlName,
- pageStats.group2.htmlName,
- pageStats.group3.htmlName,
- pageStats.group4.htmlName
- ]
- },
- yAxis: {
- title: { text: 'Number of Requests' },
- reversedStacks: false
- },
- tooltip: {
- formatter: function() {
- var s;
- if (this.point.name) { // the pie chart
- s = ''+ this.point.name +': '+ this.y +'% requests';
- } else {
- s = ''+ this.y + ' requests';
- }
- return s;
- }
- },
- plotOptions: {
- series: {
- stacking: 'normal',
- shadow: true
- }
- },
- series: [
- {
- type: 'column',
- data: [{
- color: '#68b65c',
- y: pageStats.group1.count
- },
- {
- color: '#FFDD00',
- y: pageStats.group2.count
- },
- {
- color: '#FFA900',
- y: pageStats.group3.count
- },
- {
- color: '#f15b4f',
- y: pageStats.group4.count
- }]
- },
- {
- type: 'pie',
- name: 'Percentages',
- data: [
- {
- name: pageStats.group1.name,
- y: pageStats.group1.percentage,
- color: '#68b65c'
- },
- {
- name: pageStats.group2.name,
- y: pageStats.group2.percentage,
- color: '#FFDD00'
- },
- {
- name: pageStats.group3.name,
- y: pageStats.group3.percentage,
- color: '#FFA900'
- },
- {
- name: pageStats.group4.name,
- y: pageStats.group4.percentage,
- color: '#f15b4f'
- }
- ],
- center: [368, 0],
- size: 90,
- showInLegend: false,
- dataLabels: { enabled: false }
- }
- ]
- });
- rangesChart.setTitle({
- text: '<span class="chart_title">Response Time Ranges</span>',
- useHTML: true
- });
- $('#container_errors').sortable('#container_errors');
-
- var responsetimeDistributionChart = new Highcharts.Chart({
- chart: {
- renderTo: 'responsetimeDistributionContainer',
- type: 'column',
- marginBottom: 60
- },
- credits: { enabled: false },
- legend: {
- enabled: true,
- floating: true,
- y: 5,
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- symbolRadius: 0
- },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- navigator: {
- maskInside: false
- },
- xAxis: {
- categories: ['2646', '3223', '3799', '4376', '4953', '5529', '6106', '6682', '7259', '7836', '8412', '8989', '9565', '10142', '10719', '11295', '11872', '12448', '13025', '13602', '14178', '14755', '15331', '15908', '16484', '17061', '17638', '18214', '18791', '19367', '19944', '20521', '21097', '21674', '22250', '22827', '23404', '23980', '24557', '25133', '25710', '26286', '26863', '27440', '28016', '28593', '29169', '29746', '30323', '30899', '31476', '32052', '32629', '33206', '33782', '34359', '34935', '35512', '36089', '36665', '37242', '37818', '38395', '38971', '39548', '40125', '40701', '41278', '41854', '42431', '43008', '43584', '44161', '44737', '45314', '45891', '46467', '47044', '47620', '48197', '48773', '49350', '49927', '50503', '51080', '51656', '52233', '52810', '53386', '53963', '54539', '55116', '55693', '56269', '56846', '57422', '57999', '58576', '59152', '59729'],
- tickInterval: 20
- },
- yAxis: {
- min: 0,
- title: { text: 'Percentage of Requests' },
- reversedStacks: false
- },
- tooltip: {
- formatter: function() {
- return '<b>'+ this.x +' ms</b><br/>'+
- this.series.name +': '+ this.y +' %<br/>'+
- 'Total: '+ this.point.stackTotal + ' %';
- }
- },
- plotOptions: {
- series: {
- groupPadding: 0,
- stacking: 'normal',
- shadow: true
- }
- },
- series: [
- {
- type: 'column',
- color: '#68b65c',
- name: 'OK',
- data: [
- 0.06,0.0,0.01,0.0,0.0,0.02,0.0,0.01,0.02,0.09,0.04,0.04,0.04,0.02,0.01,0.01,0.01,0.01,0.0,0.01,0.0,0.01,0.01,0.02,0.01,0.0,0.0,0.01,0.0,0.01,0.01,0.02,0.0,0.0,0.01,0.02,0.0,0.02,0.01,0.0,0.01,0.0,0.01,0.01,0.0,0.02,0.01,0.02,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.06,0.02,0.16,0.15,0.22,0.22,0.23,0.22,0.18,0.16,0.17,0.2,0.18,0.16,0.2,0.18,0.18,0.14,0.1,0.14,0.09,0.08,0.08,0.06,0.06,0.04,0.06,0.06,0.03,0.02,0.03,0.04,0.02,0.01,0.01,0.01,0.05,0.02,0.0,0.02
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- },
- {
- type: 'column',
- color: '#f15b4f',
- name: 'KO',
- data: [
- 0.0,1.52,0.69,2.82,3.92,4.87,6.67,3.96,0.0,9.51,1.04,0.0,0.0,0.47,1.35,3.69,3.48,3.13,2.68,5.22,2.61,4.2,2.32,1.58,2.05,0.82,0.48,1.25,1.97,1.89,0.86,0.23,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.31,0.5,1.15,0.78,0.59,0.37,0.03,0.0,0.0,0.0,0.0,0.0,0.0,0.32,0.49,0.33,1.27,0.14,0.17,0.57,0.85,0.33,0.84,0.42,0.22,0.11,0.0,0.0,0.0,0.02,0.01,0.42,1.7,1.46,1.9,1.32,0.49,0.61,0.05,0.03,0.11,0.07,0.07,0.12,0.0,0.02,0.05,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.05
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- }
- ]
- });
- responsetimeDistributionChart.setTitle({
- text: '<span class="chart_title">Response Time Distribution</span>',
- useHTML: true
- });
- var responsetimepercentilesovertimeokPercentiles = unpack([[1744803652,[2358,8057,16022,38662,38998,41338,45154,48355,54513,59769]],[1744803653,[5814,40361,43356,47105,48258,50332,52532,54638,57426,58685]],[1744803654,[14080,41197,44689,47716,48808,50270,51939,56642,58816,59948]],[1744803655,[23890,40544,43653,47437,48214,49241,50994,53537,57832,58073]],[1744803656,[32568,40660,43153,46485,47747,48709,49836,52491,57920,58400]],[1744803657,null],[1744803658,null],[1744803659,null],[1744803660,null],[1744803661,null],[1744803662,null],[1744803663,null],[1744803664,null],[1744803665,null],[1744803666,null],[1744803667,null],[1744803668,null],[1744803669,null],[1744803670,null],[1744803671,null],[1744803672,null],[1744803673,null],[1744803674,null],[1744803675,null],[1744803676,null],[1744803677,null],[1744803678,null],[1744803679,null],[1744803680,null],[1744803681,null],[1744803682,null],[1744803683,null],[1744803684,null],[1744803685,null],[1744803686,null],[1744803687,null],[1744803688,null],[1744803689,null],[1744803690,null],[1744803691,null],[1744803692,null],[1744803693,null],[1744803694,null],[1744803695,null],[1744803696,null],[1744803697,null],[1744803698,null],[1744803699,null],[1744803700,null],[1744803701,null],[1744803702,null],[1744803703,null],[1744803704,null],[1744803705,null],[1744803706,null],[1744803707,null],[1744803708,null],[1744803709,null],[1744803710,null],[1744803711,null],[1744803712,null],[1744803713,null],[1744803714,null],[1744803715,null],[1744803716,null],[1744803717,null],[1744803718,null],[1744803719,null],[1744803720,null],[1744803721,null],[1744803722,null],[1744803723,null],[1744803724,null],[1744803725,null],[1744803726,null],[1744803727,null],[1744803728,null],[1744803729,null],[1744803730,null],[1744803731,null],[1744803732,null],[1744803733,null],[1744803734,null],[1744803735,null],[1744803736,null],[1744803737,null],[1744803738,null],[1744803739,null],[1744803740,null],[1744803741,null],[1744803742,null],[1744803743,null],[1744803744,null],[1744803745,null],[1744803746,null],[1744803747,null],[1744803748,null],[1744803749,null],[1744803750,null],[1744803751,null],[1744803752,null],[1744803753,null],[1744803754,null],[1744803755,null],[1744803756,null],[1744803757,null],[1744803758,null],[1744803759,null],[1744803760,null],[1744803761,null],[1744803762,null],[1744803763,null],[1744803764,null],[1744803765,null],[1744803766,null],[1744803767,null],[1744803768,null],[1744803769,null]]);
- var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
- chart: {
- renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
- zoomType: 'x',
- marginBottom: 60
- },
- colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
- credits: { enabled: false },
- legend: {
- enabled: true,
- floating: true,
- y: -65,
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- symbolRadius: 0
- },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- navigator: {
- maskInside: false,
- baseSeries: 9
- },
- rangeSelector: {
- rangeSelector: { align: "left" },
- buttonSpacing: 0,
- buttonTheme: {
- fill: '#CFC9C6',
- padding: 1,
- stroke: '#000000',
- 'stroke-width': 0.25,
- style: {
- color: '#000000',
- fontWeight: 'bold',
- },
- states: {
- stroke: '#92918C',
- 'stroke-width': 0.25,
- hover: {
- fill: '#92918C',
- style: { color: 'black' }
- },
- select: {
- fill: '#FFA900',
- style: { color: 'white' }
- }
- }
- },
- buttons : [
- {
- type : 'minute',
- count : 1,
- text : '1m'
- }, {
- type : 'minute',
- count : 10,
- text : '10m'
- }, {
- type : 'hour',
- count : 1,
- text : '1h'
- }, {
- type : 'all',
- count : 1,
- text : 'All'
- }
- ],
- selected : 3,
- inputEnabled : false
- },
- xAxis: {
- type: 'datetime',
- ordinal: false,
- maxZoom: 10000 // three days
- },
- yAxis:[
- {
- min: 0,
- title: { text: 'Response Time (ms)' },
- opposite: false
- }, {
- min: 0,
- title: {
- text: 'Active Users',
- style: { color: '#FFA900' }
- },
- opposite: true
- }
- ],
- plotOptions: {
- arearange: { lineWidth: 1 },
- series: {
- dataGrouping: { enabled: false }
- }
- },
- series: [
-
-
- {
- pointInterval: 1000,
- name: 'min',
- data: responsetimepercentilesovertimeokPercentiles[0],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 10
- },
- {
- pointInterval: 1000,
- name: '25%',
- data: responsetimepercentilesovertimeokPercentiles[1],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 9
- },
- {
- pointInterval: 1000,
- name: '50%',
- data: responsetimepercentilesovertimeokPercentiles[2],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 8
- },
- {
- pointInterval: 1000,
- name: '75%',
- data: responsetimepercentilesovertimeokPercentiles[3],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 7
- },
- {
- pointInterval: 1000,
- name: '80%',
- data: responsetimepercentilesovertimeokPercentiles[4],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 6
- },
- {
- pointInterval: 1000,
- name: '85%',
- data: responsetimepercentilesovertimeokPercentiles[5],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 5
- },
- {
- pointInterval: 1000,
- name: '90%',
- data: responsetimepercentilesovertimeokPercentiles[6],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 4
- },
- {
- pointInterval: 1000,
- name: '95%',
- data: responsetimepercentilesovertimeokPercentiles[7],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 3
- },
- {
- pointInterval: 1000,
- name: '99%',
- data: responsetimepercentilesovertimeokPercentiles[8],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 2
- },
- {
- pointInterval: 1000,
- name: 'max',
- data: responsetimepercentilesovertimeokPercentiles[9],
- tooltip: { yDecimals: 0, ySuffix: 'ms' },
- type : 'area',
- yAxis: 0,
- zIndex: 1
- },
- allUsersData
- ]
- });
- responsetimepercentilesovertimeokPercentilesChart.setTitle({
- text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
- useHTML: true
- });
- var requests = unpack([[1744803652,[1204,220,984]],[1744803653,[3862,260,3602]],[1744803654,[5425,410,5015]],[1744803655,[4087,262,3825]],[1744803656,[5346,124,5222]],[1744803657,[1893,0,1893]],[1744803658,[2741,0,2741]],[1744803659,[442,0,442]],[1744803660,[0,0,0]],[1744803661,[0,0,0]],[1744803662,[0,0,0]],[1744803663,[0,0,0]],[1744803664,[0,0,0]],[1744803665,[0,0,0]],[1744803666,[0,0,0]],[1744803667,[0,0,0]],[1744803668,[0,0,0]],[1744803669,[0,0,0]],[1744803670,[0,0,0]],[1744803671,[0,0,0]],[1744803672,[0,0,0]],[1744803673,[0,0,0]],[1744803674,[0,0,0]],[1744803675,[0,0,0]],[1744803676,[0,0,0]],[1744803677,[0,0,0]],[1744803678,[0,0,0]],[1744803679,[0,0,0]],[1744803680,[0,0,0]],[1744803681,[0,0,0]],[1744803682,[0,0,0]],[1744803683,[0,0,0]],[1744803684,[0,0,0]],[1744803685,[0,0,0]],[1744803686,[0,0,0]],[1744803687,[0,0,0]],[1744803688,[0,0,0]],[1744803689,[0,0,0]],[1744803690,[0,0,0]],[1744803691,[0,0,0]],[1744803692,[0,0,0]],[1744803693,[0,0,0]],[1744803694,[0,0,0]],[1744803695,[0,0,0]],[1744803696,[0,0,0]],[1744803697,[0,0,0]],[1744803698,[0,0,0]],[1744803699,[0,0,0]],[1744803700,[0,0,0]],[1744803701,[0,0,0]],[1744803702,[0,0,0]],[1744803703,[0,0,0]],[1744803704,[0,0,0]],[1744803705,[0,0,0]],[1744803706,[0,0,0]],[1744803707,[0,0,0]],[1744803708,[0,0,0]],[1744803709,[0,0,0]],[1744803710,[0,0,0]],[1744803711,[0,0,0]],[1744803712,[0,0,0]],[1744803713,[0,0,0]],[1744803714,[0,0,0]],[1744803715,[0,0,0]],[1744803716,[0,0,0]],[1744803717,[0,0,0]],[1744803718,[0,0,0]],[1744803719,[0,0,0]],[1744803720,[0,0,0]],[1744803721,[0,0,0]],[1744803722,[0,0,0]],[1744803723,[0,0,0]],[1744803724,[0,0,0]],[1744803725,[0,0,0]],[1744803726,[0,0,0]],[1744803727,[0,0,0]],[1744803728,[0,0,0]],[1744803729,[0,0,0]],[1744803730,[0,0,0]],[1744803731,[0,0,0]],[1744803732,[0,0,0]],[1744803733,[0,0,0]],[1744803734,[0,0,0]],[1744803735,[0,0,0]],[1744803736,[0,0,0]],[1744803737,[0,0,0]],[1744803738,[0,0,0]],[1744803739,[0,0,0]],[1744803740,[0,0,0]],[1744803741,[0,0,0]],[1744803742,[0,0,0]],[1744803743,[0,0,0]],[1744803744,[0,0,0]],[1744803745,[0,0,0]],[1744803746,[0,0,0]],[1744803747,[0,0,0]],[1744803748,[0,0,0]],[1744803749,[0,0,0]],[1744803750,[0,0,0]],[1744803751,[0,0,0]],[1744803752,[0,0,0]],[1744803753,[0,0,0]],[1744803754,[0,0,0]],[1744803755,[0,0,0]],[1744803756,[0,0,0]],[1744803757,[0,0,0]],[1744803758,[0,0,0]],[1744803759,[0,0,0]],[1744803760,[0,0,0]],[1744803761,[0,0,0]],[1744803762,[0,0,0]],[1744803763,[0,0,0]],[1744803764,[0,0,0]],[1744803765,[0,0,0]],[1744803766,[0,0,0]],[1744803767,[0,0,0]],[1744803768,[0,0,0]],[1744803769,[0,0,0]]]);
- var requestsChart = new Highcharts.StockChart({
- chart: {
- renderTo: 'requests',
- zoomType: 'x',
- marginBottom: 60
- },
- credits: { enabled: false },
- legend: {
- enabled: true,
- floating: true,
- y: -65,
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- symbolRadius: 0
- },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- navigator: {
- maskInside: false
- },
- rangeSelector: {
- buttonSpacing: 0,
- buttonTheme: {
- fill: '#CFC9C6',
- padding: 1,
- stroke: '#000000',
- 'stroke-width': 0.25,
- style: {
- color: '#000000',
- fontWeight: 'bold',
- },
- states: {
- stroke: '#000000',
- 'stroke-width': 0.25,
- hover: {
- fill: '#92918C',
- style: { color: 'black' }
- },
- select: {
- fill: '#FFA900',
- style: { color: 'white' }
- }
- }
- },
- buttons : [
- {
- type : 'minute',
- count : 1,
- text : '1m'
- }, {
- type : 'minute',
- count : 10,
- text : '10m'
- }, {
- type : 'hour',
- count : 1,
- text : '1h'
- }, {
- type : 'all',
- count : 1,
- text : 'All'
- }
- ],
- selected : 3,
- inputEnabled : false
- },
- plotOptions: {
- series: {
- dataGrouping: { enabled: false }
- },
- area: {
- stacking: 'normal'
- }
- },
- xAxis: {
- type: 'datetime',
- ordinal: false,
- maxZoom: 10000 // three days
- },
- yAxis:[
- {
- min: 0,
- title: { text: 'Number of requests' },
- opposite: false,
- reversedStacks: false
- }, {
- min: 0,
- title: {
- text: 'Active Users',
- style: { color: '#FFA900' }
- },
- opposite: true
- }
- ],
- series: [
- {
- color: '#5E7BE2',
- name: 'All',
- data: requests[0],
- tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
- ,type: 'area'},
- allUsersData
- ]
- });
- requestsChart.setTitle({
- text: '<span class="chart_title">Number of requests per second</span>',
- useHTML: true
- });
- var responses = unpack([[1744803652,[0,0,0]],[1744803653,[0,0,0]],[1744803654,[1,1,0]],[1744803655,[16,16,0]],[1744803656,[4,4,0]],[1744803657,[1,1,0]],[1744803658,[6,6,0]],[1744803659,[8,8,0]],[1744803660,[28,28,0]],[1744803661,[643,18,625]],[1744803662,[2156,17,2139]],[1744803663,[2266,6,2260]],[1744803664,[5213,9,5204]],[1744803665,[801,4,797]],[1744803666,[1246,3,1243]],[1744803667,[704,2,702]],[1744803668,[946,9,937]],[1744803669,[940,7,933]],[1744803670,[967,1,966]],[1744803671,[1072,6,1066]],[1744803672,[651,5,646]],[1744803673,[566,5,561]],[1744803674,[261,8,253]],[1744803675,[344,4,340]],[1744803676,[186,6,180]],[1744803677,[4,4,0]],[1744803678,[6,6,0]],[1744803679,[5,5,0]],[1744803680,[25,6,19]],[1744803681,[161,9,152]],[1744803682,[261,5,256]],[1744803683,[248,0,248]],[1744803684,[166,1,165]],[1744803685,[81,3,78]],[1744803686,[27,0,27]],[1744803687,[0,0,0]],[1744803688,[0,0,0]],[1744803689,[1,1,0]],[1744803690,[0,0,0]],[1744803691,[800,51,749]],[1744803692,[167,8,159]],[1744803693,[180,47,133]],[1744803694,[456,97,359]],[1744803695,[141,83,58]],[1744803696,[180,108,72]],[1744803697,[71,71,0]],[1744803698,[84,79,5]],[1744803699,[84,79,5]],[1744803700,[92,92,0]],[1744803701,[1739,59,1680]],[1744803702,[268,54,214]],[1744803703,[119,42,77]],[1744803704,[77,39,38]],[1744803705,[49,39,10]],[1744803706,[88,24,64]],[1744803707,[34,18,16]],[1744803708,[40,19,21]],[1744803709,[12,9,3]],[1744803710,[11,10,1]],[1744803711,[7,7,0]],[1744803712,[107,16,91]],[1744803713,[67,5,62]],[1744803714,[78,6,72]],[1744803715,[27,0,27]],[1744803716,[11,0,11]],[1744803717,[0,0,0]],[1744803718,[0,0,0]],[1744803719,[0,0,0]],[1744803720,[0,0,0]],[1744803721,[0,0,0]],[1744803722,[0,0,0]],[1744803723,[0,0,0]],[1744803724,[0,0,0]],[1744803725,[0,0,0]],[1744803726,[0,0,0]],[1744803727,[0,0,0]],[1744803728,[0,0,0]],[1744803729,[0,0,0]],[1744803730,[0,0,0]],[1744803731,[0,0,0]],[1744803732,[0,0,0]],[1744803733,[0,0,0]],[1744803734,[0,0,0]],[1744803735,[0,0,0]],[1744803736,[0,0,0]],[1744803737,[0,0,0]],[1744803738,[0,0,0]],[1744803739,[0,0,0]],[1744803740,[0,0,0]],[1744803741,[0,0,0]],[1744803742,[0,0,0]],[1744803743,[0,0,0]],[1744803744,[0,0,0]],[1744803745,[0,0,0]],[1744803746,[0,0,0]],[1744803747,[0,0,0]],[1744803748,[0,0,0]],[1744803749,[0,0,0]],[1744803750,[0,0,0]],[1744803751,[0,0,0]],[1744803752,[0,0,0]],[1744803753,[0,0,0]],[1744803754,[0,0,0]],[1744803755,[0,0,0]],[1744803756,[0,0,0]],[1744803757,[0,0,0]],[1744803758,[0,0,0]],[1744803759,[0,0,0]],[1744803760,[0,0,0]],[1744803761,[0,0,0]],[1744803762,[0,0,0]],[1744803763,[0,0,0]],[1744803764,[0,0,0]],[1744803765,[0,0,0]],[1744803766,[0,0,0]],[1744803767,[0,0,0]],[1744803768,[0,0,0]],[1744803769,[0,0,0]]]);
- var requestsChart = new Highcharts.StockChart({
- chart: {
- renderTo: 'responses',
- zoomType: 'x',
- marginBottom: 60
- },
- credits: { enabled: false },
- legend: {
- enabled: true,
- floating: true,
- y: -65,
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- symbolRadius: 0
- },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- navigator: {
- maskInside: false
- },
- rangeSelector: {
- buttonSpacing: 0,
- buttonTheme: {
- fill: '#CFC9C6',
- padding: 1,
- stroke: '#000000',
- 'stroke-width': 0.25,
- style: {
- color: '#000000',
- fontWeight: 'bold',
- },
- states: {
- stroke: '#000000',
- 'stroke-width': 0.25,
- hover: {
- fill: '#92918C',
- style: { color: 'black' }
- },
- select: {
- fill: '#FFA900',
- style: { color: 'white' }
- }
- }
- },
- buttons : [
- {
- type : 'minute',
- count : 1,
- text : '1m'
- }, {
- type : 'minute',
- count : 10,
- text : '10m'
- }, {
- type : 'hour',
- count : 1,
- text : '1h'
- }, {
- type : 'all',
- count : 1,
- text : 'All'
- }
- ],
- selected : 3,
- inputEnabled : false
- },
- plotOptions: {
- series: {
- dataGrouping: { enabled: false }
- },
- area: {
- stacking: 'normal'
- }
- },
- xAxis: {
- type: 'datetime',
- ordinal: false,
- maxZoom: 10000 // three days
- },
- yAxis:[
- {
- min: 0,
- title: { text: 'Number of responses' },
- opposite: false,
- reversedStacks: false
- }, {
- min: 0,
- title: {
- text: 'Active Users',
- style: { color: '#FFA900' }
- },
- opposite: true
- }
- ],
- series: [
- {
- color: '#5E7BE2',
- name: 'All',
- data: responses[0],
- tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
- },
- {
- color: '#68b65c',
- name: 'OK',
- data: responses[1],
- tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
- ,type: 'area'},
- {
- color: '#f15b4f',
- name: 'KO',
- data: responses[2],
- tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
- ,type: 'area'},
- allUsersData,
- {
-
- type: 'pie',
- name: 'Distribution',
- data: [
- {name: 'OK', y: 1276.0, color: '#68b65c'},{name: 'KO', y: 23724.0, color: '#f15b4f'}
- ],
- center: [775, -40],
- size: 70,
- showInLegend: false,
- dataLabels: { enabled: false },
- dataGrouping: { enabled: false }
- }
- ]
- });
- requestsChart.setTitle({
- text: '<span class="chart_title">Number of responses per second</span>',
- useHTML: true
- });
- var scatterChart = new Highcharts.Chart({
- chart: {
- renderTo: 'container_response_time_dispersion',
- defaultSeriesType: 'scatter',
- zoomType: 'xy',
- marginBottom: 90
- },
- credits: { enabled: false },
- xAxis: {
- title: {
- enabled: true,
- text: 'Global number of requests per second',
- style: { fontWeight: 'bold' }
- },
- startOnTick: true,
- endOnTick: true,
- showLastLabel: true,
- min: 0
- },
- title: { text: 'A title to let highcharts reserve the place for the title set later' },
- yAxis: {
- min: 0,
- title: { text: 'Response Time (ms)' }
- },
- tooltip: {
- formatter: function() {
- return ''+ this.y +' ms at ' + this.x + ' allreq/s';
- }
- },
- legend: {
- enabled: true,
- floating: true,
- y: 0,
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- },
- plotOptions: {
- scatter: {
- marker: {
- radius: 3,
- states: {
- hover: {
- enabled: true,
- lineColor: 'rgb(100,100,100)'
- }
- }
- },
- states: {
- hover: {
- marker: { enabled: false }
- }
- }
- }
- },
- series: [
- {
- type: 'scatter',
- color: '#68b65c',
- name: 'OK',
- data: [
- [1204,48355],[3862,54638],[4138,53537],[5358,52491],[5425,56642]
- ]},
- {
- type: 'scatter',
- color: '#f15b4f',
- name: 'KO',
- data: [
- [466,5959],[1204,60002],[1896,7749],[2759,6472],[3862,48343],[4138,46506],[5358,45649],[5425,47602]
- ]}
- ]
- });
- scatterChart.setTitle({
- text: '<span class="chart_title">Response Time against Global Throughput</span>',
- useHTML: true
- });
- });
- </script>
- </div>
- </body>
- </html>
|