123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975 |
- <!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">j.n.SocketException: No buffer space available (maximum connections reached?): connect<span class="value" style="display:none">0</span></td>
- <td class="value error-col-2 total ko">9650</td>
- <td class="value error-col-3 total ko">48.81%</td>
- </tr>
- <tr>
- <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>
- <td class="value error-col-2 total ko">2526</td>
- <td class="value error-col-3 total ko">12.78%</td>
- </tr>
- <tr>
- <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>
- <td class="value error-col-2 total ko">2495</td>
- <td class="value error-col-3 total ko">12.62%</td>
- </tr>
- <tr>
- <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>
- <td class="value error-col-2 total ko">2480</td>
- <td class="value error-col-3 total ko">12.54%</td>
- </tr>
- <tr>
- <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>
- <td class="value error-col-2 total ko">2463</td>
- <td class="value error-col-3 total ko">12.46%</td>
- </tr>
- <tr>
- <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>
- <td class="value error-col-2 total ko">94</td>
- <td class="value error-col-3 total ko">0.48%</td>
- </tr>
- <tr>
- <td class="error-col-1 total ko">j.n.BindException: Address already in use: getsockopt<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.26%</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">7</span></td>
- <td class="value error-col-2 total ko">4</td>
- <td class="value error-col-3 total ko">0.02%</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">8</span></td>
- <td class="value error-col-2 total ko">4</td>
- <td class="value error-col-3 total ko">0.02%</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">9</span></td>
- <td class="value error-col-2 total ko">2</td>
- <td class="value error-col-3 total ko">0.01%</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">10</span></td>
- <td class="value error-col-2 total ko">1</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: ['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'],
- 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.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
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- },
- {
- type: 'column',
- color: '#f15b4f',
- name: 'KO',
- data: [
- 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
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- }
- ]
- });
- responsetimeDistributionChart.setTitle({
- text: '<span class="chart_title">Response Time Distribution</span>',
- useHTML: true
- });
- 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]]);
- 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([[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]]]);
- 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([[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]]]);
- 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: 5230.0, color: '#68b65c'},{name: 'KO', y: 19770.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: [
- [1547,11527],[1639,12153],[1982,11550],[3872,40099],[5243,38303],[7856,39666]
- ]},
- {
- type: 'scatter',
- color: '#f15b4f',
- name: 'KO',
- data: [
- [1535,2554],[1639,5538],[1982,41008],[2862,3936],[3872,40861],[5243,40613],[7856,40635]
- ]}
- ]
- });
- scatterChart.setTitle({
- text: '<span class="chart_title">Response Time against Global Throughput</span>',
- useHTML: true
- });
- });
- </script>
- </div>
- </body>
- </html>
|