Preparation
- Two servers, one is Test Server and the other one is Client Server
- You need to have root ssh access for both servers
- There should be no firewall blocking ports 22, 80, 443, or 5001
How to benchmark
Server install
git clone https://github.com/http2benchmark/http2benchmark.git
http2benchmark/setup/server/server.sh
Client install
git clone https://github.com/http2benchmark/http2benchmark.git
http2benchmark/setup/client/client.sh
You will be required to input [Test Server IP], [copy the public key to the Test server], and then [click any key] to finish the installation, like so:
Please input target server IP to continue: [Test Server IP]
Please add the following key to ~/.ssh/authorized_keys on the Test server
ssh-rsa .................................................................
.........................................................................
.. root@xxx-client
Once complete, click ANY key to continue:
How to test
Run the following command in client server:
/opt/benchmark.sh