
다운로드
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
설치
플러그인 매니저설치
lib/ext폴더에 설치하면됨.
JDK가 설치되어있어야함.
테스트
Thread Group | 테스트에 사용될 쓰레드 개수, 쓰레드 1개당 사용자 1명 |
Sampler | 사용자의 액션 (예: 로그인, 게시물 작성, 게시물 조회 등) |
Listener | 응답을 받아 리포팅, 검증, 그래프 등 다양한 처리 |
Configuration | Sampler 또는 Listener가 사용할 설정 값 (쿠키, JDBC 커넥션 등) |
Assertion | 응답 확인 방법 (응답 코드, 본문 내용 비교 등) |
Thread Group
좌측 Test Plan에서 마우스 우측버튼을 클릭하여 아래와 같이 Thread Group클릭
그럼 아래와 같은 화면이 표시
쓰레드 속성의 각 파라미터 정보
Number of Threads (users) | 쓰레드 개수(사용자수)를 의미 |
Ramp-up period (seconds) | 쓰레드 개수를 만드는 데 소용되는 시간 |
Loop Count | 반복회수(inifinite를 체크하면 무한반복) |
Sampler
마우스 우클릭하여 Add->Sampler->HTTP Request 클릭
아래와 같은 화면이 표시되며
네이버쪽에 요청하도록 설정하였습니다.
Listener
Sampler가 받아오는 리턴값을 토대로 그래프 및 레포팅을 만들어주는 Listener을 생성
Http Request에서 우클릭->Add->Listener-> View Results Tree, Summary Report, View Results in Table 등 추가
그럼 아래와 같이 화면에 표시됩니다.
jmeter실행
View Results Tree
Summary Report
Label | Sampler 명 |
# Samples | 샘플 실행 수 (Number of Threads X Ramp-up period) |
Average | 평균 걸린 시간 (ms) |
Min | 최소 |
Max | 최대 |
Std. Dev. | 표준편차 |
Error % | 에러율 |
Throughput | 분당 처리량 |
Received KB/sec | 초당 받은 데이터량 |
Sent KB/sec | 초당 보낸 데이터량 |
Avg. Bytes | 서버로부터 받은 데이터 평균 |
View Results in Table
그래프로 보고 싶다면 Listener에 jp@gc - Transaction Per Second를 추가 아래처럼 확인이 가능함.
web setting menual
https://jmeter.apache.org/usermanual/build-web-test-plan.html
Apache JMeter - User's Manual: Building a Web Test Plan
< Prev Index Next > 4. Building a Web Test Plan¶ In this section, you will learn how to create a basic Test Plan to test a Web site. You will create five users that send requests to two pages on the JMeter Web site. Also, you will tell the users to run th
jmeter.apache.org
database setting menunal
https://jmeter.apache.org/usermanual/build-db-test-plan.html#top
Apache JMeter - User's Manual: Building a Simple Database Test Plan
< Prev Index Next > 6. Building a Database Test Plan¶ In this section, you will learn how to create a basic Test Plan to test a database server. You will create fifty users that send 2 SQL requests to the database server. Also, you will tell the users to
jmeter.apache.org
'# Web&WAS > Apache' 카테고리의 다른 글
[아파치]외부링크 차단 (0) | 2024.02.14 |
---|---|
아파치 워드프레스 xmlrpc 차단 및 특정ip허용 (0) | 2022.10.20 |
아파치 일반사용자 권한 실행 (0) | 2022.09.20 |
아파치 TLSv1.3 적용(feat. openssl) (0) | 2022.05.04 |
아파치 v2.0 to v2.2(only tls1.2) 업그레이드(centos5x) (0) | 2021.12.02 |
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!