1 The server is nginx
2 Does the test take parameters? How to do post testing with webBenche?
3 How to use webbench to test whether the interface is real or not? Some interfaces require parameters to be passed. Do I need to test with parameters?
大家讲道理2017-05-16 17:17:23
The total user base is 30W. I speculate that the average TPS does not exceed 10, so NGINX has no performance issues. The actual stress test tests the performance of the backend.
HTTP’s maximum TPS and concurrency tests can be tested using ab and wrk. If you need to post, you can use ab -p ./body.txt -T "application/x-www-form-urlencoded"
Parameters can be written directly after the url, such as ab -n 10 -c 1 http://example.com/cgi?name=value