Closed RammusXu closed 7 years ago
[ec2-user@ip-10-0-0-200 ~]$ ab -c 50000 -n 100000 http://localhost:8080/log/notifications
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
socket: Too many open files (24)
ab -A admin:changeit -n 10 -c 10 http://10.0.0.200:8080/testdb/testcoll
ApacheBench
安裝 Mac:
brew install ab
CentOS:
sudo yum install httpd-tools
Reference
JMeter
Post json : https://varunver.wordpress.com/2014/05/07/jmeter-posting-json-to-api/