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:53:11.116Z",
|
|
"scenariosCreated": 720,
|
|
"scenariosCompleted": 720,
|
|
"requestsCompleted": 720,
|
|
"latency": {
|
|
"min": 280.3,
|
|
"max": 2531.2,
|
|
"median": 305.2,
|
|
"p95": 361.5,
|
|
"p99": 463.2
|
|
},
|
|
"rps": {
|
|
"count": 720,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 282.4,
|
|
"max": 2533.1,
|
|
"median": 308.6,
|
|
"p95": 366.5,
|
|
"p99": 581.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 720
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 720
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"scenariosAvoided": 0,
|
|
"phases": [
|
|
{
|
|
"duration": 360,
|
|
"arrivalRate": 2,
|
|
"name": "Warm up"
|
|
}
|
|
]
|
|
},
|
|
"intermediate": [
|
|
{
|
|
"timestamp": "2021-02-06T19:47:20.576Z",
|
|
"scenariosCreated": 19,
|
|
"scenariosCompleted": 19,
|
|
"requestsCompleted": 19,
|
|
"latency": {
|
|
"min": 285.3,
|
|
"max": 466.9,
|
|
"median": 311.8,
|
|
"p95": 410.5,
|
|
"p99": 466.9
|
|
},
|
|
"rps": {
|
|
"count": 19,
|
|
"mean": 2.01
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 288.4,
|
|
"max": 978.8,
|
|
"median": 315.4,
|
|
"p95": 749.7,
|
|
"p99": 978.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 19
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 19
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:47:30.560Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.1,
|
|
"max": 397,
|
|
"median": 309.4,
|
|
"p95": 375.7,
|
|
"p99": 397
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.3,
|
|
"max": 401,
|
|
"median": 314.3,
|
|
"p95": 379.9,
|
|
"p99": 401
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:47:40.562Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 286.2,
|
|
"max": 366.2,
|
|
"median": 302.5,
|
|
"p95": 345.3,
|
|
"p99": 366.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 288,
|
|
"max": 368.3,
|
|
"median": 305.2,
|
|
"p95": 347.7,
|
|
"p99": 368.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:47:50.573Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 289.4,
|
|
"max": 443.6,
|
|
"median": 311.9,
|
|
"p95": 402.5,
|
|
"p99": 443.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.7,
|
|
"max": 446.1,
|
|
"median": 314.9,
|
|
"p95": 405,
|
|
"p99": 446.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:00.560Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.8,
|
|
"max": 396.9,
|
|
"median": 300.3,
|
|
"p95": 376.9,
|
|
"p99": 396.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.9,
|
|
"max": 399.2,
|
|
"median": 302.6,
|
|
"p95": 378.9,
|
|
"p99": 399.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:10.562Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 288,
|
|
"max": 410.9,
|
|
"median": 307.4,
|
|
"p95": 385.6,
|
|
"p99": 410.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.8,
|
|
"max": 413.5,
|
|
"median": 311.7,
|
|
"p95": 387.9,
|
|
"p99": 413.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:20.563Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 295.4,
|
|
"max": 359.5,
|
|
"median": 311.3,
|
|
"p95": 353.1,
|
|
"p99": 359.5
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 298.6,
|
|
"max": 363,
|
|
"median": 313.6,
|
|
"p95": 356.3,
|
|
"p99": 363
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:30.568Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.9,
|
|
"max": 366,
|
|
"median": 303.8,
|
|
"p95": 364.9,
|
|
"p99": 366
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 290.2,
|
|
"max": 368.6,
|
|
"median": 306.1,
|
|
"p95": 367.6,
|
|
"p99": 368.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:40.560Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 284.8,
|
|
"max": 373.8,
|
|
"median": 291.8,
|
|
"p95": 358.8,
|
|
"p99": 373.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.7,
|
|
"max": 376.2,
|
|
"median": 295,
|
|
"p95": 361.3,
|
|
"p99": 376.2
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:48:50.559Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 19,
|
|
"requestsCompleted": 19,
|
|
"latency": {
|
|
"min": 287.5,
|
|
"max": 841.7,
|
|
"median": 292.7,
|
|
"p95": 617.9,
|
|
"p99": 841.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.4,
|
|
"max": 843.5,
|
|
"median": 295.1,
|
|
"p95": 619.8,
|
|
"p99": 843.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 19
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 1,
|
|
"pendingRequests": 1,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:00.561Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 21,
|
|
"requestsCompleted": 21,
|
|
"latency": {
|
|
"min": 283.3,
|
|
"max": 1001.8,
|
|
"median": 298.4,
|
|
"p95": 694.5,
|
|
"p99": 1001.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 285,
|
|
"max": 1003.8,
|
|
"median": 300.9,
|
|
"p95": 696.6,
|
|
"p99": 1003.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 21
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:10.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 289.2,
|
|
"max": 354.4,
|
|
"median": 300.5,
|
|
"p95": 348.2,
|
|
"p99": 354.4
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.8,
|
|
"max": 356.9,
|
|
"median": 303.3,
|
|
"p95": 350.8,
|
|
"p99": 356.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:20.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 286.8,
|
|
"max": 370.8,
|
|
"median": 302.1,
|
|
"p95": 356.8,
|
|
"p99": 370.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.2,
|
|
"max": 378.7,
|
|
"median": 307.1,
|
|
"p95": 363.7,
|
|
"p99": 378.7
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:30.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.3,
|
|
"max": 353.9,
|
|
"median": 302,
|
|
"p95": 348.8,
|
|
"p99": 353.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.9,
|
|
"max": 358.4,
|
|
"median": 308.6,
|
|
"p95": 353.3,
|
|
"p99": 358.4
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:40.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.2,
|
|
"max": 355.8,
|
|
"median": 302.3,
|
|
"p95": 353.7,
|
|
"p99": 355.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.5,
|
|
"max": 361,
|
|
"median": 308.5,
|
|
"p95": 359.2,
|
|
"p99": 361
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:49:50.562Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 282.6,
|
|
"max": 373.6,
|
|
"median": 303.3,
|
|
"p95": 371.5,
|
|
"p99": 373.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 287.2,
|
|
"max": 379.8,
|
|
"median": 305.6,
|
|
"p95": 378.3,
|
|
"p99": 379.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:50:00.567Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 283.1,
|
|
"max": 361.6,
|
|
"median": 310.2,
|
|
"p95": 359.8,
|
|
"p99": 361.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 285.2,
|
|
"max": 364.3,
|
|
"median": 312.8,
|
|
"p95": 362.5,
|
|
"p99": 364.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:50:10.561Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 282.5,
|
|
"max": 367,
|
|
"median": 302.8,
|
|
"p95": 353.1,
|
|
"p99": 367
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.3,
|
|
"max": 369,
|
|
"median": 304.5,
|
|
"p95": 355,
|
|
"p99": 369
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:50:20.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 289.7,
|
|
"max": 344.2,
|
|
"median": 303.8,
|
|
"p95": 335.3,
|
|
"p99": 344.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 292.5,
|
|
"max": 347.9,
|
|
"median": 306.8,
|
|
"p95": 338.4,
|
|
"p99": 347.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:50:30.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 283.5,
|
|
"max": 368.6,
|
|
"median": 300,
|
|
"p95": 368.1,
|
|
"p99": 368.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 285.8,
|
|
"max": 370.6,
|
|
"median": 302.2,
|
|
"p95": 370.2,
|
|
"p99": 370.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:50:40.643Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 282.8,
|
|
"max": 365.5,
|
|
"median": 300.7,
|
|
"p95": 358.8,
|
|
"p99": 365.5
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 1.99
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 285.4,
|
|
"max": 367.7,
|
|
"median": 302.9,
|
|
"p95": 360.8,
|
|
"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-06T19:50:50.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 19,
|
|
"requestsCompleted": 19,
|
|
"latency": {
|
|
"min": 286.6,
|
|
"max": 2531.2,
|
|
"median": 320.3,
|
|
"p95": 2453.9,
|
|
"p99": 2531.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2.02
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 297.8,
|
|
"max": 2533.1,
|
|
"median": 322.2,
|
|
"p95": 2455.7,
|
|
"p99": 2533.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 19
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 1,
|
|
"pendingRequests": 1,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:00.568Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 21,
|
|
"requestsCompleted": 21,
|
|
"latency": {
|
|
"min": 290.3,
|
|
"max": 356.8,
|
|
"median": 303.3,
|
|
"p95": 356.3,
|
|
"p99": 356.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2.06
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.9,
|
|
"max": 358.3,
|
|
"median": 307,
|
|
"p95": 357.9,
|
|
"p99": 358.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 21
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:10.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 284.6,
|
|
"max": 351.8,
|
|
"median": 309.2,
|
|
"p95": 347.3,
|
|
"p99": 351.8
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.9,
|
|
"max": 355.3,
|
|
"median": 311.3,
|
|
"p95": 350.5,
|
|
"p99": 355.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:20.563Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 292.3,
|
|
"max": 373.7,
|
|
"median": 309,
|
|
"p95": 367.1,
|
|
"p99": 373.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 295,
|
|
"max": 375.4,
|
|
"median": 311.1,
|
|
"p95": 369.9,
|
|
"p99": 375.4
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:30.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 284.5,
|
|
"max": 325.2,
|
|
"median": 308,
|
|
"p95": 324.9,
|
|
"p99": 325.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.9,
|
|
"max": 327.6,
|
|
"median": 310.3,
|
|
"p95": 327.2,
|
|
"p99": 327.6
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:40.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 284.9,
|
|
"max": 375.1,
|
|
"median": 313.1,
|
|
"p95": 363.7,
|
|
"p99": 375.1
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 287.3,
|
|
"max": 377.5,
|
|
"median": 315.5,
|
|
"p95": 366.2,
|
|
"p99": 377.5
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:51:50.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 284.8,
|
|
"max": 369.9,
|
|
"median": 316.2,
|
|
"p95": 368.9,
|
|
"p99": 369.9
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.9,
|
|
"max": 371.8,
|
|
"median": 318.1,
|
|
"p95": 371.1,
|
|
"p99": 371.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:52:00.567Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 289.8,
|
|
"max": 351.6,
|
|
"median": 309.2,
|
|
"p95": 336,
|
|
"p99": 351.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 291.8,
|
|
"max": 354,
|
|
"median": 311.4,
|
|
"p95": 338.4,
|
|
"p99": 354
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:52:10.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 280.3,
|
|
"max": 364.1,
|
|
"median": 308.8,
|
|
"p95": 347.1,
|
|
"p99": 364.1
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 282.4,
|
|
"max": 366.3,
|
|
"median": 310.6,
|
|
"p95": 349.2,
|
|
"p99": 366.3
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:52:20.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 283.2,
|
|
"max": 365.2,
|
|
"median": 304.8,
|
|
"p95": 343.3,
|
|
"p99": 365.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 285.4,
|
|
"max": 367.7,
|
|
"median": 306.6,
|
|
"p95": 345.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-06T19:52:30.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 285.2,
|
|
"max": 365.2,
|
|
"median": 302,
|
|
"p95": 342,
|
|
"p99": 365.2
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 287.2,
|
|
"max": 367.7,
|
|
"median": 304,
|
|
"p95": 344.2,
|
|
"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-06T19:52:40.566Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 290.4,
|
|
"max": 347.7,
|
|
"median": 306.2,
|
|
"p95": 332.6,
|
|
"p99": 347.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 292.2,
|
|
"max": 349.9,
|
|
"median": 308,
|
|
"p95": 334.9,
|
|
"p99": 349.9
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:52:50.568Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 286.7,
|
|
"max": 371.7,
|
|
"median": 304.5,
|
|
"p95": 348.6,
|
|
"p99": 371.7
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 288.8,
|
|
"max": 374.1,
|
|
"median": 306.9,
|
|
"p95": 351.4,
|
|
"p99": 374.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:53:00.575Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 287.2,
|
|
"max": 374.6,
|
|
"median": 307,
|
|
"p95": 357.9,
|
|
"p99": 374.6
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 289.4,
|
|
"max": 376.8,
|
|
"median": 310,
|
|
"p95": 360.3,
|
|
"p99": 376.8
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:53:10.565Z",
|
|
"scenariosCreated": 20,
|
|
"scenariosCompleted": 20,
|
|
"requestsCompleted": 20,
|
|
"latency": {
|
|
"min": 283.8,
|
|
"max": 373.1,
|
|
"median": 315.6,
|
|
"p95": 371.3,
|
|
"p99": 373.1
|
|
},
|
|
"rps": {
|
|
"count": 20,
|
|
"mean": 2
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 286.6,
|
|
"max": 375.1,
|
|
"median": 318.8,
|
|
"p95": 374.1,
|
|
"p99": 375.1
|
|
},
|
|
"scenarioCounts": {
|
|
"just get hash": 20
|
|
},
|
|
"errors": {},
|
|
"codes": {
|
|
"200": 20
|
|
},
|
|
"matches": 0,
|
|
"customStats": {},
|
|
"counters": {},
|
|
"concurrency": 0,
|
|
"pendingRequests": 0,
|
|
"scenariosAvoided": 0
|
|
},
|
|
{
|
|
"timestamp": "2021-02-06T19:53:11.091Z",
|
|
"scenariosCreated": 1,
|
|
"scenariosCompleted": 1,
|
|
"requestsCompleted": 1,
|
|
"latency": {
|
|
"min": 308.1,
|
|
"max": 308.1,
|
|
"median": 308.1,
|
|
"p95": 308.1,
|
|
"p99": 308.1
|
|
},
|
|
"rps": {
|
|
"count": 1,
|
|
"mean": 1.96
|
|
},
|
|
"scenarioDuration": {
|
|
"min": 313.5,
|
|
"max": 313.5,
|
|
"median": 313.5,
|
|
"p95": 313.5,
|
|
"p99": 313.5
|
|
},
|
|
"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>
|