You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bowl_in/Sources/API/gatling/results/Gin-Simulation/req_get-user-00551.html

883 lines
28 KiB

<!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 - Get User</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
<div class="gatling-open-source">
<a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
<a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
</div>
<a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
<div class="nav">
<ul></ul>
</div>
<div class="cadre">
<div class="content">
<div class="content-header">
<div class="onglet">
UserSimulation
</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="repli"></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="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_get-user-00551'].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: ['44', '129', '214', '300', '385', '471', '556', '641', '727', '812', '897', '983', '1068', '1154', '1239', '1324', '1410', '1495', '1581', '1666', '1751', '1837', '1922', '2007', '2093', '2178', '2264', '2349', '2434', '2520', '2605', '2690', '2776', '2861', '2947', '3032', '3117', '3203', '3288', '3374', '3459', '3544', '3630', '3715', '3800', '3886', '3971', '4057', '4142', '4227', '4313', '4398', '4483', '4569', '4654', '4740', '4825', '4910', '4996', '5081', '5166', '5252', '5337', '5423', '5508', '5593', '5679', '5764', '5850', '5935', '6020', '6106', '6191', '6276', '6362', '6447', '6533', '6618', '6703', '6789', '6874', '6959', '7045', '7130', '7216', '7301', '7386', '7472', '7557', '7643', '7728', '7813', '7899', '7984', '8069', '8155', '8240', '8326', '8411', '8496'],
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: [
32.91,5.54,5.31,4.07,2.48,1.13,0.9,1.35,1.69,1.35,0.67,1.01,1.47,1.58,1.35,1.13,0.67,0.45,0.79,0.67,0.9,0.22,0.67,0.22,1.13,0.33,0.79,0.9,0.11,0.45,0.22,0.0,0.11,0.33,0.79,0.56,1.01,1.13,0.45,0.67,0.67,1.13,0.67,0.22,0.22,1.24,0.45,0.56,0.67,0.67,1.01,1.01,1.8,1.01,0.79,0.79,0.45,1.01,0.67,0.45,0.45,0.22,0.22,0.11,0.0,0.0,0.0,0.22,0.33,0.11,0.0,0.11,0.22,0.22,0.45,0.22,0.0,0.56,0.22,0.22,0.22,0.33,0.56,0.45,0.11,0.11,0.33,0.0,0.22,0.11,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.11,0.0,0.11
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
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.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,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.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' }
}
]
});
responsetimeDistributionChart.setTitle({
text: '<span class="chart_title">Response Time Distribution</span>',
useHTML: true
});
var responsetimepercentilesovertimeokPercentiles = unpack([[1675698432,null],[1675698433,[2,2,3,5,7,32,103,105,113,116]],[1675698434,[1,2,3,3,3,3,4,5,66,123]],[1675698435,[2,2,3,4,6,6,102,161,175,183]],[1675698436,[1,3,5,31,93,129,341,922,1249,1333]],[1675698437,[3,39,311,592,686,769,1302,2149,2381,2508]],[1675698438,[95,1031,1431,1789,1900,1960,2079,2153,2400,2468]],[1675698439,[7,107,2085,3389,3538,3614,3961,4399,4808,4997]],[1675698440,[7,40,76,3157,3171,3191,3416,3769,3872,3898]],[1675698441,[2,100,2943,3415,3499,3590,3714,3920,7689,8291]],[1675698442,[264,5592,6691,7027,7048,7147,7158,7355,7576,7685]],[1675698443,[155,336,378,1817,3744,5670,6026,6120,6195,6214]],[1675698444,[2,40,185,232,242,4701,5006,5310,5405,5460]],[1675698445,[193,4371,4508,4735,4798,4898,5018,7070,7872,8539]],[1675698446,[4022,4298,4591,5952,6350,6455,6574,6940,7404,7520]],[1675698447,null],[1675698448,[1284,1307,1330,1843,1945,2048,2150,2253,2335,2356]],[1675698449,[476,615,623,770,827,1195,2187,3179,3972,4171]],[1675698450,[314,2818,3897,4287,4303,4429,4496,4604,4754,4780]],[1675698451,[1180,3626,4900,5159,5682,5807,5856,6132,6308,6357]],[1675698452,[1723,1727,1732,2635,2815,2996,3176,3357,3501,3538]],[1675698453,[1095,1154,1220,1399,1926,2454,2982,3510,3932,4038]],[1675698454,[1309,2071,2436,2650,2712,2774,2836,2898,2947,2960]],[1675698455,[427,676,1475,1674,1754,1915,2100,2368,2582,2636]],[1675698456,[194,311,368,845,941,1037,1191,1403,1573,1616]],[1675698457,[390,732,1022,1119,1122,1159,1195,1224,1326,1368]],[1675698458,[154,227,453,747,772,801,827,859,938,964]],[1675698459,[1,5,8,105,144,159,255,277,287,290]],[1675698460,[2,6,21,231,231,231,236,241,245,246]],[1675698461,null],[1675698462,null],[1675698463,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([[1675698432,[0,0,0]],[1675698433,[26,26,0]],[1675698434,[50,50,0]],[1675698435,[61,61,0]],[1675698436,[82,82,0]],[1675698437,[76,76,0]],[1675698438,[68,68,0]],[1675698439,[38,38,0]],[1675698440,[17,17,0]],[1675698441,[87,87,0]],[1675698442,[39,39,0]],[1675698443,[8,8,0]],[1675698444,[48,48,0]],[1675698445,[61,61,0]],[1675698446,[14,14,0]],[1675698447,[0,0,0]],[1675698448,[3,3,0]],[1675698449,[7,7,0]],[1675698450,[34,34,0]],[1675698451,[37,37,0]],[1675698452,[3,3,0]],[1675698453,[5,5,0]],[1675698454,[4,4,0]],[1675698455,[10,10,0]],[1675698456,[9,9,0]],[1675698457,[35,35,0]],[1675698458,[26,26,0]],[1675698459,[28,28,0]],[1675698460,[8,8,0]],[1675698461,[0,0,0]],[1675698462,[0,0,0]],[1675698463,[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([[1675698432,[0,0,0]],[1675698433,[26,26,0]],[1675698434,[50,50,0]],[1675698435,[56,56,0]],[1675698436,[76,76,0]],[1675698437,[71,71,0]],[1675698438,[21,21,0]],[1675698439,[40,40,0]],[1675698440,[45,45,0]],[1675698441,[52,52,0]],[1675698442,[3,3,0]],[1675698443,[24,24,0]],[1675698444,[70,70,0]],[1675698445,[23,23,0]],[1675698446,[2,2,0]],[1675698447,[3,3,0]],[1675698448,[10,10,0]],[1675698449,[58,58,0]],[1675698450,[49,49,0]],[1675698451,[1,1,0]],[1675698452,[11,11,0]],[1675698453,[11,11,0]],[1675698454,[26,26,0]],[1675698455,[15,15,0]],[1675698456,[24,24,0]],[1675698457,[24,24,0]],[1675698458,[32,32,0]],[1675698459,[53,53,0]],[1675698460,[8,8,0]],[1675698461,[0,0,0]],[1675698462,[0,0,0]],[1675698463,[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: 884.0, color: '#68b65c'},{name: 'KO', y: 0.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: [
[9,2253],[10,3357],[26,6120],[31,3510],[45,6940],[51,1403],[54,3179],[57,2898],[76,105],[90,859],[90,277],[96,2368],[108,241],[109,5310],[121,6132],[131,1224],[133,7355],[136,5],[136,4399],[145,3769],[167,7070],[182,4604],[208,161],[239,2153],[242,3920],[246,922],[265,2149]
]},
{
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[]
]}
]
});
scatterChart.setTitle({
text: '<span class="chart_title">Response Time against Global Throughput</span>',
useHTML: true
});
});
</script>
</div>
</body>
</html>