Current time: 06-03-2020, 08:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check the performance of the page after login?
03-23-2019, 10:16 PM
Post: #1
How to check the performance of the page after login?
How to check the performance of the page after login?

Kindly explain with an example.
Find all posts by this user
Quote this message in a reply
03-25-2019, 11:58 PM
Post: #2
RE: How to check the performance of the page after login?
Here is documentation on an example of testing a logged in page
https://sites.google.com/a/webpagetest.o.../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
Find all posts by this user
Quote this message in a reply
03-29-2019, 03:21 AM (This post was last modified: 03-29-2019 03:22 AM by oldweasel.)
Post: #3
RE: How to check the performance of the page after login?
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
Find all posts by this user
Quote this message in a reply
12-13-2019, 07:18 PM
Post: #4
RE: How to check the performance of the page after login?
Hello!

If the website you’re testing is a Single Page Application (built with e.g. React/Redux or Vue/Vuex), there are some problems with using setValue and submitForm as it does not get picked up by the application State Management library.

I wrote an article to circumvent those problems over at CSS-Tricks that may help you:
https://css-tricks.com/recipes-for-perfo...bpagetest/
Find all posts by this user
Quote this message in a reply
01-27-2020, 03:50 AM
Post: #5
RE: How to check the performance of the page after login?
We found the documentation to be pretty technical and hard to follow for some of our users. To that end, we wrote an article about testing behind a login and the step by step process here:

https://www.machmetrics.com/speed-blog/w...scenarios/

Hope it helps!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)