-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Great work first of all! But what about Interaction with forms? #90
Comments
Hi @valeraparafin , thanks for the feedback, glad to hear it works for you. Regarding the login and possibility to test website beyond the authorization wall. The one way to add this functionality is to provide support for the custom script, that will be executed before Perfrunner starts. In this script you can manually insert credentials into browser's session (or cookies, etc) and than, the application behind the authorization gate will work fine. The good thing is that is should be quite easy to implement. The bad one - user needs to get authorization by himself somehow and this might not be very convenient. Another option is to provide custom script that will be executed after the page was loaded. In this case you will need to write the script that will fill and submit login form. And than, the second page will work as for authorized user. If you have any other thoughts - let me know. I think possibility to test application as an authorized user is useful. |
@Drag13 thanks a lot! Honestly my first thoughts was about option two, just need more time to understand how can i do it and where.. Should think about it :) Let you know if i got smth in this direction |
Just to clarify, - I am working on this feature right now, but need to do some refactoring so it will take some time. And, unfortunately, it will bring one breaking change. |
Glad to hear it! What change it'll bring? |
Sounds that you running into some very unexpected issues. What OS are you using? git clone https://github.com/Drag13/perfrunner.git
cd perfrunner
npm ci
npm run lerna bootstrap
npm run test And that's it. Regarding the changes - I have to change the config format, so if you are not using it everything is OK. |
Hi! I just tried perfrunner, and i like how it works. It gives you a lot of information about performance's url and do it fast.
But what about Interaction with UI forms?
So you got params for multiple urls as i understand. What interesting to me how can i put data to login form input, or do something like that to log in with cookies . Mb you already think about it... Thank you for answer(starred)
The text was updated successfully, but these errors were encountered: