Current time: 09-02-2014, 02:22 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URL Blast redirects
12-01-2010, 10:55 AM (This post was last modified: 12-01-2010 11:39 AM by endium.)
Post: #1
URL Blast redirects
Does URL Blast follow redirects? I'm trying to figure out why I'm not able to login to my site. It enters the form values correctly, and seems to submit the form, but it reloads the page instead of logging in. The only thing I can think of is that maybe it isn't following redirects, which is how authentication works for my site.

Generally, is there any documentation on how URL Blast works? I'm also interested in any other network/vm conditions that may cause it to behave differently from the real browser?
I was able to get this to work by clicking on the button "clickAndWait name=Login" instead of submitForm.

I'm still curious about the documentation though.
Find all posts by this user
Quote this message in a reply
12-01-2010, 02:51 PM
Post: #2
RE: URL Blast redirects
(12-01-2010 10:55 AM)endium Wrote:  Does URL Blast follow redirects? I'm trying to figure out why I'm not able to login to my site. It enters the form values correctly, and seems to submit the form, but it reloads the page instead of logging in. The only thing I can think of is that maybe it isn't following redirects, which is how authentication works for my site.

Generally, is there any documentation on how URL Blast works? I'm also interested in any other network/vm conditions that may cause it to behave differently from the real browser?
I was able to get this to work by clicking on the button "clickAndWait name=Login" instead of submitForm.

I'm still curious about the documentation though.

Technically it's Pagetest that is doing the automation and the docs are a bit weak in the scripting area but if I had to guess I would say that there was some javascript attached to the button click that needed to be executed for the form data to be accepted. It IS a real browser (IE), it's just not a real user driving the events so sometimes there is some trial and error in figuring out what event needs to be sent to what DOM element for the action to work as expected.

It's a lot easier to debug scripts locally using the browser plugin (http://www.webpagetest.org/software/Pagetest_249.msi) - launch IE, tools->AOL Pagetest, File->Run Script

That way you can watch it try to run and experiment with different techniques before submitting it for an online test (where you don't really get any feedback).

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
12-02-2010, 10:31 AM
Post: #3
RE: URL Blast redirects
Thanks. Are there any known downsides to running the server and client both inside the same VM? I have windows XP running on ubuntu server.
Find all posts by this user
Quote this message in a reply
12-02-2010, 12:20 PM
Post: #4
RE: URL Blast redirects
No problem that I'm aware of, the web server should hardly use any resources.

The thing you do have to be a little careful with is the accuracy of the test data you get from within your VM (web server or not). I've had good luck with ESX and Amazon's EC2 (KVM) but you'll want to do some testing to make sure you don't get fluctuation in your test results as a result of running in the VM.
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)