Taurus Docker + GWT + with External Jmeter Lib dir

71 views
Skip to first unread message

Abhiram Pattarkine

unread,
Mar 25, 2022, 12:14:03 PM3/25/22
to codename-taurus
Hi team,

We are using Docker to run our JMeter/ Taurus load tests. It runs fine with some of the use cases we have.

A specific use case we have is to test GWT based application. For us to serialize and deserialize the request we need to have specific set of Jars in jmeter /lib folder. Since we are using Docker, I am not sure how to  make it work as those Jars are application specific and does not come out of box with Jmeter. The solution I am trying is, to direct Jmeter running inside Docker Container to use external /lib folder (which is sitting on my local file system). That way I can control what jar files goes in the /lib folder. This will help me to easily replace app specific jar files as I get newer version of our app. 

 Can someone guide me on how this can be done? 

Regards,
Abhiram

grey....@gmail.com

unread,
Mar 27, 2022, 9:22:15 AM3/27/22
to codename-taurus
Hello.
To achieve that:
1. fill your own jmeter dir with libs (on local fs)
2. mount jmeter dir into docker
3. provide docker path to jmeter in  yaml file
4. profit)

#   yaml file:
modules:
   jmeter:
      path: /docker/dir/jmeter

# cmdline:
$ docker run -t blazemeter/taurus  -v /your/local/jmeter:/docker/jmeter your_yaml_file.yaml

---
Taras

Abhiram Pattarkine

unread,
Mar 27, 2022, 10:39:59 PM3/27/22
to codename-taurus
Another question? Can we run JMeter in GUI inside the container using your docker file for validating scripts?? We want to take benefits of container so we don't have to install anything else and at the same time configure the container to use GWT.  

grey....@gmail.com

unread,
Mar 30, 2022, 12:00:57 PM3/30/22
to codename-taurus
GUI  in docker?  what do  you  mean?

---
Taras

Reply all
Reply to author
Forward
0 new messages