티스토리 뷰

linux

jmeter 설치 및 사용법

fendys 2021. 8. 19. 13:42
반응형
### 다운 및 설치
$ wget -q https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-버전.tar
$ tar -xzf apache-jmeter-$JMETER_VERSION.tar
$ mv apache-jmeter-$JMETER_VERSION /app/jmeter 

### profile 설정
$ export JMETER_HOME=/app/jmeter
$ export PATH=$JMETER_HOME/bin:$PATH

jmeter 실행

jmeter -n -f -t www_testplan.jmx -l www_log.jtl -e -o www-report

jmeter 리포트

docker run -d -v /app/jmeter/bin/www-report:/var/www/html -p 80:80 --name httpd httpd

 

반응형