jemeter AWS RDS 테스트
이전 Pulbic 서브넷에 구성한 RDS 는 이 jemeter 테스트를 위해 생성했습니다.
https://jmeter.apache.org/download_jmeter.cgi
Apache JMeter - Download Apache JMeter
Download Apache JMeter We recommend you use a mirror to download our release builds, but you must verify the integrity of the downloaded files using signatures downloaded from our main distribution directories. Recent releases (48 hours) may not yet be ava
jmeter.apache.org

.zip 파일 다운로드

jmeter.bat 실행
Plugin 다운로드 적용
https://jmeter-plugins.org/wiki/PluginsManager/

플러그인 추가 시 경로
C:\Users\Admin\Downloads\apache-jmeter-5.6.2\lib\ext

jmeter 실행
java 가 설치되어 있지 않다면 실행 안 됨
https://www.java.com/download/ie_manual.jsp
Download Java for Windows
When your Java installation completes, if you are using webstart, you may need to restart your browser (close all browser windows and re-open).
www.java.com
여기서 java 설치

원하는 부분을 따로 구성해도 되지만 Templates 사용하였음

아래 Thread Group - JDBC Request -Variable Name of Pool declared in JDBC Connection Configuration
(빨간 박스 부분)
이름이 동일해야함

AWS RDS mysql 테스트
Database URL - jdbc:mysql://AWS RDS 엔드포인트:3306/사용할 데이터베이스 이름
<?allowMultiQueries=true 는 여러 개의 쿼리 실행>
JDBC Driver class – com.mysql.jdbc.Driver 선택
Username 과 Password 는 AWS RDS 생성 때 구성한대로 입력
데이터베이스, 테이블, 컬럼 등은 미리 만들어 놔야 합니다.


노란 박스 – 동시 유저 수
주황 박스 – 반복 횟수

위 설정 완료 후 JDBC Request 에 쿼리 입력
위처럼 여러 개 쿼리 실행 시 Callable Statement 로 변경
Select 할 경우엔 아래 Select Statement 로 변경
단일 쿼리만 실행할 경우엔 Update Statement 로 실행


위 실행 버튼 클릭

View Results Tree 로 확인 가능
에러 뜰 경우 에러 메시지도 확인 가능

워크벤치에서 확인