smithmicro / jmeter-ecs

JMeter Docker Image for Distributed Testing on EC2 Container Service (ECS)
Apache License 2.0
43 stars 34 forks source link

Is there a way to pass a group of custom plugins? #47

Open SZhaoBC opened 4 years ago

SZhaoBC commented 4 years ago

I want to install more than one custom plugin. For example, JMeter jpgc plugin and AWS S3. Is there a way I can set CUSTOM_PLUGIN_URL parameter with multiple plugins? Thanks!

dsperling commented 4 years ago

Today the JMeter images can only install 1 custom plugin.

I also wanted to point out a recent change where all standard plugins (minus deprecated ones) are installed in the 3.0-5.0 Docker images.

https://github.com/smithmicro/jmeter-ecs/blob/f9f4459b8b738103aef1818879fd40a776b4e376/jmeter/Dockerfile#L34-L37

Adding support for multiple plugins would be straightforward. For example, if the CUSTOM_PLUGIN_URL variable had a .zip extensions, we could extract multiple .jar files from the downloaded zip.

SZhaoBC commented 4 years ago

Yes. I am working on zip all needed plugins and generate a link. This is what my jars look.

Screen Shot 2019-09-12 at 10 59 12 AM

There is an aws-sdk-sns jar file. But when i use it in my JSR223 sampler to do "AmazonSNSClient snsClient = new AmazonSNSClient()" ; There is an error "Class: AmazonSNSClient not found in namespace". Looks like this jar file is not in right place. Is there any restriction on the zip file? Thanks!