123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970 |
- <!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">9180</td>
- <td class="value error-col-3 total ko">46.84%</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">1</span></td>
- <td class="value error-col-2 total ko">2604</td>
- <td class="value error-col-3 total ko">13.29%</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">2</span></td>
- <td class="value error-col-2 total ko">2573</td>
- <td class="value error-col-3 total ko">13.13%</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">3</span></td>
- <td class="value error-col-2 total ko">2504</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">4</span></td>
- <td class="value error-col-2 total ko">2431</td>
- <td class="value error-col-3 total ko">12.4%</td>
- </tr>
- <tr>
- <td class="error-col-1 total ko">j.n.BindException: Address already in use: getsockopt<span class="value" style="display:none">5</span></td>
- <td class="value error-col-2 total ko">173</td>
- <td class="value error-col-3 total ko">0.88%</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">6</span></td>
- <td class="value error-col-2 total ko">124</td>
- <td class="value error-col-3 total ko">0.63%</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">6</td>
- <td class="value error-col-3 total ko">0.03%</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">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: ['596', '1193', '1790', '2387', '2984', '3581', '4178', '4775', '5372', '5969', '6566', '7164', '7761', '8358', '8955', '9552', '10149', '10746', '11343', '11940', '12537', '13134', '13732', '14329', '14926', '15523', '16120', '16717', '17314', '17911', '18508', '19105', '19702', '20300', '20897', '21494', '22091', '22688', '23285', '23882', '24479', '25076', '25673', '26270', '26868', '27465', '28062', '28659', '29256', '29853', '30450', '31047', '31644', '32241', '32838', '33435', '34033', '34630', '35227', '35824', '36421', '37018', '37615', '38212', '38809', '39406', '40003', '40601', '41198', '41795', '42392', '42989', '43586', '44183', '44780', '45377', '45974', '46571', '47169', '47766', '48363', '48960', '49557', '50154', '50751', '51348', '51945', '52542', '53139', '53737', '54334', '54931', '55528', '56125', '56722', '57319', '57916', '58513', '59110', '59707'],
- 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.0,0.19,0.46,0.13,0.02,0.0,0.23,0.68,0.51,2.1,2.52,2.0,1.76,2.14,1.98,0.26,0.16,0.07,0.06,0.09,0.42,0.3,0.09,0.08,0.03,0.02,0.03,0.12,0.16,0.14,0.13,0.12,0.15,0.26,0.24,0.33,0.41,0.18,0.28,0.2,0.23,0.13,0.12,0.1,0.1,0.07,0.08,0.06,0.06,0.1,0.18,0.15,0.2,0.08,0.04,0.1,0.08,0.08,0.03,0.02,0.0,0.04,0.03,0.03,0.06,0.02,0.02,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.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: [
- 3.06,3.54,2.35,5.83,12.74,1.69,0.26,6.08,0.72,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.21,0.14,0.05,0.0,0.0,0.0,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.14,0.1,0.0,0.12,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.02,0.08,0.0,0.04,0.0,0.88,0.51,0.56,0.36,0.0,0.0,0.02,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.34,16.01,15.88,4.91,1.48,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,0.04
- ],
- tooltip: { yDecimals: 0, ySuffix: 'ms' }
- }
- ]
- });
- responsetimeDistributionChart.setTitle({
- text: '<span class="chart_title">Response Time Distribution</span>',
- useHTML: true
- });
- var responsetimepercentilesovertimeokPercentiles = unpack([[1744913729,[1394,7380,8201,8741,9475,10623,10830,10879,11760,17148]],[1744913730,[7673,9130,9858,10397,10436,10645,11113,12643,27775,41121]],[1744913731,[8484,22464,24488,28651,30615,32371,33529,35993,40156,51108]],[1744913732,[8629,14924,23047,29145,32393,33422,35292,39401,42204,47120]],[1744913733,[8517,19269,23860,32304,32922,33540,35689,38546,47111,59346]],[1744913734,[14656,20166,23555,33593,34629,35306,38739,39718,40335,40335]],[1744913735,null],[1744913736,null],[1744913737,null],[1744913738,null],[1744913739,null],[1744913740,null],[1744913741,null],[1744913742,null],[1744913743,null],[1744913744,null],[1744913745,null],[1744913746,null],[1744913747,null],[1744913748,null],[1744913749,null],[1744913750,null],[1744913751,null],[1744913752,null],[1744913753,null],[1744913754,null],[1744913755,null],[1744913756,null],[1744913757,null],[1744913758,null],[1744913759,null],[1744913760,null],[1744913761,null],[1744913762,null],[1744913763,null],[1744913764,null],[1744913765,null],[1744913766,null],[1744913767,null],[1744913768,null],[1744913769,null],[1744913770,null],[1744913771,null],[1744913772,null],[1744913773,null],[1744913774,null],[1744913775,null],[1744913776,null],[1744913777,null],[1744913778,null],[1744913779,null],[1744913780,null],[1744913781,null],[1744913782,null],[1744913783,null],[1744913784,null],[1744913785,null],[1744913786,null],[1744913787,null],[1744913788,null],[1744913789,null],[1744913790,null],[1744913791,null],[1744913792,null],[1744913793,null],[1744913794,null],[1744913795,null],[1744913796,null],[1744913797,null],[1744913798,null],[1744913799,null],[1744913800,null],[1744913801,null],[1744913802,null],[1744913803,null],[1744913804,null],[1744913805,null],[1744913806,null],[1744913807,null],[1744913808,null],[1744913809,null],[1744913810,null],[1744913811,null],[1744913812,null],[1744913813,null],[1744913814,null],[1744913815,null],[1744913816,null],[1744913817,null],[1744913818,null],[1744913819,null],[1744913820,null],[1744913821,null],[1744913822,null],[1744913823,null],[1744913824,null],[1744913825,null],[1744913826,null],[1744913827,null],[1744913828,null],[1744913829,null],[1744913830,null],[1744913831,null],[1744913832,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([[1744913729,[2192,2192,0]],[1744913730,[1775,1725,50]],[1744913731,[5157,705,4452]],[1744913732,[3397,408,2989]],[1744913733,[4456,339,4117]],[1744913734,[5924,31,5893]],[1744913735,[1333,0,1333]],[1744913736,[766,0,766]],[1744913737,[0,0,0]],[1744913738,[0,0,0]],[1744913739,[0,0,0]],[1744913740,[0,0,0]],[1744913741,[0,0,0]],[1744913742,[0,0,0]],[1744913743,[0,0,0]],[1744913744,[0,0,0]],[1744913745,[0,0,0]],[1744913746,[0,0,0]],[1744913747,[0,0,0]],[1744913748,[0,0,0]],[1744913749,[0,0,0]],[1744913750,[0,0,0]],[1744913751,[0,0,0]],[1744913752,[0,0,0]],[1744913753,[0,0,0]],[1744913754,[0,0,0]],[1744913755,[0,0,0]],[1744913756,[0,0,0]],[1744913757,[0,0,0]],[1744913758,[0,0,0]],[1744913759,[0,0,0]],[1744913760,[0,0,0]],[1744913761,[0,0,0]],[1744913762,[0,0,0]],[1744913763,[0,0,0]],[1744913764,[0,0,0]],[1744913765,[0,0,0]],[1744913766,[0,0,0]],[1744913767,[0,0,0]],[1744913768,[0,0,0]],[1744913769,[0,0,0]],[1744913770,[0,0,0]],[1744913771,[0,0,0]],[1744913772,[0,0,0]],[1744913773,[0,0,0]],[1744913774,[0,0,0]],[1744913775,[0,0,0]],[1744913776,[0,0,0]],[1744913777,[0,0,0]],[1744913778,[0,0,0]],[1744913779,[0,0,0]],[1744913780,[0,0,0]],[1744913781,[0,0,0]],[1744913782,[0,0,0]],[1744913783,[0,0,0]],[1744913784,[0,0,0]],[1744913785,[0,0,0]],[1744913786,[0,0,0]],[1744913787,[0,0,0]],[1744913788,[0,0,0]],[1744913789,[0,0,0]],[1744913790,[0,0,0]],[1744913791,[0,0,0]],[1744913792,[0,0,0]],[1744913793,[0,0,0]],[1744913794,[0,0,0]],[1744913795,[0,0,0]],[1744913796,[0,0,0]],[1744913797,[0,0,0]],[1744913798,[0,0,0]],[1744913799,[0,0,0]],[1744913800,[0,0,0]],[1744913801,[0,0,0]],[1744913802,[0,0,0]],[1744913803,[0,0,0]],[1744913804,[0,0,0]],[1744913805,[0,0,0]],[1744913806,[0,0,0]],[1744913807,[0,0,0]],[1744913808,[0,0,0]],[1744913809,[0,0,0]],[1744913810,[0,0,0]],[1744913811,[0,0,0]],[1744913812,[0,0,0]],[1744913813,[0,0,0]],[1744913814,[0,0,0]],[1744913815,[0,0,0]],[1744913816,[0,0,0]],[1744913817,[0,0,0]],[1744913818,[0,0,0]],[1744913819,[0,0,0]],[1744913820,[0,0,0]],[1744913821,[0,0,0]],[1744913822,[0,0,0]],[1744913823,[0,0,0]],[1744913824,[0,0,0]],[1744913825,[0,0,0]],[1744913826,[0,0,0]],[1744913827,[0,0,0]],[1744913828,[0,0,0]],[1744913829,[0,0,0]],[1744913830,[0,0,0]],[1744913831,[0,0,0]],[1744913832,[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([[1744913729,[0,0,0]],[1744913730,[1,1,0]],[1744913731,[12,12,0]],[1744913732,[57,57,0]],[1744913733,[141,141,0]],[1744913734,[9,9,0]],[1744913735,[122,122,0]],[1744913736,[4178,142,4036]],[1744913737,[3752,636,3116]],[1744913738,[1826,813,1013]],[1744913739,[1518,606,912]],[1744913740,[899,899,0]],[1744913741,[386,323,63]],[1744913742,[113,71,42]],[1744913743,[12,12,0]],[1744913744,[9,9,0]],[1744913745,[38,38,0]],[1744913746,[82,82,0]],[1744913747,[83,83,0]],[1744913748,[38,38,0]],[1744913749,[26,20,6]],[1744913750,[52,52,0]],[1744913751,[72,49,23]],[1744913752,[83,46,37]],[1744913753,[89,89,0]],[1744913754,[107,107,0]],[1744913755,[188,156,32]],[1744913756,[131,127,4]],[1744913757,[79,77,2]],[1744913758,[71,70,1]],[1744913759,[56,47,9]],[1744913760,[64,51,13]],[1744913761,[185,37,148]],[1744913762,[143,29,114]],[1744913763,[119,33,86]],[1744913764,[142,39,103]],[1744913765,[227,71,156]],[1744913766,[40,39,1]],[1744913767,[50,47,3]],[1744913768,[25,25,0]],[1744913769,[21,21,0]],[1744913770,[12,12,0]],[1744913771,[771,16,755]],[1744913772,[2934,16,2918]],[1744913773,[2855,9,2846]],[1744913774,[2499,8,2491]],[1744913775,[653,2,651]],[1744913776,[3,3,0]],[1744913777,[3,2,1]],[1744913778,[1,0,1]],[1744913779,[1,1,0]],[1744913780,[3,1,2]],[1744913781,[3,0,3]],[1744913782,[1,1,0]],[1744913783,[1,0,1]],[1744913784,[0,0,0]],[1744913785,[0,0,0]],[1744913786,[0,0,0]],[1744913787,[0,0,0]],[1744913788,[1,1,0]],[1744913789,[1,1,0]],[1744913790,[1,0,1]],[1744913791,[6,0,6]],[1744913792,[3,1,2]],[1744913793,[2,0,2]],[1744913794,[0,0,0]],[1744913795,[0,0,0]],[1744913796,[0,0,0]],[1744913797,[0,0,0]],[1744913798,[0,0,0]],[1744913799,[0,0,0]],[1744913800,[0,0,0]],[1744913801,[0,0,0]],[1744913802,[0,0,0]],[1744913803,[0,0,0]],[1744913804,[0,0,0]],[1744913805,[0,0,0]],[1744913806,[0,0,0]],[1744913807,[0,0,0]],[1744913808,[0,0,0]],[1744913809,[0,0,0]],[1744913810,[0,0,0]],[1744913811,[0,0,0]],[1744913812,[0,0,0]],[1744913813,[0,0,0]],[1744913814,[0,0,0]],[1744913815,[0,0,0]],[1744913816,[0,0,0]],[1744913817,[0,0,0]],[1744913818,[0,0,0]],[1744913819,[0,0,0]],[1744913820,[0,0,0]],[1744913821,[0,0,0]],[1744913822,[0,0,0]],[1744913823,[0,0,0]],[1744913824,[0,0,0]],[1744913825,[0,0,0]],[1744913826,[0,0,0]],[1744913827,[0,0,0]],[1744913828,[0,0,0]],[1744913829,[0,0,0]],[1744913830,[0,0,0]],[1744913831,[0,0,0]],[1744913832,[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: 5400.0, color: '#68b65c'},{name: 'KO', y: 19600.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: [
- [1775,12643],[2192,10879],[3562,39401],[4882,38546],[5196,35993],[5954,39718]
- ]},
- {
- type: 'scatter',
- color: '#f15b4f',
- name: 'KO',
- data: [
- [1198,640],[1693,4016],[1775,41184],[3562,42081],[4882,41653],[5196,42054],[5954,19870]
- ]}
- ]
- });
- scatterChart.setTitle({
- text: '<span class="chart_title">Response Time against Global Throughput</span>',
- useHTML: true
- });
- });
- </script>
- </div>
- </body>
- </html>
|