WebPagetest Forums
Double Auth - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Double Auth (/showthread.php?tid=388)

Double Auth - ExKwhanDo - 09-30-2010 12:30 AM

Hello !

I have a little problem ...

I have the private instance of webpagetest (version 2) and everything runs perfectly.

I need to do something and i created a script but there's a little problem

I connect to the site and i auth with the form in webpagetest.

Then the script goes to a page and logs as a user.

My problem is here. I need to auth again with a basic htaccess auth. But in the scripting help i did not found anything about that.

Do you have any idea about how to log again to the htaccess ?

PS : I can not remove the htaccess auth

RE: Double Auth - pmeenan - 09-30-2010 03:01 AM

Looks like I have a bug in pagetest (as well as a feature I haven't documented yet). You can do basic auth in a script like this:

basicAuth user:password

That said, it is actually broken because the setting gets wiped out in the code. I'll get it fixed in the next day or so and release an update.



RE: Double Auth - pmeenan - 10-01-2010 10:16 PM

ok, it should be fixed now. You can get the updated build (236) here: http://www.webpagetest.org/work/update/update.zip

If you want to use the new auto-update feature to push the update out to your test machines then you can put update.ini and update.zip into an "update" directory under the work directory and the test machines should update themselves (copy the zip file first and then the ini file to avoid a race condition).

RE: Double Auth - ExKwhanDo - 10-01-2010 10:59 PM

Wow, you're the man Smile
Thanks a lot Patrick !