WebPagetest Forums
login using username & password - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: login using username & password (/showthread.php?tid=14032)



login using username & password - stephen28273 - 11-03-2015 04:53 AM

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

stephen


RE: login using username & password - pmeenan - 11-06-2015 01:09 AM

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


RE: login using username & password - stephen28273 - 11-10-2015 02:57 AM

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.


RE: login using username & password - rviscomi - 11-10-2015 10:02 AM

(11-10-2015 02:57 AM)stephen28273 Wrote:  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:

[Image: uwpt_0702.png]