marcelduran / yslow

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages.
yslow.org
BSD 3-Clause "New" or "Revised" License
2.21k stars 384 forks source link

how can i use the yslow to test some page if the page need to login? #173

Open qileilove opened 8 years ago

qileilove commented 8 years ago

i use phantomjs2.0 and yslow.js to test our website,the application has a login page. If I provide the application's url, if a valid user is not logged in the login page will be displayed. So how do I test performance using yslow.js & Jenkins? Is it possible to automate the login part?

likezjuisee commented 7 years ago

you should realize the login method first, and then get some information from the response data or headers, then add them in the request parameters, for example, through the --ch option.