Double Auth

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

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.

Thanks,

-Pat

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).

Wow, you’re the man :slight_smile:
Thanks a lot Patrick !