php - Run apache benchmark on session links . (I want to access some pages which are in session.) -


i want run apache benchmark listed after userid logged in.

how can pass session ab command ?

for example, x user logged in though browser , redirected home profile page. profile page has many links, shown user logged in. how can access these links using "ab" command.

ab -n10 -c2 -p post_data.txt https://integration.crossroads.net/index.php (i posted data using ab, worked fine me) .

in order should create session using browser, after that, assuming you're using standard techniques (i.e. sessions , session cookies) you'll able grab cookie sent app containing session id, like

phpsessid=isldkdkkd8989s9f8 

which can found using firebug or browser cookies inspector.

having information can pass ab command -c option , apache benchmark act logged user

ab -n10 -c2 -p post_data.txt -c phpsessid=isldkdkkd8989s9f8 https://integration.crossroads.net/index.php 

p.s. jaitsu said should accept right answers questions.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -