Current time: 09-23-2020, 06:42 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parallel test execution from mobile agents
04-08-2013, 09:33 PM
Post: #1
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
Find all posts by this user
Quote this message in a reply
04-09-2013, 01:57 AM
Post: #2
RE: Parallel test execution from mobile agents
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-09-2013, 04:45 AM
Post: #3
RE: Parallel test execution from mobile agents
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?
Find all posts by this user
Quote this message in a reply
04-09-2013, 05:13 AM
Post: #4
RE: Parallel test execution from mobile agents
The two different tests would have been assigned different test ID's and the results would be on different URLs.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)