Skip to content

libenyan/jmeter_docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jmeter_docker

Use JMeter with Docker

  • Replace Demo.jmx
  • Change the following about Demo.jmx file
COPY		Demo.jmx /opt/jmeter	
  • build Docker file in root folder
docker build -t performanceDocker .
  • run docker with performance testing
docker run --rm -v $(pwd):/root performanceDocker bin/jmeter -n -t Demo.jmx
  • The log maybe like this:
Writing log file to: /opt/jmeter/jmeter.log
Creating summariser <summary>
Created the tree successfully using Demo.jmx
Starting the test @ Wed Jan 25 02:16:12 UTC 2017 (1485310572802)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary =      1 in 00:00:01 =    1.2/s Avg:   619 Min:   619 Max:   619 Err:     0 (0.00%)
Tidying up ...    @ Wed Jan 25 02:16:13 UTC 2017 (1485310573711)
... end of run

About

Use JMeter with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%