Parallel test execution from mobile agents

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

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).

WPT has a REST API that you can trigger with CURL/wget or just about anything else: Sign in - Google Accounts

There is a node.js wrapper that makes it pretty easy to use from the command-line: webpagetest - npm

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.