LoginSignup
7
7

More than 5 years have passed since last update.

Apache Benchでhttps(SSL)を使う方法

Last updated at Posted at 2017-05-29

SSL not compiled in; no https support

abコマンドはhttpsのサイトだとエラーとなる...

ab -n 100 -c 100 https://www.example.co.jp/
SSL not compiled in; no https support

absコマンドを使う

SSLに対応したabsコマンドがリリースされている。
使い方はabコマンドと同じで、sを付けるだけ。
参考:Apache Benchでサクッと性能テスト

abs -n 100 -c 100 https://www.example.co.jp/

This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.example.co.jp (be patient)


Server Software:        nginx
Server Hostname:        www.example.co.jp
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
TLS Server Name:        www.example.co.jp
. . .
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7