개발중인 node.js 웹서버 부하테스트를 해보려고 찾은 간단한 부하테스트 툴이다.
# apt-get install siege
소스 설치 하려면,
여기에서 소스파일 받아서 빌드..
http://freecode.com/projects/siege
# siege -c 50 -d 10 -t 3M http://localhost:3000
-c : concurrent user
-d : 다음요청 보내기 까지 시간(sec)
-t : 테스트시간
아래는 결과
...
Transactions: 1696 hits
Availability: 100.00 %
Elapsed time: 179.53 secs
Data transferred: 730.34 MB
Response time: 0.18 secs
Transaction rate: 9.45 trans/sec
Throughput: 4.07 MB/sec
Concurrency: 1.72
Successful transactions: 1696
Failed transactions: 0
Longest transaction: 1.25
Shortest transaction: 0.05
관련 블로그
http://blog.remarkablelabs.com/2012/11/benchmarking-and-load-testing-with-siege
http://www.joedog.org/siege-manual/
http://www.euperia.com/linux/tools-and-utilities/speed-testing-your-website-with-siege-part-one/720