Skip to Main Content
Using WebPageTest
book

Using WebPageTest

by Rick Viscomi, Andy Davies, Marcel Duran
October 2015
Beginner content levelBeginner
214 pages
4h 30m
English
O'Reilly Media, Inc.
Content preview from Using WebPageTest

Appendix A. API Input/Output Reference Guide

Examples of Test Results

The following are the verbose output of examples used in Chapter 9.

When Test Is Not Complete

When requesting test results on an unfinished/unstarted test, you may get a partial response:

{
  "data": {
    "statusCode": 100,
    "statusText": "Test Started 4 seconds ago",
    "id": "150109_DE_ZW7",
    "testInfo": {
      "url": "http://www.example.com",
      "runs": 1,
      "fvonly": 0,
      "web10": 0,
      "ignoreSSL": 0,
      "label": "",
      "priority": 5,
      "location": "Dulles:Chrome",
      "browser": "Chrome",
      "connectivity": "Cable",
      "bwIn": 5000,
      "bwOut": 1000,
      "latency": 28,
      "plr": "0",
      "tcpdump": 0,
      "timeline": 0,
      "trace": 0,
      "bodies": 0,
      "netlog": 0,
      "standards": 0,
      "noscript": 0,
      "pngss": 0,
      "iq": 0,
      "keepua": 0,
      "mobile": 0,
      "scripted": 0
    },
    "testId": "150109_DE_ZW7",
    "runs": 1,
    "fvonly": 0,
    "remote": false,
    "testsExpected": 1,
    "location": "Dulles:Chrome",
    "startTime": "01/09/15 17:51:16",
    "elapsed": 4,
    "fvRunsCompleted": 0,
    "rvRunsCompleted": 0,
    "testsCompleted": 0
  },
  "statusCode": 100,
  "statusText": "Test Started 4 seconds ago"
}

When Test Is Complete

The following is the complete test results used in the Chapter 9 examples. Some repetitive data is replaced by detailed comments for code readability:

Warning

Test result properties may change upon new releases of WebPageTest. Metrics may be added, removed, renamed, or moved. Check WebPageTest releases for more details.

{
  "data": {
    "id": "150109_DE_ZW7",
    "url": "http://www.example.com",
    "summary":
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reducing MTTD for High-Severity Incidents

Reducing MTTD for High-Severity Incidents

Tammy Bütow, Michael Kehoe, Jay Holler, Rodney Lester, Ramin Keene, Jordan Pritchard

Publisher Resources

ISBN: 9781491902783Errata Page