부하 테스트 (Jmeter)

Application 성능 지표

  • Throughput (처리량)
    • 시간당 처리량을 의미
    • TPS(Transaction per Seconds) : 초당 처리할 수 있는 작업 수 (보통 TPS가 2000 ~ 3000 정도 나오면 괜찮다고 한다.)
    • RPS(Request per Seconds) : 초당 처리할 수 있는 요청 수
  • Latency (지연시간)
    • Request에서 Response까지 걸리는 시간

Apache Jmeter

download: https://jmeter.apache.org/download_jmeter.cgi

windows install & start

  1. 다운로드 받은 압축 파일을 푼다.

  2. https://jmeter-plugins.org/get/ 에서 받은 jmeter-plugins-manager.jar 파일을 lib/ext 폴더 안에 넣는다

  3. https://jmeter-plugins.org/wiki/ResponseTimesOverTime/ 에서 Transactions per Second Plugin을 다운받아 압축을 풀고 lib에 넣는다.

  4. bin/jmeter.bat을 실행 한다.

image-20230322133410328

  1. 우측 상단 아이콘을 클릭하여 Plugin을 설정한다.