--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1) Read the message properties from CSV.
2) Configure JMS for Active MQ.
3) Match the request and response by CorrelationID.
4) Receive the request from queue and route the response to topic.
//Code Snippet
val feeder = csv("test1.csv").circular
val jmsConfig = jms
.connectionFactoryName("ConnectionFactory")
.url("tcp://localhost:61616")
.contextFactory(classOf[org.apache.activemq.jndi.ActiveMQInitialContextFactory].getName)
.listenerCount(1)
.matchByCorrelationID
val scn = scenario("Load Queues")
.feed(feeder)
.exec(jms(" Load Testing")
.reqreply
.queue("queue-name")
.replyDestination(topic("topic-name"))
.textMessage("This is my test message")
.property("PROPERTY_1", """${property1}""")
.property("PROPERTY_2", """${property2}""")
)
setUp(scn.inject(atOnceUsers(10)).protocols(jmsConfig))
--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/DufyHB0vxak/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.