JMS load testing against IBM MQ issues

Dear all,

I’m having difficutlies in setting up a load test scenario (JMS) against a IBM MQ.
I’m running the most recent version of Gatling.

Problem: I’m forced to initialize a conext factory which actually should be in "com.ibm.mq.jms.contextWMQInitialContextFactory"
but although having the required dependecy - which is com.ibm.mq, version 8.0.0.3 correctly integrated in my "build.sbt" the context-package with WMQInitialContextFactory
is not present. Is there any other way, may in using some "CommonContant" of IBM MQ?

Thanks a lot in advance!

Best
Philipp

My gatling scenario:


```
package com.myawesomecompany.loadtest

import com.ibm.mq._
import com.ibm.mq.jms.MQConnectionFactory
import com.ibm.mq.jms.JMSMQ_Messages
import com.ibm.msg.client.wmq.common.CommonConstants
import io.gatling.core.Predef._
import io.gatling.core.scenario.Simulation
import io.gatling.jms.Predef._
import javax.jms._

import scala.concurrent.duration._

class JMSLoadTest extends Simulation {

  val jmsConfiguration = jms
    .connectionFactoryName("ConnectionFactory")
    .url("devmq01.company.dmz")
    .credentials("mqm", "mqm")

  .contextFactory(classOf[com.ibm.mq.jms.context.WMQInitialContrextFactory].getName) 
  .listenerCount(1)
  .usePersistentDeliveryMode  

 val scn = scenario("Load testing GPRSForwarder").repeat(1) {
exec(jms("testing GPRSForwarder...").reqreply
  .queue("COMPANY.TEST.QUEUE")
  .textMessage("00001404020611100E033102C20EBB51CC1C036EFFFF00010002323802000200FE05001400000000FFFFFFFFFFFFFFFFFF040010038B0D6912EB10CE070206110F37298C")
  .jmsType("test_jms_type")
    )
  }  

 setUp(scn.inject(rampUsersPerSec(10) to 1000 during (2 minutes)))
    .protocols(jmsConfiguration)

```