MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Parallel test execution from mobile agents

WebPagetest Forums

Full Version: Parallel test execution from mobile agents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Patrick,

I have installed and set up mobile agents on multiple android and ios devices. Each of these picks up the job from WPT Server & generates the respective report and works fine individually.

However, I intend to two things:

1) Run the test in parallel (exactly the same time) from all these devices and want the results to be published to the server for each of these devices.

2) Invoke the test from the WPT Server from commandline

Can you please let me know what configurations can be done to achieve the aforementioned objectives.

Regards,
Neha
(04-08-2013 09:33 PM)Neha Wrote: [ -> ]Hi Patrick,

I have installed and set up mobile agents on multiple android and ios devices. Each of these picks up the job from WPT Server & generates the respective report and works fine individually.

However, I intend to two things:

1) Run the test in parallel (exactly the same time) from all these devices and want the results to be published to the server for each of these devices.

WebPagetest doesn't have a way to coordinate the tests to execute at EXACTLY the same time. The best you can do with it is to submit both tests simultaneously and if the test agents don't have other work to do they should run the test within 15 seconds of each other (that is usually the polling interval).

Quote:2) Invoke the test from the WPT Server from commandline

WPT has a REST API that you can trigger with CURL/wget or just about anything else: https://sites.google.com/a/webpagetest.o...stful-apis

There is a node.js wrapper that makes it pretty easy to use from the command-line: https://npmjs.org/package/webpagetest
Thanks Patrick for the reply. Test Execution at even NEAR instant time will work.

However one another query, I tried running tests at NEARLY the same time from two devices. I also noticed 'Publishing Results' from these two devices at nearly the same instant, but I did not get separate test results for the same. Looks like it had overwritten the same result location.

Getting separate results on WPT Server for the NEAR parallel test execution from all the devices is very crucial. Can you please help me with this?
The two different tests would have been assigned different test ID's and the results would be on different URLs.
Reference URL's