I use AB(ApacheBench), Version 2.3.
I’m trying to test “http://localhost/myPage” with Basic Authentication.
There isn’t any problem when I use web browser like I.E.
The apache’s log message shows HTTP response code changing 401->301->200.
It saied my http request was finished successfully.
But when I use AB , result is different .
AB saied request was completed but Apache’s log shows status has stopped at 301.
Now,My question is how to get AB follows to redirect 301.
Turns out “localhost/myPage” isn’t correct path. I should have instead included a “/” at the end of URL like “localhost/myPage/”. Now AB follows redirect 301.