jtt February 19, 2017, 9:42pm 1
Hello
I have tried testing a website’s performance and my website use usernamne and password. I have tried using the tab auth.
But it doesn’t work.
Is there another approach to do?
Thank you
I contributed an article to the 2015 perf calendar about authentication that you might find useful: Web Performance Calendar » Using WebPageTest: Authentication. It’s an excerpt from my book Using WebPageTest.
To summarize, use scripting like setValue and submitForm to manipulate the DOM, or setCookie to reuse an existing session. Personally, I prefer the cookie approach as it lets you have only one navigation in the test.
The Auth tab on WPT is for HTTP Basic Authentication. The web server needs to support this form of authentication, which it seems it does not.