tags:

views:

64

answers:

1

I am troubles using SSL pages with JMeter which I posted here I heard from JMeter official group that problem might lie in jmeter.jar file which is used by Jmeter Maven plug-in as its version is 2.2 while current version of JMeter is 2.4 I had a look at my JMeter dir and got to see "ApacheJMeter.jar" but I don't think it is same jmeter.jar which I need as ApacheJMeter.jar seems to be having really less number of classes than jmeter.jar

Now where could I get jmeter.jar file from? or how could i build myself?

+1  A: 

Not sure there is a clean solution to your problem.

The latest JMeter version is 2.4 while the JMeter Maven plugin uses a custom jar called jmeter-2.2.jar. This is a user contributed plugin and the contributor has created this custom jar for use with the Maven plugin.

Having seen the jar and compared the contents, it looks to be a combination of the contents present in these 2 jars from Apache - JMETER_HOME/lib/ext/ApacheJMeter_components.jar and JMETER_HOME/lib/ext/ApacheJMeter_core.jar.

What you could try is to mvn:deploy both these jars from JMeter 2.4 into your local repository similar to the jmeter-2.2.jar as done here

If that doesnt work, then make your own jmeter-2.4.jar by extracting these 2 completely and creating one single jar out of them.

This still does not ensure the version of JMeterMavenPlugin will work with this new code from 2.4

Alternately, try contacting one of the plugin authors to see if they have any advice.

JoseK
Many thanks, would try these and let u know if this helps....
Tarun
I am bit confused with this - "What you could try is to mvn:deploy both these jars from JMeter 2.4 into your local repository similar to the jmeter-2.2.jar as done here"Doing so how would I get one jar which is combination of both jars....?
Tarun
Between found a couple more jars in - jakarta-jmeter-2.4\lib\ext - ApacheJMeter_http.jar and ApacheJMeter_functions.jar. Though functions are not there in jmeter 2.2 but figured that this should be the reason how my JMeter tests using csv read function works in Jmeter but fails while using Maven JMeter plug-in...
Tarun