Current time: 11-14-2019, 06:52 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server and client on same machine for private instance
06-26-2013, 03:43 AM
Post: #1
Server and client on same machine for private instance
Hi,
I followed the steps (https://sites.google.com/a/webpagetest.o...-instances) to setup private instance on my local machine running Windows 7.

I tried http://www.google.com for testing performance but it remained in "Waiting" stage for more than 30 min. And doesn't go to Testing -> Done stage. I am newbie and might have missed something. Can someone please help me what could be wrong here?

Rupesh
Find all posts by this user
Quote this message in a reply
06-26-2013, 08:01 AM
Post: #2
RE: Server and client on same machine for private instance
My guess is either urlblast or wptdriver isn't collecting the job - most probably due to a mismatch between locations.ini and urlblast.ini or wptdriver.ini (depending on what browser you are using)

Check that the agents are connecting ok via 127.0.0.1/getLocations.php and 127.0.0.1/getTesters.php

You should also get an entry in the Apache logs everytime they connect.

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
06-26-2013, 11:04 PM (This post was last modified: 06-26-2013 11:11 PM by Rupesh.)
Post: #3
RE: Server and client on same machine for private instance
Thanks Andy for your reply.

I am testing on IE. The locations.ini looks like
Code:
[locations]
1=Local
default=Local

[Local]
1=Local-URLBlast

[Local-URLBlast]
browser=IE 9
latency=0
label="Local - IE 9"

And utlBlast.ini looks like
Code:
[Configuration]
Startup Delay=30
Log File=c:\wpt-agent\urlblast
Timeout=120
use current account=1

Url Files Url=http://127.0.0.1/work/
Location=Local-URLBlast

And not sure what this output signifies when i ran http://127.0.0.1/getLocations.php

Location Idle Testers Total Tests Being Tested High Priority P1 P2 P3 P4 P5 P6 P7 P8 P9
Local-URLBlast 0 3 0 3 0 0 0 0 0 0 0 0 0

And when i ran http://127.0.0.1/getTesters.php, i got
Local-URLBlast ( minutes)
Find all posts by this user
Quote this message in a reply
06-27-2013, 01:05 AM
Post: #4
RE: Server and client on same machine for private instance
(06-26-2013 11:04 PM)Rupesh Wrote:  And not sure what this output signifies when i ran http://127.0.0.1/getLocations.php

Location Idle Testers Total Tests Being Tested High Priority P1 P2 P3 P4 P5 P6 P7 P8 P9
Local-URLBlast 0 3 0 3 0 0 0 0 0 0 0 0 0

And when i ran http://127.0.0.1/getTesters.php, i got
Local-URLBlast ( minutes)

Hmm your config looks exactly like mine but there's obviously something not quite right as the agent isn't connecting.

From getLocations you can see there are three tests in the queue but no idle testers or any tests running.

getTesters should return a list of testers along with details of when they last checked for work.

Do you have an entry like this is your Apache log?

Code:
127.0.0.1 - - [26/Jun/2013:15:59:01 +0100] "GET /work/getwork.php?shards=1&video=1&location=Local-URLBlast&key=&pc=WPTWIN7&ver=355&freedisk=128.031&ie=9.10.9200.16614&dns=8.8.8.8-8.8.4.4 HTTP/1.1" 200 -

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2013, 01:53 AM (This post was last modified: 06-27-2013 01:54 AM by Rupesh.)
Post: #5
RE: Server and client on same machine for private instance
Yes, I can see entry in apache log like
Code:
2013-06-26 15:51:56    127.0.0.1    0    0    130626_YB_3    http://www.google.com    Local - IE 9 - <b>Cable</b>    0            0        b6d33404dfee2b664a718f492862c70228abdec8        2

Seems it is not calling getwork, as I see from your log entries.
Find all posts by this user
Quote this message in a reply
06-27-2013, 02:31 AM
Post: #6
RE: Server and client on same machine for private instance
(06-27-2013 01:53 AM)Rupesh Wrote:  Yes, I can see entry in apache log like
Code:
2013-06-26 15:51:56    127.0.0.1    0    0    130626_YB_3    http://www.google.com    Local - IE 9 - <b>Cable</b>    0            0        b6d33404dfee2b664a718f492862c70228abdec8        2

Seems it is not calling getwork, as I see from your log entries.

That's not the Apache log that's the log from WPT.

Your Apache logs will be in something like C:\Program Files\Apache Software Foundation\Apache2.2\logs if you're on Windows

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2013, 02:51 AM (This post was last modified: 06-27-2013 02:53 AM by Rupesh.)
Post: #7
RE: Server and client on same machine for private instance
Apache log access.log has something like this
Code:
127.0.0.1 - - [26/Jun/2013:12:50:16 -0400] "GET /pagestyle.css?v=59 HTTP/1.1" 304 -
127.0.0.1 - - [26/Jun/2013:12:50:16 -0400] "GET /js/site.js?v=28 HTTP/1.1" 304 -
127.0.0.1 - - [26/Jun/2013:12:50:16 -0400] "GET /js/test.js?v=25 HTTP/1.1" 304 -
127.0.0.1 - - [26/Jun/2013:12:50:16 -0400] "GET /images/logo_private.png HTTP/1.1" 304 -
127.0.0.1 - - [26/Jun/2013:12:50:19 -0400] "POST /runtest.php HTTP/1.1" 302 -
127.0.0.1 - - [26/Jun/2013:12:50:19 -0400] "GET /result/130626_D5_4/ HTTP/1.1" 200 7408

I dont see any trace of getting request to getwork.php
Find all posts by this user
Quote this message in a reply
06-27-2013, 05:37 AM
Post: #8
RE: Server and client on same machine for private instance
OK, to ask some 'daft' questions.

1. In what folder is urlblast installed?

2. Is the urlblast.ini in the same folder?

3. Is urlblast.exe actually running?

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2013, 06:12 AM
Post: #9
RE: Server and client on same machine for private instance
(06-27-2013 05:37 AM)andydavies Wrote:  OK, to ask some 'daft' questions.

1. In what folder is urlblast installed?

2. Is the urlblast.ini in the same folder?

3. Is urlblast.exe actually running?

Thanks Andy for your replies. Please see below answers

1. utlblast installed at C:\wpt-agent
2. urlblast.ini is in same folder
3. I didnt start that manually. And this is the reason I was in waiting state. Thanks a lot for helping me out finding this.

Now I am getting this result:
The test completed but there were no successful results.
And there is nothing in the waterfall or screenshot.
And FirstView: Test data missing.
Find all posts by this user
Quote this message in a reply
06-27-2013, 06:39 AM
Post: #10
RE: Server and client on same machine for private instance
If you watch the screen while the test is running do you see the page load in the browser?

If you enter http://127.0.0.1/install do you have gzip and the GD modules installed?

Andy

Using WebPageTest - http://usingwpt.com/
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)