WebPagetest Forums
How to check the performance of the page after login? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: How to check the performance of the page after login? (/showthread.php?tid=15723)



How to check the performance of the page after login? - Jyoti Rajput - 03-23-2019 10:16 PM

How to check the performance of the page after login?

Kindly explain with an example.


RE: How to check the performance of the page after login? - chelvan - 03-25-2019 11:58 PM

Here is documentation on an example of testing a logged in page
https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting


Under the section - Hosted Scripting (WebPagetest) see-
logData 0

// bring up the login screen
navigate http://webmail.aol.com

logData 1

// log in
setValue name=loginId someuser@aol.com
setValue name=password somepassword
submitForm name=AOLLoginForm


RE: How to check the performance of the page after login? - oldweasel - 03-29-2019 03:21 AM

I'm trying something similar and it's not working for some reason (thus my other post about tools to test these scripts Wink ), what might be incorrect in the following (which would hopefully help the OP as well).

I'm trying to capture the events on the shopping cart open, but instead the screenshot I'm getting back is as if the user never logged in at all!

Code:
logData 0
navigate https://www.mysite.com/signin
setValue id=SignIn-emailInput myEmail
setValue id=SignIn-passwordInput myPassword
submitForm id=SignIn-form

logData 1
navigate https://www.mysite.com/shoppingcart