WebPagetest Forums

Full Version: Automate web page test
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am thinking of automating web page test for my site. Just like selenium API are there APIs in web page test, which can be used to automate test locations, browsers or advanced settings.
There are a few approaches you can take:

- speedcurve.com is a commercial service that's currently in beta to monitor site performance

- webpagetest has an REST(ish) API (https://sites.google.com/a/webpagetest.o...stful-apis) that you can use to drive the testing and there are tools that use it such as

- WPT Monitor
- Marcel Duran's node driver - https://github.com/marcelduran/webpagetest-api
- HTTP Archive

- There are also python tool to drive the API the repo

I'd probably start playing with Marcel's stuff first
You can use WPT monitor.
I forked a version here https://github.com/jpvincent/WPT-server/
With that you can trigger at regular time tests, see results on graphic, have alerts…

for scripting capabilities (for each test), see https://sites.google.com/a/webpagetest.o.../scripting
Thanks Andy and Vincent for suggestions.
I have started exploring Marcel's API.
Hey braincracking, nice to keep work up on WPTMonitor, it is a bit of a pity that it is otherwise abandoned.

However as I am desiring to run the official WPT releases and add WPT Monitor, it is a little cumbersome to have to download the entire repo just for one subdirectory. I will have a go with it anyhow Smile
Reference URL's