1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174 |
- <!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 - Global Information</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 ouvert"><a href="index.html">Global</a></div>
- <div class="item "><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">
- </div>
- <div class="schema polar">
- <div id="container_number_of_requests"></div>
- </div>
- <div class="simulation-card">
- <div class="simulation-version-information">
- <span class="simulation-information-title">Gatling Version</span>
- <span class="simulation-information-item">
- <span class="simulation-information-label">Version: </span>
- <span>3.13.5</span>
- </span>
- <span class="simulation-information-item">
- <span class="simulation-information-label">Released: </span>
- <span>2025-03-11</span>
- </span>
- </div>
- <div id="simulation-information" class="simulation-version-information">
- <span class="simulation-information-title">Run Information</span>
- <div class="simulation-information-container">
- <span class="simulation-information-item">
- <span class="simulation-information-label">Date: </span>
- <span>2025-04-16 11:40:52 GMT</span>
- </span>
- <span class="simulation-information-item">
- <span class="simulation-information-label">Duration: </span>
- <span>1m 57s </span>
- </span>
- <span class="simulation-information-item">
- <span class="simulation-information-label">Description: </span>
- <span>—</span>
- </span>
- </div>
- </div>
- </div>
- </div>
- <div id="statistics_table_container">
- <div id="stats" class="statistics extensible-geant collapsed">
- <div class="title">
- <div id="statistics_title" class="title_base"><span class="title_base_stats">Stats</span><span class="expand-table">Fixed height</span><span id="toggle-stats" class="toggle-table"></span><span class="collapse-table">Full size</span></div>
- <div class="right">
- <button class="statistics-button expand-all-button">Expand all groups</button>
- <button class="statistics-button collapse-all-button">Collapse all groups</button>
- <button id="statistics_full_screen" class="statistics-button" onclick="openStatisticsTableModal()"><img alt="Fullscreen" src="style/fullscreen.svg"></button>
- </div>
- </div>
- <div class="scrollable">
- <table id="container_statistics_head" class="statistics-in extensible-geant">
- <thead>
- <tr>
- <th rowspan="2" id="col-1" class="header sortable sorted-up"><span>Requests</span></th>
- <th colspan="5" class="header"><span class="executions">Executions</span></th>
- <th colspan="8" class="header"><span class="response-time">Response Time (ms)</span></th>
- </tr>
- <tr>
- <th id="col-2" class="header sortable"><span>Total</span></th>
- <th id="col-3" class="header sortable"><span>OK</span></th>
- <th id="col-4" class="header sortable"><span>KO</span></th>
- <th id="col-5" class="header sortable"><span>% KO</span></th>
- <th id="col-6" class="header sortable"><span><abbr title="Count of events per second">Cnt/s</abbr></span></th>
- <th id="col-7" class="header sortable"><span>Min</span></th>
- <th id="col-8" class="header sortable"><span>50th pct</span></th>
- <th id="col-9" class="header sortable"><span>75th pct</span></th>
- <th id="col-10" class="header sortable"><span>95th pct</span></th>
- <th id="col-11" class="header sortable"><span>99th pct</span></th>
- <th id="col-12" class="header sortable"><span>Max</span></th>
- <th id="col-13" class="header sortable"><span>Mean</span></th>
- <th id="col-14" class="header sortable"><span><abbr title="Standard Deviation">Std Dev</abbr></span></th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- <table id="container_statistics_body" class="statistics-in extensible-geant">
- <tbody></tbody>
- </table>
- </div>
- </div>
- </div>
- <dialog id="statistics_table_modal" class="statistics-table-modal">
- <div class="statistics-table-modal-header"><button class="button-modal" onclick="closeStatisticsTableModal()"><img alt="Close" src="style/close.svg"></button></div>
- <div class="statistics-table-modal-container">
- <div id="statistics_table_modal_content" class="statistics-table-modal-content"></div>
- </div>
- </dialog>
- <script>
- function openStatisticsTableModal () {
- const statsTable = document.getElementById("stats");
- const statsTableModal = document.getElementById("statistics_table_modal");
- const fullScreenButton = document.getElementById("statistics_full_screen");
- fullScreenButton.disabled = true;
- if (typeof statsTableModal.showModal === "function") {
- const statsTableModalContent = document.getElementById("statistics_table_modal_content");
- statsTableModalContent.innerHTML = "";
- statsTableModalContent.appendChild(statsTable);
- statsTableModal.showModal();
- statsTableModal.addEventListener("close", function () {
- const container = document.getElementById("statistics_table_container");
- container.appendChild(statsTable);
- fullScreenButton.disabled = false;
- });
- } else {
- const incompatibleBrowserVersionMessage = document.createElement("div");
- incompatibleBrowserVersionMessage.innerText = "Sorry, the <dialog> API is not supported by this browser.";
- statsTable.insertBefore(incompatibleBrowserVersionMessage, statsTable.children[0]);
- }
- }
- function closeStatisticsTableModal () {
- const statsTableModal = document.getElementById("statistics_table_modal");
- statsTableModal.close();
- }
- </script>
- <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">13278</td>
- <td class="value error-col-3 total ko">54.22%</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">5889</td>
- <td class="value error-col-3 total ko">24.05%</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">4875</td>
- <td class="value error-col-3 total ko">19.91%</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">138</td>
- <td class="value error-col-3 total ko">0.56%</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">106</td>
- <td class="value error-col-3 total ko">0.43%</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">99</td>
- <td class="value error-col-3 total ko">0.4%</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">98</td>
- <td class="value error-col-3 total ko">0.4%</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">5</td>
- <td class="value error-col-3 total ko">0.02%</td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="schema geant">
- <div id="active_users" class="geant"></div>
- </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>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- var pageStats = stats.stats;
- $(document).ready(function() {
- $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
- setDetailsLinkUrl();
- setGlobalMenu();
- 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: [345, 0],
- size: 90,
- showInLegend: false,
- dataLabels: { enabled: false }
- }
- ]
- });
- rangesChart.setTitle({
- text: '<span class="chart_title">Response Time Ranges</span>',
- useHTML: true
- });
- function numberOfRequestsDataForGroup(group) {
- var data = {names: [], oks: [], kos: []};
- $.each(group.contents, function(contentName, content) {
- if (content.type == 'GROUP') {
- var result = numberOfRequestsDataForGroup(content);
- data.names = data.names.concat(result.names);
- data.oks = data.oks.concat(result.oks);
- data.kos = data.kos.concat(result.kos);
- }
- else if (content.type == 'REQUEST') {
- data.names.push(content.path);
- data.oks.push(parseInt(content.stats.numberOfRequests.ok));
- data.kos.push(parseInt(content.stats.numberOfRequests.ko));
- }
- });
- return data;
- }
- var numberOfRequestsData = numberOfRequestsDataForGroup(stats);
- var tickInterval = Math.ceil(numberOfRequestsData.names.length / 1000);
- new Highcharts.Chart({
- chart: {
- renderTo:'container_number_of_requests',
- polar:true,
- type:'column',
- height:330
- },
- credits:{
- enabled:false
- },
- title:{
- text:'<span class="chart_title">Number of requests</span>',
- useHTML: true,
- widthAdjust:-20
- },
- xAxis:{
- tickmarkPlacement:'on',
- tickInterval: tickInterval,
- categories:numberOfRequestsData.names,
- labels:{ enabled:false }
- },
- yAxis:{
- min:0,
- reversedStacks: false
- },
- plotOptions:{
- series:{
- stacking:'normal',
- groupPadding:0,
- pointPlacement:'on',
- shadow: true
- }
- },
- legend: {
- borderWidth: 0,
- itemStyle: { fontWeight: "normal" },
- symbolRadius: 0
- },
- series:[
- {
- name:'OK',
- data:numberOfRequestsData.oks,
- color:"#68b65c"
- },
- {
- name:'KO',
- data:numberOfRequestsData.kos,
- color:"#f15b4f"
- }
- ]
- });
- $('#container_exceptions').sortable('#container_exceptions');
-
- function generateHtmlRow(request, level, index, parent, group) {
- if (request.name == 'All Requests')
- var url = 'index.html';
- else
- var url = request.pathFormatted + '.html';
- if (group)
- var expandButtonStyle = '';
- else
- var expandButtonStyle = ' hidden';
- if (request.stats.numberOfRequests.total != 0)
- var koPercent = (request.stats.numberOfRequests.ko * 100 / request.stats.numberOfRequests.total).toFixed(2);
- else
- var koPercent = '-'
- return '<tr id="' + request.pathFormatted + '" data-parent=' + parent + '> \
- <td class="total col-1"> \
- <div class="expandable-container"> \
- <span id="' + request.pathFormatted + '" style="margin-left: ' + (level * 10) + 'px;" class="expand-button' + expandButtonStyle + '"> </span> \
- <a href="' + url +'" class="withTooltip">' + ellipsedLabel({ name: request.name, parentClass: "table-cell-tooltip" }) + '</a><span class="value" style="display:none;">' + index + '</span> \
- </div> \
- </td> \
- <td class="value total col-2">' + request.stats.numberOfRequests.total + '</td> \
- <td class="value ok col-3">' + request.stats.numberOfRequests.ok + '</td> \
- <td class="value ko col-4">' + request.stats.numberOfRequests.ko + '</td> \
- <td class="value ko col-5">' + koPercent + '</td> \
- <td class="value total col-6">' + request.stats.meanNumberOfRequestsPerSecond.total + '</td> \
- <td class="value total col-7">' + request.stats.minResponseTime.total + '</td> \
- <td class="value total col-8">' + request.stats.percentiles1.total + '</td> \
- <td class="value total col-9">' + request.stats.percentiles2.total + '</td> \
- <td class="value total col-10">' + request.stats.percentiles3.total + '</td> \
- <td class="value total col-11">' + request.stats.percentiles4.total + '</td> \
- <td class="value total col-12">' + request.stats.maxResponseTime.total + '</td> \
- <td class="value total col-13">' + request.stats.meanResponseTime.total + '</td> \
- <td class="value total col-14">' + request.stats.standardDeviation.total + '</td> \
- </tr>';
- }
- function generateHtmlRowsForGroup(group, level, index, parent) {
- var buffer = '';
- if (!parent)
- parent = 'ROOT';
- else {
- buffer += generateHtmlRow(group, level - 1, index, parent, true);
- index++;
- parent = group.pathFormatted;
- }
- $.each(group.contents, function(contentName, content) {
- if (content.type == 'GROUP') {
- var result = generateHtmlRowsForGroup(content, level + 1, index, parent);
- buffer += result.html;
- index = result.index;
- }
- else if (content.type == 'REQUEST') {
- buffer += generateHtmlRow(content, level, index, parent);
- index++;
- }
- });
- return { html: buffer, index: index };
- }
- $('#container_statistics_head tbody').append(generateHtmlRow(stats, 0, 0));
- var lines = generateHtmlRowsForGroup(stats, 0, 0);
- $('#container_statistics_body tbody').append(lines.html);
- $('#container_statistics_head').sortable('#container_statistics_body');
- $('.statistics').expandable();
- if (lines.index < 30) {
- $('#statistics_title span').attr('style', 'display: none;');
- } else {
- $('#statistics_title').addClass('title_collapsed');
- $('#statistics_title').click(function() {
- $('#toggle-stats').toggleClass("off");
- $(this).toggleClass('title_collapsed').toggleClass('title_expanded');
- $('#container_statistics_body').parent().toggleClass('scrollable').toggleClass('');
- });
- }
- $('.table-cell-tooltip').popover({trigger:'hover'});
- $('#container_errors').sortable('#container_errors');
-
- allUsersData.yAxis = 0;
- var allUsersChart = new Highcharts.StockChart({
- chart: {
- renderTo: 'active_users',
- zoomType: 'x'
- },
- credits: { enabled: false },
- legend: {
- enabled: true,
- floating: true,
- align: 'right',
- verticalAlign: 'top',
- layout: 'vertical',
- 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
- },
- xAxis: {
- type: 'datetime',
- ordinal: false,
- maxZoom: 10000 // three days
- },
- yAxis: {
- title: { text: 'Number of Active Users' },
- opposite: false,
- min: 0
- },
- series: [
- {
- color: '#5E7BE2',
- name: 'Cart Page Load Test',
- data: [
- [1744803652000,3637],[1744803653000,7386],[1744803654000,11334],[1744803655000,17139],[1744803656000,21794],[1744803657000,23067],[1744803658000,25000],[1744803659000,25000],[1744803660000,25000],[1744803661000,24755],[1744803662000,23816],[1744803663000,20983],[1744803664000,18423],[1744803665000,14234],[1744803666000,13589],[1744803667000,12545],[1744803668000,11298],[1744803669000,10910],[1744803670000,9808],[1744803671000,8793],[1744803672000,7842],[1744803673000,7108],[1744803674000,6809],[1744803675000,6426],[1744803676000,6141],[1744803677000,6141],[1744803678000,6141],[1744803679000,6141],[1744803680000,6123],[1744803681000,6099],[1744803682000,5856],[1744803683000,5569],[1744803684000,5349],[1744803685000,5229],[1744803686000,5199],[1744803687000,5189],[1744803688000,5189],[1744803689000,5189],[1744803690000,5189],[1744803691000,4541],[1744803692000,4332],[1744803693000,4191],[1744803694000,4034],[1744803695000,3737],[1744803696000,3648],[1744803697000,3628],[1744803698000,3626],[1744803699000,3614],[1744803700000,3614],[1744803701000,3576],[1744803702000,1792],[1744803703000,1683],[1744803704000,1629],[1744803705000,1594],[1744803706000,1582],[1744803707000,1494],[1744803708000,1487],[1744803709000,1461],[1744803710000,1452],[1744803711000,1446],[1744803712000,1437],[1744803713000,1292],[1744803714000,1220],[1744803715000,1169],[1744803716000,1137],[1744803717000,1121],[1744803718000,1106],[1744803719000,1092],[1744803720000,1066],[1744803721000,1038],[1744803722000,1008],[1744803723000,963],[1744803724000,937],[1744803725000,902],[1744803726000,852],[1744803727000,803],[1744803728000,743],[1744803729000,693],[1744803730000,656],[1744803731000,615],[1744803732000,557],[1744803733000,490],[1744803734000,430],[1744803735000,370],[1744803736000,329],[1744803737000,292],[1744803738000,261],[1744803739000,237],[1744803740000,211],[1744803741000,190],[1744803742000,177],[1744803743000,162],[1744803744000,149],[1744803745000,134],[1744803746000,125],[1744803747000,112],[1744803748000,103],[1744803749000,92],[1744803750000,84],[1744803751000,79],[1744803752000,64],[1744803753000,62],[1744803754000,53],[1744803755000,45],[1744803756000,33],[1744803757000,27],[1744803758000,25],[1744803759000,23],[1744803760000,16],[1744803761000,9],[1744803762000,6],[1744803763000,5],[1744803764000,4],[1744803765000,3],[1744803766000,1],[1744803767000,1],[1744803768000,1],[1744803769000,1]
- ],
- tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
- allUsersData
- ]
- });
- allUsersChart.setTitle({
- text: '<span class="chart_title">Active Users along the Simulation</span>',
- useHTML: true
- });
- allUsersData.yAxis = 1;
- 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: ['302', '902', '1502', '2103', '2703', '3303', '3903', '4503', '5103', '5703', '6304', '6904', '7504', '8104', '8704', '9304', '9904', '10505', '11105', '11705', '12305', '12905', '13505', '14106', '14706', '15306', '15906', '16506', '17106', '17706', '18307', '18907', '19507', '20107', '20707', '21307', '21907', '22508', '23108', '23708', '24308', '24908', '25508', '26109', '26709', '27309', '27909', '28509', '29109', '29709', '30310', '30910', '31510', '32110', '32710', '33310', '33910', '34511', '35111', '35711', '36311', '36911', '37511', '38112', '38712', '39312', '39912', '40512', '41112', '41712', '42313', '42913', '43513', '44113', '44713', '45313', '45913', '46514', '47114', '47714', '48314', '48914', '49514', '50115', '50715', '51315', '51915', '52515', '53115', '53715', '54316', '54916', '55516', '56116', '56716', '57316', '57916', '58517', '59117', '59717'],
- 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.11,0.16,0.21,0.19,0.35,0.28,0.22,0.18,0.19,0.22,0.17,0.2,0.22,0.22,0.18,0.13,0.16,0.17,0.12,0.12,0.13,0.11,0.09,0.13,0.08,0.12,0.14,0.14,0.1,0.11,0.11,0.13,0.13,0.12,0.16,0.12,0.12,0.15,0.12,0.14,0.14,0.15,0.11,0.22,0.13,0.17,0.18,0.18,0.15,0.21,0.19,0.14,0.2,0.14,0.18,0.1,0.11,0.13,0.13,0.11,0.09,0.11,0.12,0.16,0.23,0.22,0.27,0.26,0.23,0.2,0.27,0.21,0.23,0.21,0.21,0.23,0.19,0.2,0.14,0.17,0.15,0.09,0.11,0.12,0.1,0.08,0.09,0.06,0.09,0.04,0.04,0.06,0.04,0.03,0.01,0.02,0.06,0.04,0.01,0.04
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- },
- {
- type: 'column',
- color: '#f15b4f',
- name: 'KO',
- data: [
- 0.04,0.05,0.07,0.08,0.05,2.01,0.15,3.13,3.29,5.47,7.36,0.0,4.27,4.88,0.0,0.0,0.03,0.89,3.44,3.21,3.01,2.37,4.41,2.68,3.87,2.19,1.49,1.76,0.75,0.61,1.02,1.91,1.66,0.67,0.09,0.01,0.04,0.03,0.0,0.01,0.01,0.01,0.0,0.0,0.0,0.28,0.37,0.93,0.8,0.62,0.32,0.03,0.01,0.0,0.0,0.0,0.0,0.02,0.39,0.57,0.55,0.64,0.06,0.37,0.84,0.43,0.45,0.49,0.23,0.23,0.0,0.0,0.0,0.02,0.01,0.38,1.57,1.2,1.84,1.06,0.5,0.31,0.04,0.04,0.07,0.11,0.06,0.05,0.01,0.02,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.52
- ],
- 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,[11325,40180,43033,47294,48188,49241,51107,54455,57873,59506]],[1744803656,[16174,40371,43064,46042,47623,48673,49836,52491,57920,58400]],[1744803657,null],[1744803658,[5373,5523,5554,54012,54012,54012,54012,54012,54012,54012]],[1744803659,[31592,31885,31986,35427,52886,52886,52886,52886,52886,52886]],[1744803660,[5861,21510,31033,50119,51693,53570,56239,59979,59979,59979]],[1744803661,[29835,29947,30462,47603,47603,51303,51303,57423,57423,57423]],[1744803662,[28825,28841,29095,29421,29421,29421,29430,29430,29430,29430]],[1744803663,[28386,28386,49743,50599,50599,50599,50599,50599,50599,50599]],[1744803664,[27386,27391,47470,47971,47971,52788,52788,52788,52788,52788]],[1744803665,[39306,39306,42774,42774,42774,42774,42774,42774,42774,42774]],[1744803666,[41556,41556,58731,58731,58731,58731,58731,58731,58731,58731]],[1744803667,[59989,59989,59989,59989,59989,59989,59989,59989,59989,59989]],[1744803668,[22559,22757,39530,41834,57832,57832,59133,59133,59133,59133]],[1744803669,[10049,22617,30717,38664,59044,59044,59044,59044,59044,59044]],[1744803670,[20749,20749,20749,20749,20749,20749,20749,20749,20749,20749]],[1744803671,[20447,23211,25947,36798,37394,37394,37394,37394,37394,37394]],[1744803672,[18869,35505,45281,57547,57547,58844,58844,58844,58844,58844]],[1744803673,[18635,32773,42563,45091,45091,53132,53132,53132,53132,53132]],[1744803674,[7497,26641,46102,51888,52974,54121,54121,54859,54859,54859]],[1744803675,[16174,36873,44498,50044,51751,51751,58452,58452,58452,58452]],[1744803676,[15487,19993,40683,52233,53252,55026,55026,55291,55291,55291]],[1744803677,[13981,25422,45424,53573,55320,55320,58776,58776,58776,58776]],[1744803678,[12708,32881,45580,51356,51356,52609,54449,56355,56355,56355]],[1744803679,[11794,38284,46663,51970,51970,56068,56068,59117,59117,59117]],[1744803680,[10924,11424,38177,51677,54519,56358,56358,58638,58638,58638]],[1744803681,[9786,12486,43629,57511,57532,57833,58145,59895,59895,59895]],[1744803682,[8937,20259,38039,46462,47886,47886,50095,50095,50095,50095]],[1744803683,null],[1744803684,[7631,7631,7631,7631,7631,7631,7631,7631,7631,7631]],[1744803685,[6250,6250,6633,6633,6633,6633,6633,6633,6633,6633]],[1744803686,null],[1744803687,null],[1744803688,null],[1744803689,[2886,2886,34668,34668,34668,34668,34668,34668,34668,34668]],[1744803690,null],[1744803691,[2235,7188,27818,42621,43570,44898,46529,48904,53012,58514]],[1744803692,[1508,3417,16403,36178,40264,40470,43020,46514,49498,49498]],[1744803693,[236,2550,15159,33962,34744,36610,41047,46969,52438,57675]],[1744803694,[65,3914,18412,35326,37568,40528,43886,48900,54482,55430]],[1744803695,[102,3966,17711,34629,37539,39236,42893,47488,53512,58510]],[1744803696,[281,8634,25458,33980,36450,37712,39833,43175,49879,52794]],[1744803697,[253,8272,25775,32947,34821,36631,39547,48524,54650,55982]],[1744803698,[120,6818,21121,30569,32579,35389,39806,44538,51851,53700]],[1744803699,[690,5970,20859,29947,32329,33772,36288,40045,47686,48633]],[1744803700,[1323,8641,23003,30217,31842,34242,37209,44994,55358,59672]],[1744803701,[2438,9809,24119,30802,32102,33456,34932,39405,50088,54529]],[1744803702,[1833,11701,22713,29844,31231,31963,34048,36356,45429,45582]],[1744803703,[1941,11818,19656,26985,28352,29508,30681,32691,41909,43725]],[1744803704,[1906,13945,21201,25786,27701,30024,31266,33215,56420,56420]],[1744803705,[2864,15568,25016,29404,30135,31024,32523,35924,59428,59428]],[1744803706,[2864,11199,17924,26182,26781,28187,29588,30888,51581,51581]],[1744803707,[4988,12992,16679,25167,25540,26381,27252,27594,29558,29558]],[1744803708,[4957,10799,15305,23487,24292,24577,26120,36637,41597,41597]],[1744803709,[1593,7292,12591,20401,21342,22806,26932,27892,28052,28052]],[1744803710,[1329,7203,11320,15530,17450,19154,26232,27016,41667,41667]],[1744803711,[138,5222,10809,13475,16136,19831,23663,26411,27869,27869]],[1744803712,[36,2689,8007,10822,11299,12849,15914,23139,36023,36023]],[1744803713,[903,3123,8094,11421,13923,13923,17603,18121,18121,18121]],[1744803714,[1237,5304,9936,12873,16120,17395,18738,55692,55692,55692]],[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,[4138,279,3859]],[1744803656,[5358,127,5231]],[1744803657,[1896,0,1896]],[1744803658,[2759,4,2755]],[1744803659,[466,5,461]],[1744803660,[81,17,64]],[1744803661,[57,11,46]],[1744803662,[51,7,44]],[1744803663,[18,3,15]],[1744803664,[27,6,21]],[1744803665,[12,2,10]],[1744803666,[9,2,7]],[1744803667,[6,1,5]],[1744803668,[25,10,15]],[1744803669,[23,5,18]],[1744803670,[3,1,2]],[1744803671,[18,5,13]],[1744803672,[15,6,9]],[1744803673,[15,6,9]],[1744803674,[24,13,11]],[1744803675,[12,10,2]],[1744803676,[18,13,5]],[1744803677,[12,9,3]],[1744803678,[18,16,2]],[1744803679,[15,12,3]],[1744803680,[18,13,5]],[1744803681,[27,19,8]],[1744803682,[12,10,2]],[1744803683,[0,0,0]],[1744803684,[2,1,1]],[1744803685,[6,2,4]],[1744803686,[0,0,0]],[1744803687,[0,0,0]],[1744803688,[0,0,0]],[1744803689,[2,2,0]],[1744803690,[0,0,0]],[1744803691,[161,117,44]],[1744803692,[24,21,3]],[1744803693,[141,126,15]],[1744803694,[291,264,27]],[1744803695,[249,214,35]],[1744803696,[324,292,32]],[1744803697,[213,193,20]],[1744803698,[237,220,17]],[1744803699,[237,219,18]],[1744803700,[276,253,23]],[1744803701,[177,148,29]],[1744803702,[162,145,17]],[1744803703,[126,111,15]],[1744803704,[117,99,18]],[1744803705,[117,97,20]],[1744803706,[72,62,10]],[1744803707,[54,44,10]],[1744803708,[57,51,6]],[1744803709,[27,27,0]],[1744803710,[30,29,1]],[1744803711,[21,21,0]],[1744803712,[48,47,1]],[1744803713,[15,15,0]],[1744803714,[18,18,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,[647,18,629]],[1744803662,[2190,17,2173]],[1744803663,[2355,9,2346]],[1744803664,[5229,9,5220]],[1744803665,[813,4,809]],[1744803666,[1250,7,1243]],[1744803667,[704,2,702]],[1744803668,[946,9,937]],[1744803669,[940,7,933]],[1744803670,[969,1,968]],[1744803671,[1073,6,1067]],[1744803672,[653,7,646]],[1744803673,[567,5,562]],[1744803674,[275,10,265]],[1744803675,[344,4,340]],[1744803676,[187,6,181]],[1744803677,[4,4,0]],[1744803678,[6,6,0]],[1744803679,[6,6,0]],[1744803680,[27,8,19]],[1744803681,[168,12,156]],[1744803682,[270,9,261]],[1744803683,[250,1,249]],[1744803684,[175,1,174]],[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,[903,110,793]],[1744803692,[173,12,161]],[1744803693,[190,53,137]],[1744803694,[502,141,361]],[1744803695,[188,130,58]],[1744803696,[243,171,72]],[1744803697,[113,113,0]],[1744803698,[127,121,6]],[1744803699,[141,136,5]],[1744803700,[143,143,0]],[1744803701,[1811,110,1701]],[1744803702,[345,120,225]],[1744803703,[175,92,83]],[1744803704,[156,107,49]],[1744803705,[116,92,24]],[1744803706,[145,68,77]],[1744803707,[123,66,57]],[1744803708,[116,81,35]],[1744803709,[71,60,11]],[1744803710,[86,70,16]],[1744803711,[53,35,18]],[1744803712,[175,66,109]],[1744803713,[132,47,85]],[1744803714,[136,45,91]],[1744803715,[101,43,58]],[1744803716,[98,63,35]],[1744803717,[71,59,12]],[1744803718,[73,55,18]],[1744803719,[75,60,15]],[1744803720,[98,79,19]],[1744803721,[84,70,14]],[1744803722,[88,71,17]],[1744803723,[99,90,9]],[1744803724,[93,82,11]],[1744803725,[86,78,8]],[1744803726,[101,97,4]],[1744803727,[106,102,4]],[1744803728,[111,103,8]],[1744803729,[88,83,5]],[1744803730,[69,68,1]],[1744803731,[88,83,5]],[1744803732,[72,70,2]],[1744803733,[98,95,3]],[1744803734,[87,83,4]],[1744803735,[65,64,1]],[1744803736,[51,46,5]],[1744803737,[38,37,1]],[1744803738,[31,30,1]],[1744803739,[36,34,2]],[1744803740,[24,21,3]],[1744803741,[23,22,1]],[1744803742,[13,13,0]],[1744803743,[15,15,0]],[1744803744,[16,15,1]],[1744803745,[14,13,1]],[1744803746,[11,11,0]],[1744803747,[13,13,0]],[1744803748,[7,7,0]],[1744803749,[11,11,0]],[1744803750,[5,5,0]],[1744803751,[17,6,11]],[1744803752,[5,3,2]],[1744803753,[7,3,4]],[1744803754,[5,0,5]],[1744803755,[16,4,12]],[1744803756,[6,1,5]],[1744803757,[3,1,2]],[1744803758,[2,0,2]],[1744803759,[5,0,5]],[1744803760,[5,2,3]],[1744803761,[7,1,6]],[1744803762,[1,0,1]],[1744803763,[1,1,0]],[1744803764,[1,0,1]],[1744803765,[3,1,2]],[1744803766,[0,0,0]],[1744803767,[0,0,0]],[1744803768,[0,0,0]],[1744803769,[1,1,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: 4340.0, color: '#68b65c'},{name: 'KO', y: 24488.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
- });
- });
- </script>
- </div>
- </body>
- </html>
|