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

Open
qileilove opened this Issue Feb 18, 2016 · 1 comment

Projects

None yet

2 participants

@qileilove

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment