GET   selfservicejobs/{selfServiceJobId}/summary

Retrieve a range of summary statistics of a completed job.

URL Parameters

NameDescription
selfServiceJobId

The ID of the self service job. This must be a positive integer

Remarks

The statistics will only be available for successfully completed jobs.
Those jobs which finished with an exception will have null values in the JSON response.

Response body model example and description

{
  "Status message": "Loadtest job completed.",
  "Timestamp": "2016-02-23 13:09:19.2528694 +01:00",
  "Message ID": "22b90fe0-57e6-41ea-856a-13e033274806",
  "Self service job id": 153758.0,
  "Project id": 200,
  "Project name": "Some project name",
  "Instance id": 300,
  "Instance name": "Some instance name",
  "Link to testresults": "http://loadtest.apicasystem.com/results/TestResultDetails?testResultId=10&testInstanceId=23",
  "Test metadata": {
    "Concurrent users": 10,
    "Test agent": "large_cluster_USA",
    "Test programme": "my_scenario",
    "Configuration": "long_test_california or None if no preset was selected",
    "Test sequence times": "2016-02-23 06:36:05 - 2016-02-23 06:37:16",
    "Test duration (sec)": 128,
    "Test start date": "2016-02-23 06:36:05.4470000 +01:00",
    "Test end date": "2016-02-23 06:37:16.5170000 +01:00"
  },
  "Performance summary": {
    "Total passed loops": 14,
    "Total failed loops": 3,
    "Session failure rate (soft errors, %)": 57.0,
    "Url error rate (hard errors, %)": 12.0,
    "Average network throughput": "362,94",
    "Avg. network throughput unit of measurement": "KBit/s",
    "Average session time per loop (s)": 136.0,
    "Average response time per loop (s)": 16.0,
    "Web transaction rate (Hits/s)": 30.0,
    "Average response time per page (s)": 8.0,
    "Total http(s) calls": 243,
    "Http keep-alive efficiency": 963.0,
    "Avg network connect time (ms)": 46,
    "Total transmitted bytes": 3224274
  },
  "Url summary": {
    "Number of URLs": 3,
    "Ten worst URLs": [
      {
        "Url index": 3,
        "Average response time (ms)": 138,
        "Page number": 1,
        "Url": "http://cldemo.apicasystem.com:80/Images/img.jpg"
      },
      {
        "Url index": 3,
        "Average response time (ms)": 138,
        "Page number": 1,
        "Url": "http://cldemo.apicasystem.com:80/Images/img.jpg"
      },
      {
        "Url index": 3,
        "Average response time (ms)": 138,
        "Page number": 1,
        "Url": "http://cldemo.apicasystem.com:80/Images/img.jpg"
      }
    ],
    "Url type division": [
      {
        "Url type": "Image",
        "Count": 3,
        "% (Of type)": 7037.0,
        "% (Of time)": 6899.0
      },
      {
        "Url type": "Image",
        "Count": 3,
        "% (Of type)": 7037.0,
        "% (Of time)": 6899.0
      },
      {
        "Url type": "Image",
        "Count": 3,
        "% (Of type)": 7037.0,
        "% (Of time)": 6899.0
      }
    ]
  },
  "Url error summary": {
    "Total url errors": 5,
    "Url errors": [
      {
        "Url": "GET http://sifomedia.citypaketet.se:80",
        "Page": 2,
        "Error type": "Bad HTTP Status",
        "Status text": "200 / OK",
        "Failure frequency": 38,
        "Seconds into test": 157
      },
      {
        "Url": "GET http://sifomedia.citypaketet.se:80",
        "Page": 2,
        "Error type": "Bad HTTP Status",
        "Status text": "200 / OK",
        "Failure frequency": 38,
        "Seconds into test": 157
      },
      {
        "Url": "GET http://sifomedia.citypaketet.se:80",
        "Page": 2,
        "Error type": "Bad HTTP Status",
        "Status text": "200 / OK",
        "Failure frequency": 38,
        "Seconds into test": 157
      }
    ]
  },
  "exception": "An exception was encountered during execution: {exception details...}"
}
Name Type Description
Status message String

The status of the job

Timestamp String

UTC date of job completion

Message ID String

API message ID

Self service job id Float

The ID of the requested job

Project id Integer

The ID of the project

Project name String

The name of the project

Instance id Integer

The ID of the test instance

Instance name String

The name of the test instance

Link to testresults String

Web link to the full test results in LTP

Test metadata Object

Basic test result description

Concurrent users Integer

The max number of simulated users achieved during the load test

Test agent String

The test cluster name selected for the load test

Test programme String

The scenario file name selected for the load test

Configuration String

The name of the preset if a preset was used to start the load test

Test sequence times String

The UTC start and end dates of the test

Test duration (sec) Integer

The total duration of the load test in seconds

Test start date String

The UTC start date of the test

Test end date String

The UTC end date of the test

Performance summary Object

Job performance summary

Total passed loops Integer

Total passed loops

Total failed loops Integer

Total failed loops

Session failure rate (soft errors, %) Float

Session failure rate

Url error rate (hard errors, %) Float

Url error rate

Average network throughput String

Average network throughput

Avg. network throughput unit of measurement String

Average network throughput unit of measurement

Average session time per loop (s) Float

Average session time per loop

Average response time per loop (s) Float

Average response time per loop

Web transaction rate (Hits/s) Float

Web transaction rate

Average response time per page (s) Float

Average response time per page

Total http(s) calls Integer

Total http(s) calls

Http keep-alive efficiency Float

Http keep-alive efficiency

Avg network connect time (ms) Integer

Avg network connect time

Total transmitted bytes Integer

Total transmitted bytes

Url summary Object

Summary over the URLs registered during the load test

Number of URLs Integer

The number of URLs

Ten worst URLs Object

The 10 URLs with the longest response times

Url index Integer

Url index

Average response time (ms) Integer

Average response time of the URL in millis

Page number Integer

THe page on which the URL was registered

Url String

The URL

Url type division Object

The types of URLs encountered during the load test, e.g. .js, .css, .html

Url type String

The URL type description

Count Integer

Number of URLs of this type

% (Of type) Float

The portion of this type among all URLs

% (Of time) Float

The portion of this type in the total response time

Url error summary Object

URL errors encountered during the load test

Total url errors Integer

The number of URL errors

Url errors Object

The list of URL errors

Url String

The error web method and URL

Page Integer

The page number of the URL

Error type String

The error type description

Status text String

Web response description

Failure frequency Integer

The number of times this URL has failed

Seconds into test Integer

The time when this error occurred measured by the number of seconds passed since the beginning of the test

exception String

Any exception that arose during the function call. In case no exception was thrown this will be an empty string.

;