Route Description
GET /test-confs/:confId/executions Get list of executions
GET /executions/:id Get execution details
GET /executions/:id/summary Get execution summary
GET /executions/:id/results[.csv] Download execution results
GET /executions/:id/intervals Get execution intervals
GET /executions/:id/resources Get execution results by resource
GET /executions/:id/resources/:resourceId Get execution results for a resource
GET /executions/:id/logs[.txt] Get execution logs
GET /executions/:id/traces Get execution traces
GET /execution-traces/:id Get execution trace
POST /test-confs/:confId/executions Start execution
HEAD /executions/:id Check if execution exists
PATCH /executions/:id/stop Stop execution
DELETE /executions/:id Delete execution

Overview

API routes related to test executions. A test execution is a load test that runs a scenario under a certain configuration. Each execution contains one or more regions where it executes. Within each execution region, the work is split up into "chunks". Test execution results are aggregated in 10 second intervals. Result metrics are grouped by resource.

Get list of executions

Retrieve a list of all executions within a given test configuration.

GET /test-confs/:confId/executions

Request Parameters

  • down: Whether or not to include execution region/chunk information. Defaults to true.
  • up: Whether or not to include the parent details. Defaults to false.
  • includeScript: Whether or not to include the script information used to run the test. Defaults to true.
  • includeSummary: Whether or not to include the metric summary. Defaults to true.
  • includeIntervals: Whether or not to include the by interval results. Defaults to false.
  • includeResources: Whether or not to include the by resource results. Defaults to false.
  • includeLogs: Whether or not to include the log data. Defaults to false.
  • offset: Offset within the executions to start the response. Defaults to 0. When combined with limit it is useful for paging through the results.
  • limit: Number of executions to return. Returns all by default or if set to -1.

Sample Response

[
   {
      "id":637,
      "createdAt":"2016-02-18T19:11:52.737Z",
      "updatedAt":"2016-02-18T19:15:26.544Z",
      "running":false,
      "allocated":true,
      "startedAt":"2016-02-18T19:11:54.095Z",
      "finishedAt":"2016-02-18T19:15:25.150Z",
      "cancelledByUser":false,
      "completed":true,
      "summaryCalculated":true,
      "limitBreached":false,
      "iterations":20,
      "iterationSleepSecs":10,
      "rampupSecs":0,
      "regions":[
         {
            "id":669,
            "createdAt":"2016-02-18T19:11:52.744Z",
            "updatedAt":"2016-02-18T19:15:25.130Z",
            "running":false,
            "startedAt":"2016-02-18T19:12:06.045Z",
            "finishedAt":"2016-02-18T19:15:25.130Z",
            "completed":true,
            "concurrentClients":5,
            "actualConcurrentClients":5,
            "expectedResultCount":100,
            "region":{
               "id":1,
               "createdAt":"2015-08-11T17:03:34.761Z",
               "updatedAt":"2015-08-11T17:03:34.761Z",
               "name":"aws-us-east-1",
               "public":true,
               "latitude":39.0436,
               "longitude":-77.4878,
               "description":"AWS N. Virginia",
               "active":true
            },
            "summary":{
               "id":206865,
               "createdAt":"2016-02-18T19:15:25.749Z",
               "updatedAt":"2016-02-18T19:15:25.749Z",
               "executionId":637,
               "executionRegionId":669,
               "intervalStart":0,
               "iterationsExecuted":100,
               "count":100,
               "concurrentClients":5,
               "actualConcurrentClients":0,
               "maxConcurrentClients":0,
               "metrics":[
                  {
                     "metricDef":"httpResponseCode",
                     "metricType":"Histogram",
                     "metricValueMap":{
                        "200":100
                     }
                  },
                  {
                     "metricDef":"connectionOpenMs",
                     "metricType":"Timing",
                     "metricValueMap":{
                        "count":100,
                        "mean":5,
                        "min":1,
                        "p95":9,
                        "max":214,
                        "p99":41,
                        "sd":21,
                        "sum":527,
                        "var":481
                     },
                     "metricUnits":"ms"
                  },
                  {
                     "metricDef":"bandwidth",
                     "metricType":"Counter",
                     "metricValue":17261,
                     "metricUnits":"bytes"
                  },
                  {
                     "metricDef":"success",
                     "metricType":"Counter",
                     "metricValue":100,
                     "metricUnits":"requests"
                  },
                  {
                     "metricDef":"dataPacketsSent",
                     "metricType":"Counter",
                     "metricValue":100,
                     "metricUnits":"packets"
                  },
                  {
                     "metricDef":"connectionCloseMs",
                     "metricType":"Timing",
                     "metricValueMap":{
                        "count":100,
                        "mean":8,
                        "min":3,
                        "p95":12,
                        "max":221,
                        "p99":43,
                        "sd":22,
                        "sum":886,
                        "var":497
                     },
                     "metricUnits":"ms"
                  },
                  {
                     "metricDef":"bytesReceived",
                     "metricType":"Counter",
                     "metricValue":9961,
                     "metricUnits":"bytes"
                  },
                  {
                     "metricDef":"dataPacketsReceived",
                     "metricType":"Counter",
                     "metricValue":200,
                     "metricUnits":"packets"
                  },
                  {
                     "metricDef":"firstReceivedMs",
                     "metricType":"Timing",
                     "metricValueMap":{
                        "count":100,
                        "mean":8,
                        "min":3,
                        "p95":11,
                        "max":217,
                        "p99":43,
                        "sd":21,
                        "sum":847,
                        "var":482
                     },
                     "metricUnits":"ms"
                  },
                  {
                     "metricDef":"bytesSent",
                     "metricType":"Counter",
                     "metricValue":7300,
                     "metricUnits":"bytes"
                  },
                  {
                     "metricDef":"dnsLookupMs",
                     "metricType":"Timing",
                     "metricValueMap":{
                        "count":100,
                        "mean":4,
                        "min":0,
                        "p95":8,
                        "max":212,
                        "p99":40,
                        "sd":21,
                        "sum":406,
                        "var":477
                     },
                     "metricUnits":"ms"
                  }
               ]
            },
            "chunks":[
               {
                  "id":638,
                  "executionType":"Main",
                  "agent":"7316fdd5-a620-401f-ae3a-9c9468489ed4",
                  "createdAt":"2016-02-18T19:12:06.082Z",
                  "updatedAt":"2016-02-18T19:15:25.111Z",
                  "running":false,
                  "startedAt":"2016-02-18T19:12:06.499Z",
                  "finishedAt":"2016-02-18T19:15:25.111Z",
                  "completed":true,
                  "iterations":20,
                  "iterationSleepSecs":10,
                  "rampupSecs":0,
                  "concurrentClients":5,
                  "actualConcurrentClients":5,
                  "completedDurationSecs":0,
                  "completedIterations":0
               }
            ]
         }
      ],
      "concurrentClients":5,
      "actualConcurrentClients":5,
      "expectedResultCount":100,
      "scriptParams":"{}",
      "summary":{
         "id":206866,
         "createdAt":"2016-02-18T19:15:25.749Z",
         "updatedAt":"2016-02-18T19:15:25.749Z",
         "executionId":637,
         "intervalStart":0,
         "iterationsExecuted":100,
         "count":100,
         "concurrentClients":5,
         "actualConcurrentClients":0,
         "maxConcurrentClients":0,
         "metrics":[
            {
               "metricDef":"httpResponseCode",
               "metricType":"Histogram",
               "metricValueMap":{
                  "200":100
               }
            },
            {
               "metricDef":"connectionOpenMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":5,
                  "min":1,
                  "p95":9,
                  "max":214,
                  "p99":41,
                  "sd":21,
                  "sum":527,
                  "var":481
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bandwidth",
               "metricType":"Counter",
               "metricValue":17261,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"success",
               "metricType":"Counter",
               "metricValue":100,
               "metricUnits":"requests"
            },
            {
               "metricDef":"dataPacketsSent",
               "metricType":"Counter",
               "metricValue":100,
               "metricUnits":"packets"
            },
            {
               "metricDef":"connectionCloseMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":8,
                  "min":3,
                  "p95":12,
                  "max":221,
                  "p99":43,
                  "sd":22,
                  "sum":886,
                  "var":497
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bytesReceived",
               "metricType":"Counter",
               "metricValue":9961,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"dataPacketsReceived",
               "metricType":"Counter",
               "metricValue":200,
               "metricUnits":"packets"
            },
            {
               "metricDef":"firstReceivedMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":8,
                  "min":3,
                  "p95":11,
                  "max":217,
                  "p99":43,
                  "sd":21,
                  "sum":847,
                  "var":482
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bytesSent",
               "metricType":"Counter",
               "metricValue":7300,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"dnsLookupMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":4,
                  "min":0,
                  "p95":8,
                  "max":212,
                  "p99":40,
                  "sd":21,
                  "sum":406,
                  "var":477
               },
               "metricUnits":"ms"
            }
         ]
      },
      "script":{
         "id":273,
         "createdAt":"2016-02-18T19:00:46.862Z",
         "updatedAt":"2016-03-09T08:10:44.945Z",
         "name":"Default Scenario",
         "length":97,
         "hasInit":false,
         "hasTeardown":false,
         "scriptType":"Code"
      }
   },
   ...
]

Get execution details

Retrieve details of a single execution. If the completed field is not true, then the test is still running.

GET /executions/:id

Request Parameters

  • down: Whether or not to include execution region/chunk information. Defaults to true.
  • up: Whether or not to include the parent details. Defaults to true.
  • includeScript: Whether or not to include the script information used to run the test. Defaults to true.
  • includeSummary: Whether or not to include the metric summary. Defaults to true.
  • includeIntervals: Whether or not to include the by interval results. Defaults to false.
  • includeResources: Whether or not to include the by resource results. Defaults to false.
  • includeLogs: Whether or not to include the log data. Defaults to false.

Sample Response

{
   "id":637,
   "createdAt":"2016-02-18T19:11:52.737Z",
   "updatedAt":"2016-02-18T19:15:26.544Z",
   "running":false,
   "allocated":true,
   "startedAt":"2016-02-18T19:11:54.095Z",
   "finishedAt":"2016-02-18T19:15:25.150Z",
   "cancelledByUser":false,
   "completed":true,
   "summaryCalculated":true,
   "limitBreached":false,
   "iterations":20,
   "iterationSleepSecs":10,
   "rampupSecs":0,
   "regions":[
      {
         "id":669,
         "createdAt":"2016-02-18T19:11:52.744Z",
         "updatedAt":"2016-02-18T19:15:25.130Z",
         "running":false,
         "startedAt":"2016-02-18T19:12:06.045Z",
         "finishedAt":"2016-02-18T19:15:25.130Z",
         "completed":true,
         "concurrentClients":5,
         "actualConcurrentClients":5,
         "expectedResultCount":100,
         "region":{
            "id":1,
            "createdAt":"2015-08-11T17:03:34.761Z",
            "updatedAt":"2015-08-11T17:03:34.761Z",
            "name":"aws-us-east-1",
            "public":true,
            "latitude":39.0436,
            "longitude":-77.4878,
            "description":"AWS N. Virginia",
            "active":true
         },
         "summary":{
            "id":206865,
            "createdAt":"2016-02-18T19:15:25.749Z",
            "updatedAt":"2016-02-18T19:15:25.749Z",
            "executionId":637,
            "executionRegionId":669,
            "intervalStart":0,
            "iterationsExecuted":100,
            "count":100,
            "concurrentClients":5,
            "actualConcurrentClients":0,
            "maxConcurrentClients":0,
            "metrics":[
               {
                  "metricDef":"httpResponseCode",
                  "metricType":"Histogram",
                  "metricValueMap":{
                     "200":100
                  }
               },
               {
                  "metricDef":"connectionOpenMs",
                  "metricType":"Timing",
                  "metricValueMap":{
                     "count":100,
                     "mean":5,
                     "min":1,
                     "p95":9,
                     "max":214,
                     "p99":41,
                     "sd":21,
                     "sum":527,
                     "var":481
                  },
                  "metricUnits":"ms"
               },
               {
                  "metricDef":"bandwidth",
                  "metricType":"Counter",
                  "metricValue":17261,
                  "metricUnits":"bytes"
               },
               {
                  "metricDef":"success",
                  "metricType":"Counter",
                  "metricValue":100,
                  "metricUnits":"requests"
               },
               {
                  "metricDef":"dataPacketsSent",
                  "metricType":"Counter",
                  "metricValue":100,
                  "metricUnits":"packets"
               },
               {
                  "metricDef":"connectionCloseMs",
                  "metricType":"Timing",
                  "metricValueMap":{
                     "count":100,
                     "mean":8,
                     "min":3,
                     "p95":12,
                     "max":221,
                     "p99":43,
                     "sd":22,
                     "sum":886,
                     "var":497
                  },
                  "metricUnits":"ms"
               },
               {
                  "metricDef":"bytesReceived",
                  "metricType":"Counter",
                  "metricValue":9961,
                  "metricUnits":"bytes"
               },
               {
                  "metricDef":"dataPacketsReceived",
                  "metricType":"Counter",
                  "metricValue":200,
                  "metricUnits":"packets"
               },
               {
                  "metricDef":"firstReceivedMs",
                  "metricType":"Timing",
                  "metricValueMap":{
                     "count":100,
                     "mean":8,
                     "min":3,
                     "p95":11,
                     "max":217,
                     "p99":43,
                     "sd":21,
                     "sum":847,
                     "var":482
                  },
                  "metricUnits":"ms"
               },
               {
                  "metricDef":"bytesSent",
                  "metricType":"Counter",
                  "metricValue":7300,
                  "metricUnits":"bytes"
               },
               {
                  "metricDef":"dnsLookupMs",
                  "metricType":"Timing",
                  "metricValueMap":{
                     "count":100,
                     "mean":4,
                     "min":0,
                     "p95":8,
                     "max":212,
                     "p99":40,
                     "sd":21,
                     "sum":406,
                     "var":477
                  },
                  "metricUnits":"ms"
               }
            ]
         },
         "chunks":[
            {
               "id":638,
               "executionType":"Main",
               "agent":"7316fdd5-a620-401f-ae3a-9c9468489ed4",
               "createdAt":"2016-02-18T19:12:06.082Z",
               "updatedAt":"2016-02-18T19:15:25.111Z",
               "running":false,
               "startedAt":"2016-02-18T19:12:06.499Z",
               "finishedAt":"2016-02-18T19:15:25.111Z",
               "completed":true,
               "iterations":20,
               "iterationSleepSecs":10,
               "rampupSecs":0,
               "concurrentClients":5,
               "actualConcurrentClients":5,
               "completedDurationSecs":0,
               "completedIterations":0
            }
         ]
      }
   ],
   "concurrentClients":5,
   "actualConcurrentClients":5,
   "expectedResultCount":100,
   "scriptParams":"{}",
   "summary":{
      "id":206866,
      "createdAt":"2016-02-18T19:15:25.749Z",
      "updatedAt":"2016-02-18T19:15:25.749Z",
      "executionId":637,
      "intervalStart":0,
      "iterationsExecuted":100,
      "count":100,
      "concurrentClients":5,
      "actualConcurrentClients":0,
      "maxConcurrentClients":0,
      "metrics":[
         {
            "metricDef":"httpResponseCode",
            "metricType":"Histogram",
            "metricValueMap":{
               "200":100
            }
         },
         {
            "metricDef":"connectionOpenMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":5,
               "min":1,
               "p95":9,
               "max":214,
               "p99":41,
               "sd":21,
               "sum":527,
               "var":481
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bandwidth",
            "metricType":"Counter",
            "metricValue":17261,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"success",
            "metricType":"Counter",
            "metricValue":100,
            "metricUnits":"requests"
         },
         {
            "metricDef":"dataPacketsSent",
            "metricType":"Counter",
            "metricValue":100,
            "metricUnits":"packets"
         },
         {
            "metricDef":"connectionCloseMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":8,
               "min":3,
               "p95":12,
               "max":221,
               "p99":43,
               "sd":22,
               "sum":886,
               "var":497
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesReceived",
            "metricType":"Counter",
            "metricValue":9961,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dataPacketsReceived",
            "metricType":"Counter",
            "metricValue":200,
            "metricUnits":"packets"
         },
         {
            "metricDef":"firstReceivedMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":8,
               "min":3,
               "p95":11,
               "max":217,
               "p99":43,
               "sd":21,
               "sum":847,
               "var":482
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesSent",
            "metricType":"Counter",
            "metricValue":7300,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dnsLookupMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":4,
               "min":0,
               "p95":8,
               "max":212,
               "p99":40,
               "sd":21,
               "sum":406,
               "var":477
            },
            "metricUnits":"ms"
         }
      ]
   },
   "script":{
      "id":273,
      "createdAt":"2016-02-18T19:00:46.862Z",
      "updatedAt":"2016-03-09T08:10:44.945Z",
      "name":"Default Scenario",
      "length":97,
      "hasInit":false,
      "hasTeardown":false,
      "scriptType":"Code"
   }
}

Get execution summary

Returns summary metrics for this test execution.

GET /executions/:id/summary

Sample Response

{
   "id":206866,
   "createdAt":"2016-02-18T19:15:25.749Z",
   "updatedAt":"2016-02-18T19:15:25.749Z",
   "executionId":637,
   "intervalStart":0,
   "iterationsExecuted":100,
   "count":100,
   "concurrentClients":5,
   "actualConcurrentClients":0,
   "maxConcurrentClients":0,
   "metrics":[
      {
         "metricDef":"httpResponseCode",
         "metricType":"Histogram",
         "metricValueMap":{
            "200":100
         }
      },
      {
         "metricDef":"connectionOpenMs",
         "metricType":"Timing",
         "metricValueMap":{
            "count":100,
            "mean":5,
            "min":1,
            "p95":9,
            "max":214,
            "p99":41,
            "sd":21,
            "sum":527,
            "var":481
         },
         "metricUnits":"ms"
      },
      {
         "metricDef":"bandwidth",
         "metricType":"Counter",
         "metricValue":17261,
         "metricUnits":"bytes"
      },
      {
         "metricDef":"success",
         "metricType":"Counter",
         "metricValue":100,
         "metricUnits":"requests"
      },
      {
         "metricDef":"dataPacketsSent",
         "metricType":"Counter",
         "metricValue":100,
         "metricUnits":"packets"
      },
      {
         "metricDef":"connectionCloseMs",
         "metricType":"Timing",
         "metricValueMap":{
            "count":100,
            "mean":8,
            "min":3,
            "p95":12,
            "max":221,
            "p99":43,
            "sd":22,
            "sum":886,
            "var":497
         },
         "metricUnits":"ms"
      },
      {
         "metricDef":"bytesReceived",
         "metricType":"Counter",
         "metricValue":9961,
         "metricUnits":"bytes"
      },
      {
         "metricDef":"dataPacketsReceived",
         "metricType":"Counter",
         "metricValue":200,
         "metricUnits":"packets"
      },
      {
         "metricDef":"firstReceivedMs",
         "metricType":"Timing",
         "metricValueMap":{
            "count":100,
            "mean":8,
            "min":3,
            "p95":11,
            "max":217,
            "p99":43,
            "sd":21,
            "sum":847,
            "var":482
         },
         "metricUnits":"ms"
      },
      {
         "metricDef":"bytesSent",
         "metricType":"Counter",
         "metricValue":7300,
         "metricUnits":"bytes"
      },
      {
         "metricDef":"dnsLookupMs",
         "metricType":"Timing",
         "metricValueMap":{
            "count":100,
            "mean":4,
            "min":0,
            "p95":8,
            "max":212,
            "p99":40,
            "sd":21,
            "sum":406,
            "var":477
         },
         "metricUnits":"ms"
      }
   ]
}

Download execution results

Download the raw results, unaggregated for this execution. Can also be downloaded for one region where the test executed. Note that the regionId can be found in the execution details at regions[i].id. Omit the .csv at the end to get the results in JSON format.

GET /executions/:execution/results[.csv]
GET /executions/:execution/regions/:regionId/results[.csv]

Get execution intervals

Results are aggregated in 10 second buckets during execution. Can also be retrieved for one region where the test executed. Note that the regionId can be found in the execution details at regions[i].id.

GET /executions/:execution/intervals
GET /executions/:execution/regions/:regionId/intervals

Request Parameters

  • numIntervals: Only return the latest numIntervals intervals based on timestamp. Optional.
  • since: Only return intervals where intervalStart >= since. Time is specified as a unix epoch in milliseconds (e.g. 1457636340000). Optional.

Response

[
   {
      "id":257947,
      "createdAt":"2016-03-10T19:00:56.050Z",
      "updatedAt":"2016-03-10T19:00:56.050Z",
      "executionId":725,
      "intervalStart":1457636450000,
      "iterationsExecuted":3,
      "count":6,
      "concurrentClients":0,
      "actualConcurrentClients":0,
      "maxConcurrentClients":2,
      "metrics":[
         {
            "metricDef":"httpResponseCode",
            "metricType":"Histogram",
            "metricValueMap":{
               "200":3
            }
         },
         {
            "metricDef":"httpMethod",
            "metricType":"Histogram",
            "metricValueMap":{
               "GET":3
            }
         },
         {
            "metricDef":"connectionOpenMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":3,
               "mean":1,
               "min":1,
               "p95":2,
               "max":2,
               "p99":2,
               "sd":0,
               "p50":2,
               "sum":5,
               "var":0
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bandwidth",
            "metricType":"Counter",
            "metricValue":521,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"success",
            "metricType":"Counter",
            "metricValue":6,
            "metricUnits":"requests"
         },
         {
            "metricDef":"dataPacketsSent",
            "metricType":"Counter",
            "metricValue":3,
            "metricUnits":"packets"
         },
         {
            "metricDef":"connectionCloseMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":3,
               "mean":5,
               "min":4,
               "p95":7,
               "max":7,
               "p99":7,
               "sd":1,
               "p50":6,
               "sum":17,
               "var":2
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"tickLatencyMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":3,
               "mean":123,
               "min":123,
               "p95":123,
               "max":123,
               "p99":123,
               "sd":0,
               "p50":123,
               "sum":369,
               "var":0
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesReceived",
            "metricType":"Counter",
            "metricValue":302,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dataPacketsReceived",
            "metricType":"Counter",
            "metricValue":6,
            "metricUnits":"packets"
         },
         {
            "metricDef":"firstReceivedMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":3,
               "mean":5,
               "min":4,
               "p95":7,
               "max":7,
               "p99":7,
               "sd":1,
               "p50":6,
               "sum":17,
               "var":2
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesSent",
            "metricType":"Counter",
            "metricValue":219,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dnsLookupMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":3,
               "mean":0,
               "min":0,
               "p95":1,
               "max":1,
               "p99":1,
               "sd":0,
               "p50":0,
               "sum":1,
               "var":0
            },
            "metricUnits":"ms"
         }
      ]
   }
]

Get execution results by resource

Results are aggregated by resource (e.g. GET http://myserver.com/somethingTested). The resource name is specified during test execution either automatically by Testable or by you when capturing a custom metric.

Can also be retrieved for one region where the test executed. Note that the regionId can be found in the execution details at regions[i].id.

GET /executions/:execution/resources
GET /executions/:execution/regions/:regionId/resources

Request Parameters

  • intervals: Whether or not to include the by interval results for each resource. Defaults to false. Note that this will return a huge amount of data and it is recommended you retrieve interval data for either the entire execution or for one specific resource.

Response

[
   {
      "resource":{
         "id":239,
         "createdAt":"2016-01-31T23:57:52.628Z",
         "updatedAt":"2016-01-31T23:57:52.629Z",
         "resource":"GET http://sample.testable.io/stocks/IBM/stocks/IBM"
      },
      "summary":{
         "id":257943,
         "createdAt":"2016-03-10T19:00:56.030Z",
         "updatedAt":"2016-03-10T19:00:56.030Z",
         "executionId":725,
         "resourceId":239,
         "intervalStart":0,
         "iterationsExecuted":0,
         "count":100,
         "concurrentClients":0,
         "actualConcurrentClients":0,
         "maxConcurrentClients":0,
         "metrics":[
            {
               "metricDef":"httpResponseCode",
               "metricType":"Histogram",
               "metricValueMap":{
                  "200":100
               }
            },
            {
               "metricDef":"httpMethod",
               "metricType":"Histogram",
               "metricValueMap":{
                  "GET":100
               }
            },
            {
               "metricDef":"connectionOpenMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":3,
                  "min":1,
                  "p95":17,
                  "max":33,
                  "p99":28,
                  "sd":5,
                  "p50":2,
                  "sum":311,
                  "var":27
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bandwidth",
               "metricType":"Counter",
               "metricValue":17264,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"success",
               "metricType":"Counter",
               "metricValue":100,
               "metricUnits":"requests"
            },
            {
               "metricDef":"dataPacketsSent",
               "metricType":"Counter",
               "metricValue":100,
               "metricUnits":"packets"
            },
            {
               "metricDef":"connectionCloseMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":6,
                  "min":3,
                  "p95":19,
                  "max":41,
                  "p99":32,
                  "sd":5,
                  "p50":6,
                  "sum":689,
                  "var":31
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bytesReceived",
               "metricType":"Counter",
               "metricValue":9964,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"dataPacketsReceived",
               "metricType":"Counter",
               "metricValue":200,
               "metricUnits":"packets"
            },
            {
               "metricDef":"firstReceivedMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":6,
                  "min":3,
                  "p95":19,
                  "max":38,
                  "p99":31,
                  "sd":5,
                  "p50":5,
                  "sum":646,
                  "var":29
               },
               "metricUnits":"ms"
            },
            {
               "metricDef":"bytesSent",
               "metricType":"Counter",
               "metricValue":7300,
               "metricUnits":"bytes"
            },
            {
               "metricDef":"dnsLookupMs",
               "metricType":"Timing",
               "metricValueMap":{
                  "count":100,
                  "mean":1,
                  "min":0,
                  "p95":16,
                  "max":31,
                  "p99":27,
                  "sd":5,
                  "p50":1,
                  "sum":193,
                  "var":27
               },
               "metricUnits":"ms"
            }
         ]
      }
   }
]

Get execution results for a resource

Get results for one specific resource. See the get execution results by resource for more explanation on resources. Use that route to get the resource id.

Can also be retrieved for one region where the test executed. Note that the regionId can be found in the execution details at regions[i].id.

GET /executions/:execution/resources/:resourceId
GET /executions/:execution/regions/:regionId/resources/:resourceId

Request Parameters

  • intervals: Whether or not to include the by interval results. Defaults to true.

Response

{
   "resource":{
      "id":239,
      "createdAt":"2016-01-31T23:57:52.628Z",
      "updatedAt":"2016-01-31T23:57:52.629Z",
      "resource":"GET http://sample.testable.io/stocks/IBM/stocks/IBM"
   },
   "intervals": [],
   "summary":{
      "id":257943,
      "createdAt":"2016-03-10T19:00:56.030Z",
      "updatedAt":"2016-03-10T19:00:56.030Z",
      "executionId":725,
      "resourceId":239,
      "intervalStart":0,
      "iterationsExecuted":0,
      "count":100,
      "concurrentClients":0,
      "actualConcurrentClients":0,
      "maxConcurrentClients":0,
      "metrics":[
         {
            "metricDef":"httpResponseCode",
            "metricType":"Histogram",
            "metricValueMap":{
               "200":100
            }
         },
         {
            "metricDef":"httpMethod",
            "metricType":"Histogram",
            "metricValueMap":{
               "GET":100
            }
         },
         {
            "metricDef":"connectionOpenMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":3,
               "min":1,
               "p95":17,
               "max":33,
               "p99":28,
               "sd":5,
               "p50":2,
               "sum":311,
               "var":27
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bandwidth",
            "metricType":"Counter",
            "metricValue":17264,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"success",
            "metricType":"Counter",
            "metricValue":100,
            "metricUnits":"requests"
         },
         {
            "metricDef":"dataPacketsSent",
            "metricType":"Counter",
            "metricValue":100,
            "metricUnits":"packets"
         },
         {
            "metricDef":"connectionCloseMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":6,
               "min":3,
               "p95":19,
               "max":41,
               "p99":32,
               "sd":5,
               "p50":6,
               "sum":689,
               "var":31
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesReceived",
            "metricType":"Counter",
            "metricValue":9964,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dataPacketsReceived",
            "metricType":"Counter",
            "metricValue":200,
            "metricUnits":"packets"
         },
         {
            "metricDef":"firstReceivedMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":6,
               "min":3,
               "p95":19,
               "max":38,
               "p99":31,
               "sd":5,
               "p50":5,
               "sum":646,
               "var":29
            },
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesSent",
            "metricType":"Counter",
            "metricValue":7300,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"dnsLookupMs",
            "metricType":"Timing",
            "metricValueMap":{
               "count":100,
               "mean":1,
               "min":0,
               "p95":16,
               "max":31,
               "p99":27,
               "sd":5,
               "p50":1,
               "sum":193,
               "var":27
            },
            "metricUnits":"ms"
         }
      ]
   }
}

Get execution logs

Get all logging captured during execution either in JSON or text format.

GET /executions/:execution/logs[.txt]

Request Parameters

  • limit: Number of log entries to return. Returns all by default or if set to -1.

Response

JSON:

{
   "size":8,
   "logs":[
      {
         "id":38666,
         "level":"Info",
         "msg":"Execution started",
         "length":17,
         "isSystem":true,
         "createdAt":"2016-03-10T18:57:37.069Z",
         "updatedAt":"2016-03-10T18:57:37.091Z",
         "loggedAt":"2016-03-10T18:57:37.069Z"
      },
      {
         "id":38667,
         "level":"Info",
         "msg":"Allocating to agents in AWS N. Virginia",
         "length":39,
         "isSystem":true,
         "createdAt":"2016-03-10T18:57:37.100Z",
         "updatedAt":"2016-03-10T18:57:37.102Z",
         "loggedAt":"2016-03-10T18:57:37.100Z"
      },
      {
         "id":38668,
         "level":"Info",
         "msg":"Allocated to agents in AWS N. Virginia. Testing is underway",
         "length":59,
         "isSystem":true,
         "createdAt":"2016-03-10T18:57:37.160Z",
         "updatedAt":"2016-03-10T18:57:37.162Z",
         "loggedAt":"2016-03-10T18:57:37.160Z"
      },
      {
         "id":38669,
         "level":"Info",
         "msg":"Finished execution in AWS N. Virginia",
         "length":37,
         "isSystem":true,
         "createdAt":"2016-03-10T19:00:55.821Z",
         "updatedAt":"2016-03-10T19:00:55.823Z",
         "loggedAt":"2016-03-10T19:00:55.821Z"
      },
      {
         "id":38670,
         "level":"Info",
         "msg":"Finished execution globally, processing 200 results",
         "length":51,
         "isSystem":true,
         "createdAt":"2016-03-10T19:00:55.846Z",
         "updatedAt":"2016-03-10T19:00:55.848Z",
         "loggedAt":"2016-03-10T19:00:55.846Z"
      },
      {
         "id":38671,
         "level":"Info",
         "msg":"Analyzing and aggregating results",
         "length":33,
         "isSystem":true,
         "createdAt":"2016-03-10T19:00:55.980Z",
         "updatedAt":"2016-03-10T19:00:55.984Z",
         "loggedAt":"2016-03-10T19:00:55.980Z"
      },
      {
         "id":38672,
         "level":"Info",
         "msg":"Finished processing results, cleaning up resources",
         "length":50,
         "isSystem":true,
         "createdAt":"2016-03-10T19:00:56.805Z",
         "updatedAt":"2016-03-10T19:00:56.807Z",
         "loggedAt":"2016-03-10T19:00:56.805Z"
      },
      {
         "id":38673,
         "level":"Info",
         "msg":"Test completed",
         "length":14,
         "isSystem":true,
         "createdAt":"2016-03-10T19:00:56.809Z",
         "updatedAt":"2016-03-10T19:00:56.813Z",
         "loggedAt":"2016-03-10T19:00:56.809Z"
      }
   ]
}

Text:

2016-03-10T18:57:37.069Z INFO Execution started
2016-03-10T18:57:37.100Z INFO Allocating to agents in AWS N. Virginia
2016-03-10T18:57:37.160Z INFO Allocated to agents in AWS N. Virginia. Testing is underway
2016-03-10T19:00:55.821Z INFO Finished execution in AWS N. Virginia
2016-03-10T19:00:55.846Z INFO Finished execution globally, processing 200 results
2016-03-10T19:00:55.980Z INFO Analyzing and aggregating results
2016-03-10T19:00:56.805Z INFO Finished processing results, cleaning up resources
2016-03-10T19:00:56.809Z INFO Test completed

Get execution traces

Get all connection traces captured as part of this execution. Traces allow you to see exactly what happened during a connection including metrics, data sent, and data received.

Can also be retrieved for one region where the test executed. Note that the regionId can be found in the execution details at regions[i].id.

GET /executions/:execution/traces
GET /executions/:execution/regions/:regionId/traces

Request Parameters

  • limit: Number of traces to return. Returns all by default or if set to -1.
  • offset: Offset within the results to start the response. Defaults to 0. When combined with limit it is useful for paging through the results.

Response

[
   {
      "id":430,
      "length":219,
      "createdAt":"2016-03-19T19:42:36.889Z",
      "updatedAt":"2016-03-19T19:42:36.889Z",
      "traceAt":"2016-03-19T19:42:32.466Z",
      "status":"301",
      "regionId":857,
      "resource":"GET http://google.com/"
   },
   {
      "id":431,
      "length":0,
      "createdAt":"2016-03-19T19:42:37.471Z",
      "updatedAt":"2016-03-19T19:42:37.471Z",
      "traceAt":"2016-03-19T19:42:32.477Z",
      "status":"204",
      "regionId":857,
      "resource":"GET http://www.google.com/client_204?&atyp=i&biw=400&bih=300&ei=92LgVrP-Bszb-QHPlZXoCA"
   }
]

Get execution trace

Get all details of a trace captured as part of this execution. Traces allow you to see exactly what happened during a connection including metrics, data sent, and data received.

Packet data is base64 encoded. In Javascript it can be decoded using atob(data).

GET /execution-traces/:id

Request Parameters

  • up: Whether or not to return the parent entity, the execution region in this case. Defaults to true.
  • down: Whether or not to return the child entities, the trace packets in this case. Defaults to true.
  • includeResult: Whether or not to return the result metrics captured during this connection. Defaults to true.

Response

{
   "id":430,
   "length":219,
   "createdAt":"2016-03-19T19:42:36.889Z",
   "updatedAt":"2016-03-19T19:42:36.889Z",
   "traceAt":"2016-03-19T19:42:32.466Z",
   "status":"301",
   "regionId":857,
   "resource":"GET http://google.com/",
   "result":{
      "id":1455678,
      "createdAt":"2016-03-19T19:42:36.763Z",
      "updatedAt":"2016-03-19T19:42:36.767Z",
      "executionId":809,
      "executionRegionId":857,
      "chunkId":813,
      "connectionId":"5ab973d0-e828-4049-a03b-56017710c5b8",
      "agentId":"3cd00a3a-0387-42a0-be1d-85d6899008d1",
      "threadId":"86ebef43-11a2-400e-8f60-48729000e39f",
      "timestamp":"2016-03-19T19:42:32.466Z",
      "resource":{
         "id":1,
         "createdAt":"2015-08-11T17:06:34.780Z",
         "updatedAt":"2015-08-11T17:06:34.781Z",
         "resource":"GET http://google.com/"
      },
      "metrics":[
         {
            "metricDef":"dnsLookupMs",
            "metricType":"Timing",
            "metricValue":19,
            "metricUnits":"ms"
         },
         {
            "metricDef":"connectionOpenMs",
            "metricType":"Timing",
            "metricValue":22,
            "metricUnits":"ms"
         },
         {
            "metricDef":"firstReceivedMs",
            "metricType":"Timing",
            "metricValue":47,
            "metricUnits":"ms"
         },
         {
            "metricDef":"httpMethod",
            "metricType":"Histogram",
            "metricKey":"GET",
            "metricValue":1
         },
         {
            "metricDef":"dataPacketsReceived",
            "metricType":"Counter",
            "metricValue":2,
            "metricUnits":"packets"
         },
         {
            "metricDef":"httpResponseCode",
            "metricType":"Histogram",
            "metricKey":"301",
            "metricValue":1
         },
         {
            "metricDef":"success",
            "metricType":"Counter",
            "metricValue":1,
            "metricUnits":"requests"
         },
         {
            "metricDef":"connectionCloseMs",
            "metricType":"Timing",
            "metricValue":50,
            "metricUnits":"ms"
         },
         {
            "metricDef":"bytesSent",
            "metricType":"Counter",
            "metricValue":300,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"bytesReceived",
            "metricType":"Counter",
            "metricValue":540,
            "metricUnits":"bytes"
         },
         {
            "metricDef":"bandwidth",
            "metricType":"Counter",
            "metricValue":840,
            "metricUnits":"bytes"
         }
      ]
   },
   "packets":[
      {
         "id":2370,
         "length":0,
         "packetType":"DnsLookup",
         "dataLength":0,
         "createdAt":"2016-03-19T19:42:36.896Z",
         "updatedAt":"2016-03-19T19:42:36.896Z",
         "packetAt":"2016-03-19T19:42:32.484Z",
         "lastPacketAt":"2016-03-19T19:42:32.484Z"
      },
      {
         "id":2371,
         "length":0,
         "packetType":"ConnectionOpened",
         "dataLength":0,
         "createdAt":"2016-03-19T19:42:36.896Z",
         "updatedAt":"2016-03-19T19:42:36.896Z",
         "packetAt":"2016-03-19T19:42:32.488Z",
         "lastPacketAt":"2016-03-19T19:42:32.488Z"
      },
      {
         "id":2372,
         "length":0,
         "packetType":"DataSent",
         "headers":"{\"User-Agent\":\"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.7 Safari/534.34\",\"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\"Connection\":\"Keep-Alive\",\"Accept-Encoding\":\"gzip\",\"Accept-Language\":\"en-US,*\",\"Host\":\"google.com\"}",
         "dataLength":0,
         "createdAt":"2016-03-19T19:42:36.896Z",
         "updatedAt":"2016-03-19T19:42:36.896Z",
         "packetAt":"2016-03-19T19:42:32.488Z",
         "lastPacketAt":"2016-03-19T19:42:32.488Z"
      },
      {
         "id":2373,
         "length":219,
         "packetType":"DataReceived",
         "headers":"{\"location\":\"http://www.google.com/\",\"content-type\":\"text/html; charset=UTF-8\",\"date\":\"Sat, 19 Mar 2016 19:42:32 GMT\",\"expires\":\"Mon, 18 Apr 2016 19:42:32 GMT\",\"cache-control\":\"public, max-age=2592000\",\"server\":\"gws\",\"content-length\":\"219\",\"x-xss-protection\":\"1; mode=block\",\"x-frame-options\":\"SAMEORIGIN\"}",
         "data":"PEhUTUw+PEhFQUQ+PG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7Y2hhcnNldD11dGYtOCI+CjxUSVRMRT4zMDEgTW92ZWQ8L1RJVExFPjwvSEVBRD48Qk9EWT4KPEgxPjMwMSBNb3ZlZDwvSDE+ClRoZSBkb2N1bWVudCBoYXMgbW92ZWQKPEEgSFJFRj0iaHR0cDovL3d3dy5nb29nbGUuY29tLyI+aGVyZTwvQT4uDQo8L0JPRFk+PC9IVE1MPg0K",
         "dataLength":219,
         "createdAt":"2016-03-19T19:42:36.896Z",
         "updatedAt":"2016-03-19T19:42:36.896Z",
         "packetAt":"2016-03-19T19:42:32.513Z",
         "lastPacketAt":"2016-03-19T19:42:32.515Z"
      },
      {
         "id":2374,
         "length":0,
         "packetType":"ConnectionClosed",
         "dataLength":0,
         "createdAt":"2016-03-19T19:42:36.896Z",
         "updatedAt":"2016-03-19T19:42:36.896Z",
         "packetAt":"2016-03-19T19:42:32.517Z",
         "lastPacketAt":"2016-03-19T19:42:32.517Z"
      }
   ]
}

Start execution

Starts a new execution of the test configuration.

POST /test-confs/:confId/executions

Request Parameters

None. All configuration parameters are captured when creating the test configuration.

Response

{
   "id":735,
   "createdAt":"2016-03-12T05:15:38.160Z",
   "updatedAt":"2016-03-12T05:15:38.179Z",
   "running":false,
   "allocated":false,
   "cancelledByUser":false,
   "completed":false,
   "summaryCalculated":false,
   "limitBreached":false,
   "iterations":20,
   "iterationSleepSecs":10,
   "rampupSecs":0,
   "regions":[
      {
         "id":773,
         "createdAt":"2016-03-12T05:15:38.192Z",
         "updatedAt":"2016-03-12T05:15:38.192Z",
         "running":false,
         "completed":false,
         "concurrentClients":5,
         "actualConcurrentClients":5,
         "expectedResultCount":100,
         "region":{
            "id":1,
            "createdAt":"2015-08-11T17:03:34.761Z",
            "updatedAt":"2015-08-11T17:03:34.761Z",
            "name":"aws-us-east-1",
            "public":true,
            "latitude":39.0436,
            "longitude":-77.4878,
            "description":"AWS N. Virginia",
            "active":true
         }
      }
   ],
   "concurrentClients":5,
   "actualConcurrentClients":5,
   "expectedResultCount":100,
   "scriptParams":"{}",
   "script":{
      "id":273,
      "createdAt":"2016-02-18T19:00:46.862Z",
      "updatedAt":"2016-03-09T08:10:44.945Z",
      "name":"Default Scenario",
      "length":97,
      "hasInit":false,
      "hasTeardown":false,
      "scriptType":"Code"
   }
}

Check if execution exists

HEAD /executions/:id

Response

HTTP Status: 200 OK or 404 NOT FOUND

Start execution

Request to start the execution. Note that creating and starting an execution are two steps.

PATCH /executions/:id/start

Request Parameters

None

Response

{
   "updatedAt":"2016-03-12T05:15:41.830Z",
   "iterationSleepSecs":10,
   "allocated":false,
   "limitBreached":false,
   "running":true,
   "summaryCalculated":false,
   "rampupSecs":0,
   "actualConcurrentClients":5,
   "regions":[
      {
         "updatedAt":"2016-03-12T05:15:38.192Z",
         "running":false,
         "actualConcurrentClients":5,
         "id":773,
         "completed":false,
         "createdAt":"2016-03-12T05:15:38.192Z",
         "region":{
            "name":"aws-us-east-1",
            "updatedAt":"2015-08-11T17:03:34.761Z",
            "latitude":39.0436,
            "description":"AWS N. Virginia",
            "public":true,
            "longitude":-77.4878,
            "id":1,
            "createdAt":"2015-08-11T17:03:34.761Z",
            "active":true
         },
         "concurrentClients":5,
         "expectedResultCount":100
      }
   ],
   "id":735,
   "completed":false,
   "scriptParams":"{}",
   "cancelledByUser":false,
   "createdAt":"2016-03-12T05:15:38.160Z",
   "startedAt":"2016-03-12T05:15:41.829Z",
   "script":{
      "name":"Default Scenario",
      "updatedAt":"2016-03-09T08:10:44.945Z",
      "hasTeardown":false,
      "scriptType":"Code",
      "id":273,
      "createdAt":"2016-02-18T19:00:46.862Z",
      "length":97,
      "hasInit":false
   },
   "iterations":20,
   "concurrentClients":5,
   "expectedResultCount":100
}

Stop execution

Request to stop the execution before it completes. Note that once the execution is stopped it will take a little while before it has completed: true status due to cleanup, result aggregation, etc.

PATCH /executions/:id/stop

Request Parameters

None

Response

{
   "updatedAt":"2016-03-12T05:15:41.830Z",
   "iterationSleepSecs":10,
   "allocated":false,
   "limitBreached":false,
   "running":false,
   "summaryCalculated":false,
   "rampupSecs":0,
   "actualConcurrentClients":5,
   "regions":[
      {
         "updatedAt":"2016-03-12T05:15:38.192Z",
         "running":false,
         "actualConcurrentClients":5,
         "id":773,
         "completed":false,
         "createdAt":"2016-03-12T05:15:38.192Z",
         "region":{
            "name":"aws-us-east-1",
            "updatedAt":"2015-08-11T17:03:34.761Z",
            "latitude":39.0436,
            "description":"AWS N. Virginia",
            "public":true,
            "longitude":-77.4878,
            "id":1,
            "createdAt":"2015-08-11T17:03:34.761Z",
            "active":true
         },
         "concurrentClients":5,
         "expectedResultCount":100
      }
   ],
   "id":735,
   "completed":false,
   "scriptParams":"{}",
   "cancelledByUser":true,
   "createdAt":"2016-03-12T05:15:38.160Z",
   "startedAt":"2016-03-12T05:15:41.829Z",
   "finishedAt":"2016-03-12T05:15:42.736Z",
   "script":{
      "name":"Default Scenario",
      "updatedAt":"2016-03-09T08:10:44.945Z",
      "hasTeardown":false,
      "scriptType":"Code",
      "id":273,
      "createdAt":"2016-02-18T19:00:46.862Z",
      "length":97,
      "hasInit":false
   },
   "iterations":20,
   "concurrentClients":5,
   "expectedResultCount":100
}

Delete execution

Delete this execution. Only works once the execution is completed. If you want to delete before it completes, please stop first and wait until the completed field is true.

DELETE /executions/:id

Response

The deleted execution

{
   "updatedAt":"2016-03-12T05:15:41.830Z",
   "iterationSleepSecs":10,
   "allocated":true,
   "limitBreached":false,
   "running":false,
   "summaryCalculated":true,
   "rampupSecs":0,
   "actualConcurrentClients":5,
   "regions":[
      {
         "updatedAt":"2016-03-12T05:15:38.192Z",
         "running":false,
         "actualConcurrentClients":5,
         "id":773,
         "completed":true,
         "createdAt":"2016-03-12T05:15:38.192Z",
         "region":{
            "name":"aws-us-east-1",
            "updatedAt":"2015-08-11T17:03:34.761Z",
            "latitude":39.0436,
            "description":"AWS N. Virginia",
            "public":true,
            "longitude":-77.4878,
            "id":1,
            "createdAt":"2015-08-11T17:03:34.761Z",
            "active":true
         },
         "concurrentClients":5,
         "expectedResultCount":100
      }
   ],
   "id":735,
   "completed":true,
   "scriptParams":"{}",
   "cancelledByUser":true,
   "createdAt":"2016-03-12T05:15:38.160Z",
   "startedAt":"2016-03-12T05:15:41.829Z",
   "finishedAt":"2016-03-12T05:15:42.736Z",
   "script":{
      "name":"Default Scenario",
      "updatedAt":"2016-03-09T08:10:44.945Z",
      "hasTeardown":false,
      "scriptType":"Code",
      "id":273,
      "createdAt":"2016-02-18T19:00:46.862Z",
      "length":97,
      "hasInit":false
   },
   "iterations":20,
   "concurrentClients":5,
   "expectedResultCount":100
}