Reputation: 74
I'm performing a load tests against IBM MQ and would like to have 10 msgs./users being submitted in 10 minutes (just a as a proof of concept). I'm injecting the respective load like this:
scn_message_ZIP_DP102.inject(rampUsers(10) over(10 minutes)).protocols(jmsConfigMQ1)
But when checking the logs I'm seeing the applicaiton is being flooded with messages. I'd expect to have just 10 messages being submitted in a timeframe of 10 minutes.
Upvotes: 0
Views: 281
Reputation: 1500
Well we have an answer - in 10 minutes you start 10 users and every of them is sending message after message in a 48 hour loop, so instead of 10 messages you probably have hundreds of millions of them. Remove during
loop and it should be fine fe.:
val scnMessageID14 = scenario("Load testing InboundQueue on MQ-HOST-1 with MessageID14")
.exec(
jms("F&F testing with MessageID 14")
.send
.queue("MESSAGES.QUEUE")
.textMessage(message14)
)
Upvotes: 1