httping as logged in user

1

I'm doing performance tests on a website I'm doing and for that I use httping link

What I would like is to be able to do that but to a section for which it is required to be logged and the truth is that it only occurs to me to remove the session id and use the httping to samples? session_id = the session id.

Can you think of something that would allow me to do a test like this?

    
asked by davidplpz 18.08.2016 в 17:14
source

1 answer

0

Do you mean the link command? an option would be to use Basic Access Authentication , which with httping would be something like this:

httping -g http://localhost/index.php -A -U usuario -P contraseña

Although anyway from your website in PHP you should read the credentials and log the user (i.e. start a session).

NOTE: At the moment I can not prove it, but it should work according to the information in the httping manual.

    
answered by 18.08.2016 / 18:29
source