Matt R. Wilson
Matt R. Wilson

Reputation: 7575

Add https support to Apache Bench on Windows

I have Apache server 2.2.15 on my Windows 7 machine and I want to run Bench on a server I have using https. But when I run ab [myopts] https://example.com, I get SSL not compiled in; no https support. From what I've read you can compile ab with https support with a flag during the server install.

My question is, considering I already have server installed, what is the easiest/best way to benchmark my server over https?

Upvotes: 38

Views: 16835

Answers (3)

veritas
veritas

Reputation: 432

Usage: C:\Apache24\bin\abs.exe [options] [http[s]://]hostname[:port]/path

In my case, I was missing the port

./abs.exe -n 100 -c 10 https://somesite:8443.somedomain.com

Upvotes: 0

vivek sharma
vivek sharma

Reputation: 29

use abs in CMD

example:

abs -n 100 -c 10 https://api.test.com/test-end-point

Upvotes: -1

PaulTheCyclist
PaulTheCyclist

Reputation: 1276

Use the abs.exe tool to test sites with a SSL cetificate

Upvotes: 88

Related Questions