How to call API, concurrently to do stress test

how php should call the same API? concurrently Generally speaking, how do people realize it? If you want to pass concurrent requests, do a stress test

Php
Mar.23,2021

use apache's ab test , if you install apache, it should come with it, if not installed, it is not difficult to install. Specifically refer to here: https://www.cnblogs.com/lishu.


generally use ab for stress testing
db-C100-n10000 c refers to the number of concurrent n refers to the number of requests
mainly concerned about several indicators
QPS throughput this value is better
TPR response when the number of concurrency is equal. The smaller the value of time, the better

Menu