简体   繁体   中英

Bash script to generate lots of ssl/tls connections for performance testing

I'm currently trying to perf test my application running in production. Specifically, I'm trying to see how many ssl connections my jetty server can handle. Let's call this host my.webserver.prod.com and it expects secure traffic on port 443. I would like to write a bash script that I can run from another host and have it generate as many ssl connections as possible. How can I do this?

What have you tried till now?

Still you could checkout this tool that bash has ab . Its apahce benchmarking. This helps in checking performance. And In the end it provides you a summary.

The command goes like :

 ab -n 10 -c 2 http://my.webserver.prod.com

Where -n -> total number of requests to be made -c -> number of concurrent requests

You could do more resarch on this. Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM