login using username & password

I am able to load URL and get the statistics. What i would like to do is to load URL and login to the test application (using username/pw)

i read some information concerning how to insert username/pw…but where is the code file located and how do I insert the code? how does it work?

NEED: load URL and login


There are examples on the scripting page: https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting

Hi Patrick,
thank you. i also see that. but it was only for bits and pieces of code. it does not tell me where to insert that code, for webpagetest to work.

i don’t understand how webpagetest logic works. where would you put the code so that it will execute? it says to run the script from menu by selecting the “run script”. but i don’t see any “run script” option on the webpagetest home page.

On the home page, under Advanced Settings, there is a “Script” tab. In that text box you can enter commands that will execute on your tests. Here’s a screenshot of the script tab from the Using WPT book: