[Apache-Bench 명령어]
-c : thread 개수
-n : 요청 횟수
-H : 헤더
-p : post body
-T : type - contents Type
#Get
ab -c 100 -n 100000 -H 'first-request: header-value' -H 'poolType: Scheduler' -H 'queueType: LinkedQ' -H 'sPoolType: bound' -H 'blockTime: 100' -H 'N:100' <http://3.34.225.6:8080/first-service/message>
ab -c 100 -n 100000 -H 'first-request: header-value' -H 'poolType: Executors' -H 'queueType: LinkedQ' -H 'sPoolType: bound' -H 'blockTime: 100' -H 'N:100' <http://3.34.225.6:8080/first-service/message>
#Post
ab -c 100 -n 100000 -p test.dat -T 'text/plan' -H 'X-AGW-TX-ID: 1234' -H 'X-FORWARDED-FOR: 127.0.0.1' <http://10.200.3.28:8080/dummy/v2/test01>
[8가지 Case명령어] - corePoolSize - [2 thread기준, maximum 20까지, capacity 100기준, I/O: 5ms]
ab -c 100 -n 100000 <http://3.34.225.6:8080/first-service/message>
ab -c 100 -n 100000 -H 'first-request: header-value' -H 'poolType: Scheduler' -H 'queueType: LinkedQ' -H 'sPoolType: paral' -H 'blockTime: 5' -H 'N:-1' <http://3.34.225.6:8085/first-service/message>