Testing Websites on Webpage test

1. Open your website with logged in experience. Look at network waterfall, copy text of cookie from the base page request headers.
2. Save the following as a genWPTScript.sh file (update it to use your assigned website instead of netflix.com):
tr ‘;’ ‘\n’ | awk ‘{print “setCookie\thttps://www.netflix.com\t”, $1}’;
echo “navigate https://www.netflix.com
3. In shell, run:
echo “<copied cookie from step 1>” | sh getWPTScript.sh
4. Copy output and paste in the script section of webpagetest.org, make sure you mark script is sensitive, then run the test
Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s