WebPagetest Forums
Automate web page test - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Automate web page test (/showthread.php?tid=12384)



Automate web page test - Rupesh - 07-03-2013 06:14 AM

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.


RE: Automate web page test - andydavies - 07-03-2013 07:23 AM

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.org/docs/advanced-features/webpagetest-restful-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


RE: Automate web page test - braincracking - 07-04-2013 01:25 AM

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.org/docs/using-webpagetest/scripting


RE: Automate web page test - Rupesh - 07-05-2013 01:36 AM

Thanks Andy and Vincent for suggestions.
I have started exploring Marcel's API.


RE: Automate web page test - dcross-rea - 08-23-2013 05:04 PM

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