To use JMeter test plan to use WebSphere MQ as JMS Provider on 64 bit platform in bindings mode, there seems to be a problem. By default JMeter will load 32 bit libraries of MQ and that causes problem.
You may get error similar to the following:
com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. For a client installation this is expected. [3=mqjbnd]
To prevent this issue, update your JMether.sh/bat and add following argument.
set JVM_ARGS=-Djava.library.path="C:/IBM/WebSphere MQ/java/lib64"
Note: The path may be different depending on where MQ is installed.
No comments:
Post a Comment