Current time: 11-18-2019, 03:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the best setup for Test Agent?
10-16-2012, 12:44 AM
Post: #1
What's the best setup for Test Agent?
Over the weekend, I was working on getting WPT setup with no luck.
- "The test completed but there were no successful results."

I think the issue here is that I am using my work laptop as Test Machine. My work machine have a lot of access control going on. What would your suggestion as a best config for Test Machine?

I also found that every time when I start "Wptdriver.exe", all my browsers - IE,Chrome,Fixfox got closed.

And today, "wptdriver.exe" will start update process - keep try to get firefox updated. Since there is a UAC existing, the update is always fails.

Now, my question is, should Test Machine be solely serve as a test machine? If yes, if I can't apply for a new machine, any suggestion on it?
Find all posts by this user
Quote this message in a reply
10-16-2012, 05:14 AM
Post: #2
RE: What's the best setup for Test Agent?
Yes, the test machine should be dedicated as a test machine. You can run the web server on the same machine but you shouldn't use a desktop machine that users interact with. The browsers being tested will launch on the screen, take focus and become topmost above everything else.

I haven't seen it close all of the browsers before (I open browsers to do localhost testing when I do dev and they stay up fine) but it could be something with the environment.

Disabling UAC is one of the requirements.

If you can't get a dedicated machine, can you run VMWare or some form of virtualization and run a VM within your current machine?
Visit this user's website Find all posts by this user
Quote this message in a reply
10-20-2012, 12:52 AM (This post was last modified: 10-23-2012 01:37 AM by lizi.)
Post: #3
RE: What's the best setup for Test Agent?
I have turned of the UAC by: control panel -> user account -> Change user account control setting -> Change the value to be "never notify". However, the close all browsers still happen when I start wptdriver.exe. Also get update software fails after start up wptdriver.exe . I am starting up wptdiriver.exe manually instead of putting it in startup.

I still run the test agent in my work machine. Thinking of iron out issues before I get a dedicated machine.

Here is my setting:
================ Server side: Locations.ini
[locations]
1=Stamford_Office
default=Stamford_Office

[Stamford_Office]
1=Lizi-Test
label=Stamford Office Location

[Lizi-Test]
browser=Chrome,Firefox
label="Lizi's Laptop"


=====Client side c:\webpagetest\agent\userblast.ini
[Configuration]
Startup Delay=30
Log File=c:\webpagetest\agent\urlblast
Timeout=120
use current account=1

; Where to get work from
Url Files Url=http://{server}/work/
Location=Lizi-Test

=====Client side c:\webpagetest\agent\wptdrive.ini
[WebPagetest]
url=http://{server}/
location=Lizi-Test
browser=Chrome
;key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat

[Chrome]
exe="C:\Users\{me}\AppData\Local\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server'
installer=http://www.webpagetest.org/installers/browsers/chrome.dat

[Firefox]
exe="C:\Program Files\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox

======= my wpt server:
{server}/getTesters.php: Found my machine:
Find all posts by this user
Quote this message in a reply
10-23-2012, 02:00 AM
Post: #4
RE: What's the best setup for Test Agent?
It's a great Monday Smile Got the first test working!!!

I found where the issue was:

The Firefox config was wrong in my config. After I commented it, the test start to work! The close down browser issue still exist but I could live with it for now.

[Firefox]
exe="C:\Program Files\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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