1227 lines
27 KiB
HTML
1227 lines
27 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-06T20:04:57.173Z",
|
|
"scenariosCreated": 360,
|
|
"scenariosCompleted": 360,
|
|
"requestsCompleted": 360,
|
|
"latency": {
|
|
"min": 116.3,
|
|
"max": 959.5,
|
|
"median": 312.1,
|
|
"p95": 364.9,
|
|
"p99": 725.6
|
|
},
|
|
"rps": {
|
|
"count": 360,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 119.4,
|
|
"max": 962.7,
|
|
"median": 314.4,
|
|
"p95": 367.7,
|
|
"p99": 727.4
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 360
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 335,
|
|
"502": 25
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"scenariosAvoided": 0,
|
|
"phases": [
|
|
{
|
|
"duration": 180,
|
|
"arrivalRate": 2,
|
|
"name": "Warm up"
|
|
}
|
|
]
|
|
},
|
|
"intermediate": [
|
|
{
|
|
"timestamp": "2021-02-06T20:02:06.652Z",
|
|
"scenariosCreated": 19,
|
|
"scenariosCompleted": 19,
|
|
"requestsCompleted": 19,
|
|
"latency": {
|
|
"min": 284.8,
|
|
"max": 339.7,
|
|
"median": 303.1,
|
|
"p95": 331.3,
|
|
"p99": 339.7
|
|
},
|
|
"rps": {
|
|
"count": 19,
|
|
"mean": 2.01
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.6,
|
|
"max": 375.6,
|
|
"median": 309.9,
|
|
"p95": 360.8,
|
|
"p99": 375.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 19
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 19
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:02:16.640Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 295.2,
|
|
"max": 361.4,
|
|
"median": 312,
|
|
"p95": 360.4,
|
|
"p99": 361.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2.01
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.8,
|
|
"max": 363.8,
|
|
"median": 315.3,
|
|
"p95": 362.5,
|
|
"p99": 363.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:02:26.647Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 294.8,
|
|
"max": 351.2,
|
|
"median": 314.8,
|
|
"p95": 348.7,
|
|
"p99": 351.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 296.9,
|
|
"max": 354.5,
|
|
"median": 316.7,
|
|
"p95": 351.3,
|
|
"p99": 354.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:02:36.642Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 294.7,
|
|
"max": 356.8,
|
|
"median": 302.9,
|
|
"p95": 353.9,
|
|
"p99": 356.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297,
|
|
"max": 359.6,
|
|
"median": 305.2,
|
|
"p95": 356.4,
|
|
"p99": 359.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:02:46.642Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 171.3,
|
|
"max": 454,
|
|
"median": 303.6,
|
|
"p95": 402.1,
|
|
"p99": 454
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 174.3,
|
|
"max": 455.9,
|
|
"median": 305.9,
|
|
"p95": 404.2,
|
|
"p99": 455.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 16,
|
|
"502": 4
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:02:56.651Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 116.3,
|
|
"max": 314.4,
|
|
"median": 126.5,
|
|
"p95": 300.7,
|
|
"p99": 314.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 119.4,
|
|
"max": 317.3,
|
|
"median": 128.9,
|
|
"p95": 303.3,
|
|
"p99": 317.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"502": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:06.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 125.5,
|
|
"max": 959.5,
|
|
"median": 325.8,
|
|
"p95": 938.3,
|
|
"p99": 959.5
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 128.2,
|
|
"max": 962.7,
|
|
"median": 328.2,
|
|
"p95": 941.1,
|
|
"p99": 962.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 19,
|
|
"502": 1
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:16.636Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 303.4,
|
|
"max": 366.9,
|
|
"median": 311.5,
|
|
"p95": 366.6,
|
|
"p99": 366.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 305.6,
|
|
"max": 369.3,
|
|
"median": 313.4,
|
|
"p95": 368.8,
|
|
"p99": 369.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:26.638Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 297.1,
|
|
"max": 322.6,
|
|
"median": 309.1,
|
|
"p95": 321.8,
|
|
"p99": 322.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 299.4,
|
|
"max": 325.9,
|
|
"median": 311.8,
|
|
"p95": 324.6,
|
|
"p99": 325.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:36.638Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 306.4,
|
|
"max": 356.8,
|
|
"median": 319.7,
|
|
"p95": 355.5,
|
|
"p99": 356.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 308.5,
|
|
"max": 358.8,
|
|
"median": 321.7,
|
|
"p95": 357.3,
|
|
"p99": 358.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:46.638Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 304.4,
|
|
"max": 365.8,
|
|
"median": 321.9,
|
|
"p95": 348.8,
|
|
"p99": 365.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 306.2,
|
|
"max": 367.7,
|
|
"median": 323.7,
|
|
"p95": 350.6,
|
|
"p99": 367.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:03:56.639Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 300.8,
|
|
"max": 362.4,
|
|
"median": 311.4,
|
|
"p95": 341.2,
|
|
"p99": 362.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302.7,
|
|
"max": 365.4,
|
|
"median": 313.6,
|
|
"p95": 343.6,
|
|
"p99": 365.4
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:06.640Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 302.3,
|
|
"max": 377.7,
|
|
"median": 315.6,
|
|
"p95": 368.9,
|
|
"p99": 377.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 304.1,
|
|
"max": 379.5,
|
|
"median": 317.9,
|
|
"p95": 371,
|
|
"p99": 379.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:16.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 302.5,
|
|
"max": 360.4,
|
|
"median": 316.7,
|
|
"p95": 348.5,
|
|
"p99": 360.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 304.8,
|
|
"max": 362.6,
|
|
"median": 318.7,
|
|
"p95": 350.5,
|
|
"p99": 362.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:26.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 302,
|
|
"max": 374.8,
|
|
"median": 318.2,
|
|
"p95": 366.6,
|
|
"p99": 374.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 304,
|
|
"max": 377.7,
|
|
"median": 320.5,
|
|
"p95": 369.1,
|
|
"p99": 377.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:36.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 301.8,
|
|
"max": 369.7,
|
|
"median": 311.1,
|
|
"p95": 369.2,
|
|
"p99": 369.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 304,
|
|
"max": 371.6,
|
|
"median": 313.2,
|
|
"p95": 371.1,
|
|
"p99": 371.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:46.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 304,
|
|
"max": 751.4,
|
|
"median": 316,
|
|
"p95": 579.1,
|
|
"p99": 751.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 306.1,
|
|
"max": 753.1,
|
|
"median": 317.9,
|
|
"p95": 580.9,
|
|
"p99": 753.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:56.637Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 301,
|
|
"max": 370.9,
|
|
"median": 316.2,
|
|
"p95": 367.5,
|
|
"p99": 370.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 302.7,
|
|
"max": 373.2,
|
|
"median": 318.3,
|
|
"p95": 369.6,
|
|
"p99": 373.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T20:04:57.160Z",
|
|
"scenariosCreated": 1,
|
|
"scenariosCompleted": 1,
|
|
"requestsCompleted": 1,
|
|
"latency": {
|
|
"min": 306,
|
|
"max": 306,
|
|
"median": 306,
|
|
"p95": 306,
|
|
"p99": 306
|
|
},
|
|
"rps": {
|
|
"count": 1,
|
|
"mean": 1.96
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 308.4,
|
|
"max": 308.4,
|
|
"median": 308.4,
|
|
"p95": 308.4,
|
|
"p99": 308.4
|
|
},
|
|
"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>
|