Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.21 KB

go-webpagetest

go-webpagetest is a simple library to interface with the WebPageTest RestAPI

Build Status GoDoc

Features

  • Tests

    • create tests and submit them to a webpagetest instance
    • poll tests as they run and have the results automatically unmarshalled to the Test struct
    • retrieve historic test results from the API by Request ID
  • Locations

    • list available test locations
    • get the default location tests are run

Install

You can install this library with go get

go get github.com/ajcrowe/go-webpagetest

Then import

import (
	"github.com/ajcrowe/go-webpagetest"
)

Examples

You can find some examples in the examples folder for usage

Variable Name Changes

A number of variables were renamed to correct casing such as Id -> ID and Url -> URL if you want to continuing using these please see the old-variable-name branch