Difference between revisions of "Ab"
From Wasya Wiki
(Created page with "Apache bench Suppose we want to see how fast Yahoo can handle 100 requests, with a maximum of 10 requests running concurrently: ab -n 100 -c 10 http://www.yahoo.com/ Copy-...") |
(No difference)
|
Latest revision as of 16:56, 12 April 2024
Apache bench
Suppose we want to see how fast Yahoo can handle 100 requests, with a maximum of 10 requests running concurrently:
ab -n 100 -c 10 http://www.yahoo.com/
Copy-paste the session cookie from chrome debugger into curl. This way you won't have to write any code scaffolding to permit a session.
ab -c 10 -n 100 -C "_session_id=<id>; _smt_rails_session=<session>" http://localhost:3000/job_numbers