This command-line tool performs simple one-off batch testing. It loads the set of URLs in the input file as a batch, submits all of them to WebPageTest server which performs the tests, and then downloads the results of the successful tests and reports the failing tests. This tool is mainly implemented by the APIs in our batch processing library and hence can also serves as a sample usage of the batch processing APIs.
This test uses all default configurations. The script reads the ./urls.txt file, submits all of them to http://latencylab WPT server and saves the results (in XML format) in the directory ./result. All the tests are repeated 9 times with DSL connection without packet loss
This test loads the URLs from /foo/bar/urls.txt. All the tests are repeated 3 times with 384kbps upload bandwidth, 1500kbps download bandwidth, 100ms round-trip time, and packet loss rate 1%.
The content of /foo/urls.txt:
The content of script.txt:
The test uses the login information in the script to enter that gmail account and the result shows the latency of the after-login page gotten loaded.
Developer Interfaces >