Current time: 12-16-2017, 08:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configurable Timeouts?
09-14-2011, 06:15 AM
Post: #1
Configurable Timeouts?
Is it possible to set a configurable timeouts for urlBlaster.exe and wptdriver.exe? In the private instance I am running against various QA environments which can for many reasons be in various states of broken which can cause pages to hang for unreasonable lengths of time. Is there a parameter which can cause it to give up waiting?

I am looking to hit a very large number of URLs with a lot of different browsers and I do not want the jobs backing up on stuck connections.

My other question I had for the forum, about how long does it take the wptdriver on your node(s) to test a URL? I have noticed it is rather slow on mine. It says launching... for a very significant length of time before it actually Chrome fires sometimes as long as 20-30 seconds.

Thoughts? Suggestions?
Find all posts by this user
Quote this message in a reply
09-14-2011, 06:22 AM
Post: #2
RE: Configurable Timeouts?
The timeouts are configured in urlblast.ini and wptdriver.ini. They default to 2 minutes and are in seconds.

Urlblast.ini:
Code:
Timeout=120

wptdriver.ini:
Code:
time limit=60

wow, Chrome pretty much launches instantly on mine. Any chance it is running in a VM with lots of disk contention?

Check the exe path and try launching chrome manually - does it take a while as well?

If you're using Antivirus on the system, which one?

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
09-15-2011, 01:58 AM (This post was last modified: 09-15-2011 02:57 AM by Aaron Kulick.)
Post: #3
RE: Configurable Timeouts?
Patrick,

Launch times from run bar for example are near instantaneous. The Anti-Virus solution here at the office is McAfee VirusScan Enterprise version 8.7i.

Let me investigate further. The time out parameters wil come in extremely handy. I appreciate it.

On a side note, I see that the forum "Documentation" link connects to webperformancecentral.com instead of the new google sites page. I would be happy to help update the docs with additional and examples, etc. Would you like me to prepare something to submit to the google docs site or should I post to the wiki?

Aaron
Find all posts by this user
Quote this message in a reply
09-15-2011, 02:26 AM
Post: #4
RE: Configurable Timeouts?
Oh, thanks. The header bar in the forums is hard-coded and I forgot to update it (doing it now). If you ping me offline I can give you access to edit the sites page (I'm moving off of the wiki because there was a huge spam problem).

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
11-04-2011, 03:49 AM
Post: #5
RE: Configurable Timeouts?
Hi Patrick, so I added a line in wptdriver.ini time limit=120 under [WebPageTest]. However, when I restart wptdriver, it still says "Waiting up to 480 seconds for the test to complete". Is there another place I have to change in order to get this to work?
Find all posts by this user
Quote this message in a reply
11-04-2011, 05:11 AM
Post: #6
RE: Configurable Timeouts?
120 seconds is the default timeout which is a soft timeout for the test itself. wptdriver's timeout is a multiple of that (should have been 2x, not 4x) and is a hard timeout where the browser process will be terminated if it doesn't complete by then. The extra buffer is to allow for optimization checks and things like that to be done.

Are you trying to make it longer or shorter?
Visit this user's website Find all posts by this user
Quote this message in a reply
11-04-2011, 05:19 AM
Post: #7
RE: Configurable Timeouts?
(11-04-2011 05:11 AM)pmeenan Wrote:  120 seconds is the default timeout which is a soft timeout for the test itself. wptdriver's timeout is a multiple of that (should have been 2x, not 4x) and is a hard timeout where the browser process will be terminated if it doesn't complete by then. The extra buffer is to allow for optimization checks and things like that to be done.

Are you trying to make it longer or shorter?

Thank you for the quick response. I would like to make the time limit shorter. Is there a way to make the wptdriver's timout to be 2x the default timeout instead of 4x?
Find all posts by this user
Quote this message in a reply
01-13-2015, 07:20 AM
Post: #8
RE: Configurable Timeouts?
Hey Patrick -

I see where to do this in https://github.com/WPO-Foundation/webpag...ini.sample

However I'm wondering if there's an easy way to do this when spinning up an EC2 instance. Can we pass a timeout variable for the user data, or will we have to login, change, and then restart every agent we spin up if we want to override default timeouts?

Thanks!
Find all posts by this user
Quote this message in a reply
01-13-2015, 11:37 PM
Post: #9
RE: Configurable Timeouts?
There is a test option "time" that can be used to set the timeout on a per-test basis (not documented because I was a bit worried about abuse but it's there). It would be really easy to add some server-side logic in runtest.php to set it automatically from settings.ini so you could have a different default timeout specified on the server.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2015, 04:16 AM
Post: #10
RE: Configurable Timeouts?
Thanks! I just tried passing that with a few different values and I'm not seeing a difference. Is the value of 'time' in seconds or milliseconds? Is there a min/max that can't be overridden?

PS - By looking around there I found another undocumented var ('priority') and that seems to be working great. Rad!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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