1890 lines
41 KiB
HTML
1890 lines
41 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Artillery report</title>
|
|
<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
|
|
<script src='https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.0/d3.min.js' charset='utf-8'></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.6.0/metricsgraphics.min.css" />
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.6.0/metricsgraphics.min.js"></script>
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700' rel='stylesheet' type='text/css'>
|
|
<link href='https://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
|
|
<link href='https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css' rel='stylesheet' type='text/css'>
|
|
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js" charset="utf-8"></script>
|
|
|
|
<style>
|
|
body, p, li {
|
|
font-family: sans-serif;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 18pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#errorsContainer > p {
|
|
color: #009900;
|
|
}
|
|
|
|
#footer {
|
|
padding: 1em;
|
|
font-size: 0.8em;
|
|
color: #999;
|
|
text-align: center;
|
|
margin-top: 1em;
|
|
background-color: #eee;
|
|
}
|
|
#editor {
|
|
font-size: 8pt;
|
|
height: 20em;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
window.Report = {
|
|
"aggregate": {
|
|
"timestamp": "2021-02-06T19:01:13.767Z",
|
|
"scenariosCreated": 360,
|
|
"scenariosCompleted": 360,
|
|
"requestsCompleted": 360,
|
|
"latency": {
|
|
"min": 293.1,
|
|
"max": 423.5,
|
|
"median": 313,
|
|
"p95": 364.8,
|
|
"p99": 374.3
|
|
},
|
|
"rps": {
|
|
"count": 360,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 295.1,
|
|
"max": 434.9,
|
|
"median": 315.8,
|
|
"p95": 369,
|
|
"p99": 379.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 360
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 360
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"scenariosAvoided": 0,
|
|
"phases": [
|
|
{
|
|
"duration": 360,
|
|
"arrivalRate": 1,
|
|
"name": "Warm up"
|
|
}
|
|
]
|
|
},
|
|
"intermediate": [
|
|
{
|
|
"timestamp": "2021-02-06T18:55:23.243Z",
|
|
"scenariosCreated": 9,
|
|
"scenariosCompleted": 9,
|
|
"requestsCompleted": 9,
|
|
"latency": {
|
|
"min": 315.3,
|
|
"max": 368.9,
|
|
"median": 324.7,
|
|
"p95": 368.9,
|
|
"p99": 368.9
|
|
},
|
|
"rps": {
|
|
"count": 9,
|
|
"mean": 1.01
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 322.4,
|
|
"max": 379.5,
|
|
"median": 339.7,
|
|
"p95": 379.5,
|
|
"p99": 379.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 9
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 9
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:55:33.243Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 307.4,
|
|
"max": 362,
|
|
"median": 322.7,
|
|
"p95": 362,
|
|
"p99": 362
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 314.3,
|
|
"max": 387.3,
|
|
"median": 329.5,
|
|
"p95": 387.3,
|
|
"p99": 387.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:55:43.235Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 307.5,
|
|
"max": 423.5,
|
|
"median": 315.7,
|
|
"p95": 423.5,
|
|
"p99": 423.5
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 312.3,
|
|
"max": 434.9,
|
|
"median": 320.6,
|
|
"p95": 434.9,
|
|
"p99": 434.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:55:53.235Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 298.9,
|
|
"max": 358.3,
|
|
"median": 317.5,
|
|
"p95": 358.3,
|
|
"p99": 358.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 301.1,
|
|
"max": 360.6,
|
|
"median": 320.8,
|
|
"p95": 360.6,
|
|
"p99": 360.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:03.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 304.7,
|
|
"max": 328.7,
|
|
"median": 315,
|
|
"p95": 328.7,
|
|
"p99": 328.7
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 306.9,
|
|
"max": 331.6,
|
|
"median": 317.1,
|
|
"p95": 331.6,
|
|
"p99": 331.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:13.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 294.8,
|
|
"max": 364.1,
|
|
"median": 309,
|
|
"p95": 364.1,
|
|
"p99": 364.1
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.6,
|
|
"max": 365.9,
|
|
"median": 311.9,
|
|
"p95": 365.9,
|
|
"p99": 365.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:23.230Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 304.9,
|
|
"max": 362.9,
|
|
"median": 317.3,
|
|
"p95": 362.9,
|
|
"p99": 362.9
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 306.8,
|
|
"max": 365.1,
|
|
"median": 319.3,
|
|
"p95": 365.1,
|
|
"p99": 365.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:33.232Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 297.3,
|
|
"max": 353.3,
|
|
"median": 312.4,
|
|
"p95": 353.3,
|
|
"p99": 353.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 300.2,
|
|
"max": 355.7,
|
|
"median": 315.3,
|
|
"p95": 355.7,
|
|
"p99": 355.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:43.231Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 295.1,
|
|
"max": 334.3,
|
|
"median": 315.5,
|
|
"p95": 334.3,
|
|
"p99": 334.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.4,
|
|
"max": 336.8,
|
|
"median": 317.7,
|
|
"p95": 336.8,
|
|
"p99": 336.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:56:53.229Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300.5,
|
|
"max": 370,
|
|
"median": 312.6,
|
|
"p95": 370,
|
|
"p99": 370
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302.4,
|
|
"max": 371.7,
|
|
"median": 314.4,
|
|
"p95": 371.7,
|
|
"p99": 371.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:03.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300.2,
|
|
"max": 356.5,
|
|
"median": 316.8,
|
|
"p95": 356.5,
|
|
"p99": 356.5
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302,
|
|
"max": 358.2,
|
|
"median": 318.6,
|
|
"p95": 358.2,
|
|
"p99": 358.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:13.233Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 297.4,
|
|
"max": 333.9,
|
|
"median": 308.7,
|
|
"p95": 333.9,
|
|
"p99": 333.9
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 299.4,
|
|
"max": 335.9,
|
|
"median": 311.9,
|
|
"p95": 335.9,
|
|
"p99": 335.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:23.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 301.5,
|
|
"max": 369,
|
|
"median": 312.7,
|
|
"p95": 369,
|
|
"p99": 369
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 304.8,
|
|
"max": 371.7,
|
|
"median": 315.9,
|
|
"p95": 371.7,
|
|
"p99": 371.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:33.227Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 297.3,
|
|
"max": 325.7,
|
|
"median": 312.5,
|
|
"p95": 325.7,
|
|
"p99": 325.7
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 298.8,
|
|
"max": 327.7,
|
|
"median": 314.3,
|
|
"p95": 327.7,
|
|
"p99": 327.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:43.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 301.1,
|
|
"max": 374.3,
|
|
"median": 313.9,
|
|
"p95": 374.3,
|
|
"p99": 374.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302.8,
|
|
"max": 377.1,
|
|
"median": 315.7,
|
|
"p95": 377.1,
|
|
"p99": 377.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:57:53.227Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 301.1,
|
|
"max": 333.9,
|
|
"median": 310.7,
|
|
"p95": 333.9,
|
|
"p99": 333.9
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302.7,
|
|
"max": 335.6,
|
|
"median": 312.6,
|
|
"p95": 335.6,
|
|
"p99": 335.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:03.227Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 298.9,
|
|
"max": 370,
|
|
"median": 318.3,
|
|
"p95": 370,
|
|
"p99": 370
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 300.6,
|
|
"max": 371.6,
|
|
"median": 319.9,
|
|
"p95": 371.6,
|
|
"p99": 371.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:13.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 297,
|
|
"max": 377.7,
|
|
"median": 315.1,
|
|
"p95": 377.7,
|
|
"p99": 377.7
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 298.7,
|
|
"max": 379.3,
|
|
"median": 316.8,
|
|
"p95": 379.3,
|
|
"p99": 379.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:23.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 299.2,
|
|
"max": 317.7,
|
|
"median": 307.8,
|
|
"p95": 317.7,
|
|
"p99": 317.7
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 300.8,
|
|
"max": 319.3,
|
|
"median": 309.6,
|
|
"p95": 319.3,
|
|
"p99": 319.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:33.229Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300.1,
|
|
"max": 376.3,
|
|
"median": 319.4,
|
|
"p95": 376.3,
|
|
"p99": 376.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 301.8,
|
|
"max": 377.9,
|
|
"median": 321.3,
|
|
"p95": 377.9,
|
|
"p99": 377.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:43.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 302.5,
|
|
"max": 353.2,
|
|
"median": 307.5,
|
|
"p95": 353.2,
|
|
"p99": 353.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 305,
|
|
"max": 355.5,
|
|
"median": 309.4,
|
|
"p95": 355.5,
|
|
"p99": 355.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:58:53.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 295.7,
|
|
"max": 365.3,
|
|
"median": 311.7,
|
|
"p95": 365.3,
|
|
"p99": 365.3
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.4,
|
|
"max": 366.9,
|
|
"median": 314.1,
|
|
"p95": 366.9,
|
|
"p99": 366.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:03.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 297.7,
|
|
"max": 370,
|
|
"median": 304,
|
|
"p95": 370,
|
|
"p99": 370
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 299.2,
|
|
"max": 371.7,
|
|
"median": 305.6,
|
|
"p95": 371.7,
|
|
"p99": 371.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:13.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 295.7,
|
|
"max": 320.2,
|
|
"median": 313.5,
|
|
"p95": 320.2,
|
|
"p99": 320.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.6,
|
|
"max": 321.7,
|
|
"median": 315.2,
|
|
"p95": 321.7,
|
|
"p99": 321.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:23.229Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300,
|
|
"max": 361.8,
|
|
"median": 316.8,
|
|
"p95": 361.8,
|
|
"p99": 361.8
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 301.5,
|
|
"max": 363.5,
|
|
"median": 318.5,
|
|
"p95": 363.5,
|
|
"p99": 363.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:33.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 299.7,
|
|
"max": 325.8,
|
|
"median": 309.9,
|
|
"p95": 325.8,
|
|
"p99": 325.8
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 301.3,
|
|
"max": 328.2,
|
|
"median": 311.6,
|
|
"p95": 328.2,
|
|
"p99": 328.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:43.230Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 298.1,
|
|
"max": 367.5,
|
|
"median": 311.2,
|
|
"p95": 367.5,
|
|
"p99": 367.5
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 299.9,
|
|
"max": 371.7,
|
|
"median": 313.1,
|
|
"p95": 371.7,
|
|
"p99": 371.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T18:59:53.231Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 294.9,
|
|
"max": 367,
|
|
"median": 311.3,
|
|
"p95": 367,
|
|
"p99": 367
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297,
|
|
"max": 369.9,
|
|
"median": 314.2,
|
|
"p95": 369.9,
|
|
"p99": 369.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:03.227Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 293.1,
|
|
"max": 359.2,
|
|
"median": 309.4,
|
|
"p95": 359.2,
|
|
"p99": 359.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 295.1,
|
|
"max": 361.5,
|
|
"median": 311.4,
|
|
"p95": 361.5,
|
|
"p99": 361.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:13.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 298,
|
|
"max": 354.1,
|
|
"median": 313.8,
|
|
"p95": 354.1,
|
|
"p99": 354.1
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 300.6,
|
|
"max": 355.8,
|
|
"median": 316.1,
|
|
"p95": 355.8,
|
|
"p99": 355.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:23.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300.3,
|
|
"max": 366.2,
|
|
"median": 309.5,
|
|
"p95": 366.2,
|
|
"p99": 366.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302,
|
|
"max": 367.9,
|
|
"median": 311.2,
|
|
"p95": 367.9,
|
|
"p99": 367.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:33.228Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 300.4,
|
|
"max": 373.7,
|
|
"median": 317.5,
|
|
"p95": 373.7,
|
|
"p99": 373.7
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302,
|
|
"max": 375.3,
|
|
"median": 319.5,
|
|
"p95": 375.3,
|
|
"p99": 375.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:43.229Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 296.5,
|
|
"max": 371.2,
|
|
"median": 319.8,
|
|
"p95": 371.2,
|
|
"p99": 371.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 298.1,
|
|
"max": 373.3,
|
|
"median": 321.6,
|
|
"p95": 373.3,
|
|
"p99": 373.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:00:53.241Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 293.9,
|
|
"max": 355.6,
|
|
"median": 309.8,
|
|
"p95": 355.6,
|
|
"p99": 355.6
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 295.6,
|
|
"max": 358.7,
|
|
"median": 312.4,
|
|
"p95": 358.7,
|
|
"p99": 358.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:01:03.236Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 302.2,
|
|
"max": 322.4,
|
|
"median": 309.9,
|
|
"p95": 322.4,
|
|
"p99": 322.4
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 305.1,
|
|
"max": 327.5,
|
|
"median": 314.1,
|
|
"p95": 327.5,
|
|
"p99": 327.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:01:13.233Z",
|
|
"scenariosCreated": 10,
|
|
"scenariosCompleted": 10,
|
|
"requestsCompleted": 10,
|
|
"latency": {
|
|
"min": 301.6,
|
|
"max": 326.2,
|
|
"median": 313,
|
|
"p95": 326.2,
|
|
"p99": 326.2
|
|
},
|
|
"rps": {
|
|
"count": 10,
|
|
"mean": 1
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 307.7,
|
|
"max": 330.9,
|
|
"median": 320.4,
|
|
"p95": 330.9,
|
|
"p99": 330.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 10
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 10
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:01:13.754Z",
|
|
"scenariosCreated": 1,
|
|
"scenariosCompleted": 1,
|
|
"requestsCompleted": 1,
|
|
"latency": {
|
|
"min": 301.7,
|
|
"max": 301.7,
|
|
"median": 301.7,
|
|
"p95": 301.7,
|
|
"p99": 301.7
|
|
},
|
|
"rps": {
|
|
"count": 1,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 308.3,
|
|
"max": 308.3,
|
|
"median": 308.3,
|
|
"p95": 308.3,
|
|
"p99": 308.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 1
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 1
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
}
|
|
]
|
|
};
|
|
</script>
|
|
|
|
<style>
|
|
h1 {
|
|
line-height: 200%;
|
|
}
|
|
|
|
body {
|
|
background-color: #fcfcfc;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
min-width: 960px;
|
|
}
|
|
</style>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row" id="header">
|
|
<div class="col-lg-4 col-lg-offset-4">
|
|
<pre style="font-size: 5pt; background-color: #fcfcfc; border: none;">
|
|
_ _ _ _ _
|
|
__ _ _ __| |_(_) | | ___ _ __ _ _ _ __ ___ _ __ ___ _ __| |_
|
|
/ _` | '__| __| | | |/ _ \ '__| | | | | '__/ _ \ '_ \ / _ \| '__| __|
|
|
| (_| | | | |_| | | | __/ | | |_| | | | | __/ |_) | (_) | | | |_
|
|
\__,_|_| \__|_|_|_|\___|_| \__, | |_| \___| .__/ \___/|_| \__|
|
|
|___/ |_|
|
|
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<h1 class="text-center" id="page-title">Test run on <span id="timestamp">date</span></h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-3">
|
|
<p><strong>Summary</strong></p>
|
|
<table class="table table-bordered table-hover table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td>Test duration</td>
|
|
<td><span id="testDuration">0</span> sec</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Scenarios created</td>
|
|
<td><span id="scenariosCreated">0</span></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Scenarios completed</td>
|
|
<td><span id="scenariosCompleted">0</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-lg-5" id="scenarioCountsContainer">
|
|
<div>
|
|
<strong>Scenario counts:</strong>
|
|
|
|
<p></p>
|
|
|
|
<table class="table table-bordered table-hover table-condensed" id="scenarioCounts">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-1">
|
|
<div id="codesContainer">
|
|
<strong>Codes</strong>
|
|
|
|
<p></p>
|
|
|
|
<table class="table table-bordered table-hover table-condensed" id="codes">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
<div id="errorsContainer">
|
|
<strong>Errors</strong>
|
|
|
|
<p></p>
|
|
|
|
<table class="table table-bordered table-hover table-condensed" id="errors">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div> <!-- /.row -->
|
|
|
|
<div class="row">
|
|
<div class="text-center col-lg-12">
|
|
<h2>Charts</h2>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="latency-histogram text-center col-lg-12"></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="latency text-center col-lg-12"></div>
|
|
</div>
|
|
|
|
<div class="latency-legend"></div>
|
|
|
|
<div class="row">
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="concurrency text-center col-lg-12"></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="rps-mean text-center col-lg-12"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="rps-count text-center col-lg-12"></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="codes-line text-center col-lg-12"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="errors-line text-center col-lg-12"></div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
<h3 class="text-center">Raw report data</h3>
|
|
<p>This is the raw JSON stats output that the report was generated from.</p>
|
|
<div id="editor">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var editor = ace.edit("editor");
|
|
editor.getSession().setMode("ace/mode/javascript");
|
|
editor.setValue(JSON.stringify(Report, null, 2));
|
|
editor.gotoLine(1);editor.setHighlightActiveLine(false);
|
|
|
|
var l = _;
|
|
|
|
$('#timestamp').html(moment(Report.aggregate.timestamp).format('DD MMM YYYY HH:mm:SS'));
|
|
$('#testDuration').html(l.size(Report.intermediate) * 10);
|
|
$('#scenariosCompleted').html(Report.aggregate.scenariosCompleted);
|
|
$('#scenariosCreated').html(Report.aggregate.scenariosCreated);
|
|
|
|
var markers = [];
|
|
if(l.size(Report.phases) > 0) {
|
|
markers = l.foldl(Report.phases, function(acc, phase, index) {
|
|
var label = phase.name || 'Phase ' + (index + 1);
|
|
var timestamp = (index === 0) ? 0 : Report.phases[index - 1].duration + acc[index - 1].timestamp;
|
|
|
|
acc.push({
|
|
timestamp: timestamp,
|
|
label: label
|
|
});
|
|
|
|
return acc;
|
|
}, []);
|
|
}
|
|
|
|
if (l.size(Report.aggregate.scenarioCounts) > 0) {
|
|
l.each(Report.aggregate.scenarioCounts, function(count, name) {
|
|
var $tdName = $('<td>' + name + '</td>');
|
|
var percentage = Math.round(count / Report.aggregate.scenariosCreated * 100 * 1000) / 1000;
|
|
var $tdCount = $('<td>' + count + ' (' + percentage + '%)' + '</td>');
|
|
var $el = $('<tr></tr>')
|
|
.append($tdName)
|
|
.append($tdCount)
|
|
.appendTo($('#scenarioCounts'));
|
|
});
|
|
} else {
|
|
$('#scenarioCountsContainer').hide();
|
|
}
|
|
|
|
if (l.size(Report.aggregate.codes) > 0) {
|
|
l.each(Report.aggregate.codes, function(count, code) {
|
|
var anchor = '';
|
|
if (code >= 100 && code < 200) {
|
|
anchor = '#1xx_Informational';
|
|
} else if (code >= 200 && code < 300) {
|
|
anchor = '#2xx_Success';
|
|
} else if (code >= 300 && code < 400) {
|
|
anchor = '#3xx_Redirection';
|
|
} else if (code >= 400 && code < 500) {
|
|
anchor = '#4xx_Client_Error';
|
|
} else if (code >= 500 && code < 600) {
|
|
anchor = '#5xx_Server_Error';
|
|
}
|
|
|
|
var $a = $('<a>' + code + '</a>').attr('href', 'https://en.wikipedia.org/wiki/List_of_HTTP_status_codes' + anchor);
|
|
var $td = $('<td></td>').append($a);
|
|
var $el = $('<tr></tr>')
|
|
.append($td)
|
|
.append($('<td>' + count + '</td>'))
|
|
.appendTo($('#codes'));
|
|
});
|
|
} else {
|
|
$('#codesContainer').hide();
|
|
}
|
|
|
|
if (l.size(Report.aggregate.errors) > 0) {
|
|
l.each(Report.aggregate.errors, function(count, code) {
|
|
var $el = $('<tr></tr>')
|
|
.append($('<td>' + code + '</td>'))
|
|
.append($('<td>' + count + '</td>'))
|
|
.appendTo($('#errors'));
|
|
});
|
|
} else {
|
|
$('#errorsContainer > p').html('✔ Test completed without network or OS errors.');
|
|
}
|
|
|
|
var histogramData = l.map(Report.aggregate.latency, function(v, k) { return {bin: k, value: v} });
|
|
|
|
MG.data_graphic({
|
|
chart_type: 'bar',
|
|
x_label: 'Percentile',
|
|
y_label: '(ms)',
|
|
animate_on_load: true,
|
|
title: 'Overall Latency Distribution',
|
|
description: 'Distribution of all observed response latencies',
|
|
target: '.latency-histogram',
|
|
data: histogramData,
|
|
x_accessor: 'bin',
|
|
y_accessor: 'value',
|
|
binned: true,
|
|
height: 250,
|
|
interpolate: 'monotone',
|
|
padding_percentage: 0,
|
|
bar_orientation: 'vertical',
|
|
width: 450
|
|
});
|
|
|
|
var chartData = l.map(
|
|
window.Report.intermediate,
|
|
function(o,i) {
|
|
return {
|
|
timestamp: i*10+10,
|
|
|
|
rpsMean: o.rps.mean,
|
|
rpsCount: o.rps.count,
|
|
concurrency: o.concurrency,
|
|
latencyMax: o.latency.max,
|
|
latencyp99: o.latency.p99,
|
|
latencyp95: o.latency.p95,
|
|
latencyMedian: o.latency.median,
|
|
latencyMin: o.latency.min
|
|
}
|
|
});
|
|
|
|
//
|
|
// Response codes
|
|
//
|
|
|
|
if (l.size(Report.aggregate.codes) > 0) {
|
|
var codesData = l.foldl(Report.intermediate, function(acc, o, i) {
|
|
var res = {};
|
|
res.timestamp = i*10+10;
|
|
l.each(o.codes, function(count, code) {
|
|
res[code] = count;
|
|
});
|
|
acc.push(res);
|
|
return acc;
|
|
}, []);
|
|
var uniqueCodes = l.foldl(Report.intermediate, function(acc, o) {
|
|
l.each(o.codes, function(count, code) {
|
|
if (l.indexOf(acc, code) === -1) {
|
|
acc.push(code);
|
|
}
|
|
});
|
|
return acc;
|
|
}, []);
|
|
|
|
MG.data_graphic({
|
|
x_label: 'Time',
|
|
y_label: 'Count',
|
|
title: 'HTTP codes',
|
|
description: 'Occurence of HTTP response codes',
|
|
target: '.codes-line',
|
|
data: codesData,
|
|
x_accessor: 'timestamp',
|
|
y_accessor: uniqueCodes,
|
|
legend: uniqueCodes,
|
|
right: 50,
|
|
chart_type: 'line',
|
|
area: false,
|
|
markers: markers,
|
|
width: 900
|
|
});
|
|
}
|
|
|
|
//
|
|
// Errors
|
|
//
|
|
|
|
if (l.size(Report.aggregate.errors) > 0) {
|
|
var errorData = l.foldl(Report.intermediate, function(acc, o, i) {
|
|
var res = {};
|
|
res.timestamp = i*10+10;
|
|
l.each(o.errors, function(count, name) {
|
|
res[name] = count;
|
|
});
|
|
acc.push(res);
|
|
return acc;
|
|
}, []);
|
|
var uniqueErrors = l.foldl(Report.intermediate, function(acc, o) {
|
|
l.each(o.errors, function(count, name) {
|
|
if (l.indexOf(acc, name) === -1) {
|
|
acc.push(name);
|
|
}
|
|
});
|
|
return acc;
|
|
}, []);
|
|
|
|
MG.data_graphic({
|
|
title: 'Error Codes',
|
|
description: 'Occurence of error codes',
|
|
target: '.errors-line',
|
|
data: errorData,
|
|
x_accessor: 'timestamp',
|
|
y_accessor: uniqueErrors,
|
|
chart_type: 'line',
|
|
area: false,
|
|
markers: markers
|
|
});
|
|
|
|
}
|
|
|
|
//
|
|
// Latency
|
|
//
|
|
MG.data_graphic({
|
|
chart_type: 'line',
|
|
x_label: 'Time',
|
|
y_label: '(ms)',
|
|
animate_on_load: true,
|
|
area: false,
|
|
title: "Latency At Intervals",
|
|
description: "Latency values at different points during the test run",
|
|
data: chartData,
|
|
target: '.latency',
|
|
width: 900,
|
|
x_accessor: 'timestamp',
|
|
y_accessor: ['latencyMin', 'latencyMedian', 'latencyp95', 'latencyMax'],
|
|
legend: ['min', 'p50', 'p95', 'max'],
|
|
//legend_target: '.latency-legend',
|
|
right: 50,
|
|
interpolate: 'monotone',
|
|
mouseover: function(d, i) {
|
|
},
|
|
markers: markers
|
|
});
|
|
|
|
MG.data_graphic({
|
|
animate_on_load: true,
|
|
area: false,
|
|
y_label: 'Count',
|
|
x_label: 'Time',
|
|
title: 'Concurrent users',
|
|
description: 'Concurrent users',
|
|
data: chartData,
|
|
target: '.concurrency',
|
|
x_accessor: 'timestamp',
|
|
y_accessor: ['concurrency'],
|
|
interpolate: 'monotone',
|
|
markers: markers,
|
|
width: 900
|
|
});
|
|
|
|
MG.data_graphic({
|
|
animate_on_load: true,
|
|
area: false,
|
|
y_label: 'Count',
|
|
x_label: 'Time',
|
|
title: 'Mean RPS',
|
|
description: 'Mean requests per second',
|
|
data: chartData,
|
|
target: '.rps-mean',
|
|
x_accessor: 'timestamp',
|
|
y_accessor: ['rpsMean'],
|
|
interpolate: 'monotone',
|
|
markers: markers,
|
|
width: 900
|
|
});
|
|
|
|
MG.data_graphic({
|
|
animate_on_load: true,
|
|
area: false,
|
|
y_label: 'Count',
|
|
x_label: 'Time',
|
|
title: 'RPS Count',
|
|
description: 'Count of requests per second',
|
|
data: chartData,
|
|
target: '.rps-count',
|
|
x_accessor: 'timestamp',
|
|
y_accessor: ['rpsCount'],
|
|
interpolate: 'monotone',
|
|
markers: markers,
|
|
width: 900
|
|
});
|
|
</script>
|
|
<div id="footer">
|
|
<footer>This report was created with <a href="https://artillery.io">Artillery</a> - free open-source load-testing for HTTP and WebSockets</footer>
|
|
</div>
|
|
</body>
|
|
</html>
|