text 使用Apachebench进行压力测试

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 使用Apachebench进行压力测试相关的知识,希望对你有一定的参考价值。

 // 500 request batch, with 100 concurency
 
 ab -n 500 -c 100 kdncodeingiter.dev/
 
 // test authenticated page, -C flag means cookies
 
 ab -n 500 -c 100 -C ci_session=rhbhn9eh935crai4q3r5l1sjme8e68es  https://kdncodeigniter.dev/ticket/index/
 ab -n 500 -c 100 -C ci_session=rhbhn9eh935crai4q3r5l1sjme8e68es -e /Users/fathur/Documents/testbench.csv https://kdncodeigniter.dev/scanocr/create 
 
 -e /Users/fathur/Documents/testbench.csv

以上是关于text 使用Apachebench进行压力测试的主要内容,如果未能解决你的问题,请参考以下文章

Web压力测试工具ApacheBench(ab)独立安装及使用方法

转:Web性能压力测试工具之ApacheBench(ab)详解

实战-如何使用apache ab性能工具进行压力测试

Apache Bench(ab 压力测试工具)的安装与使用

如何使用,判断Apache AB压力测试

Windows 下配置 ApacheBench (AB) 压力测试