Current time: 10-18-2019, 04:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some questions about the scripting capacity
08-11-2011, 06:22 PM
Post: #1
Some questions about the scripting capacity
I've two questions about the scripting capacity supported by webpagetest.
1. If there are some errors in the script, can the user get where the error happens and what kind of error happens?
2. Assume that a script consists of 5 steps, can user get how long each step takes?
Thanks a lot.
Find all posts by this user
Quote this message in a reply
08-12-2011, 10:24 AM
Post: #2
RE: Some questions about the scripting capacity
1 - Unfortunately not. You can get information running a local instance but the information is not exposed (yet anyway) through the web UI.

2 - Not through the web UI. They can either measure a single step or combine all 5 steps into a single sequence. If you just care about the raw data then yes, the 5 steps will be measured independently in the page and object data but the waterfall and video presentations will be messed up because neither is expecting it.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-12-2011, 12:41 PM
Post: #3
RE: Some questions about the scripting capacity
Thanks for you reply.
1. Which file contains this information? IEWPG.txt, IEWTR.txt, pagespeed.txt, progress.csv, report.txt, or status.txt?
2. Assume that there is a script as following,
logData 0
navigate https://login.live.com
logData 1
setValue name=login wpt-test@live.com
setValue name=passwd 123456
setValue name=remMe 0
clickandWait id=idSIButton9
How can I get how long it takes to "navigate https://login.live.com" and how long it takes to "clickandWait idSIButton9".
Thank you.
Find all posts by this user
Quote this message in a reply
08-12-2011, 10:46 PM
Post: #4
RE: Some questions about the scripting capacity
You need to get rid of the logData 0/1 calls - those turn off the logging of the test data for the navigate step. Once those are gone the IEWPG.txt and IEWTR.txt files will have the data from all of the steps of the navigation.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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