I am using the gatling 2.3.0 version for jms loadtesting against IBM MQ and using JNDI file binding method.
i am able to connect and send the XML message to ibm mq queue but somehow original message was appended with extra tags like etc .
these tags are appended at the start of the message.
Objective here to send the original message only without extra tags, Is there a way to achieve this in gatling?
val jmsConfigMQ1 = connectionFactoryName(DEFAULT_QCF_NAME_MQ_HOST_1)
.url(“file://Users/Documents”)
.contextFactory(JNDI_CONTEXT)
.listenerCount(1)
.usePersistentDeliveryMode
val scnID = scenario("Load testing).during(1 hour) {
exec(jms(“test”).send
.queue(“MESSAGES.QUEUE”)
.textMessage(xml-file-content)
)
}
setUp(scnID.inject(rampUsers(40) over(1 seconds))
.protocols(jmsConfigMQ1)