Stress testing your protected pages
David Heinemeier Hansson
·
2006-04-19
·
via Ruby on Rails: Compress the complexity of modern web apps
Wednesday, April 19, 2006
Posted by rick
David came up with a quick tip for anyone stress testing protected pages with a stateless tester, such as siege.
- Log in with your browser
- View the cookies and find the session id (Firefox has a handy cookie search tool)
- Prepend the queries with ?_session_id=YOURSESSIONID
Now, any requests made will be as though they came from your account.
Do you have any other handy tips for stress testing your Rails applications?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。