Current time: 12-17-2017, 06:25 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding more than 1 URL in a Single Script
07-31-2013, 03:44 PM (This post was last modified: 07-31-2013 08:17 PM by viveksingh98.)
Post: #1
Adding more than 1 URL in a Single Script
Hi,

I was just curious to know if we can add more than one URL in a single script using WPT Private Instance? Is it possible??

Thanks!
Find all posts by this user
Quote this message in a reply
07-31-2013, 10:49 PM
Post: #2
RE: Adding more than 1 URL in a Single Script
What are you trying to do? You can have more than one URL in a script on the public instance if you use multiple navigate commands (though you probably only want to measure one of them because the results get confusing otherwise).

If you are just trying to test a bunch of URLs then private instances have a "Bulk Test" tab in the advanced settings where you can paste in a list of URLs to test and you can download a CSV with the results for all of them.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-01-2013, 01:48 PM (This post was last modified: 08-01-2013 01:49 PM by viveksingh98.)
Post: #3
RE: Adding more than 1 URL in a Single Script
Oh! I got that Pat!!
In Scripts you can only navigate from one URL to another. In order to test many URLs at a time we can make use of "Bulk Testing". Fantastic! This is what i wanted. Thanks!!!
Find all posts by this user
Quote this message in a reply
08-02-2013, 04:51 PM
Post: #4
RE: Adding more than 1 URL in a Single Script
The reason why i asked this question was because i wanted to create just one job which would execute "bulk Urls" when i schedule a run via wpt monitor jobprocessor instead of creating a job for each Url.

Navigating between the urls inside the script would make the result very confusing for obvious reasons.

I can make use of "Bulk Testing" but again that will have to be done manually. I was looking for an automated solution which i can schedule everyday. I know i can schedule the jobs using the jobprocessor key on WPT Monitor but it executes all the jobs that are created in the private instance rather than the ones which i specifically want to target.

I appreciate your help with this Patrick!
Find all posts by this user
Quote this message in a reply
08-02-2013, 11:22 PM
Post: #5
RE: Adding more than 1 URL in a Single Script
It sounds like you really should be using the API to do your testing and then just schedule whatever you need done in cron or something like that. Running the tests isn't terribly difficult, what you want to do with the results once the tests have been run is the bigger question. You can run the tests directly on the command line with a simple wget or if you want to have it pull back the results you can use Marcel's NodeJS wrapper: https://github.com/marcelduran/webpagetest-api

You could potentially set up a private instance of showslow and just have the test results beaconed to the showslow instance if you want to get some trending.
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: 1 Guest(s)