First build a "logged in" session and write down the cookie value (Session ID) that identifies this session.
If only one cookie is used:
ab -n 100 -C Key1=Value1
If you need multiple cookies, just set the Header directly:
ab -n 100 -H “Cookie: Key1=Value1; Key2=Value2”
First build a "logged in" session and write down the cookie value (Session ID) that identifies this session.
If only one cookie is used:
ab -n 100 -C Key1=Value1
If you need multiple cookies, just set the Header directly:
ab -n 100 -H “Cookie: Key1=Value1; Key2=Value2”