Posted: Fri Dec 08, 2017 8:43 am Post subject: Mocking a system communicating with JMS messages on IBM MQ?
Guest
Hi,
We have two systems, SystemA and SystemB, communicating via request and response messages and using correlation IDs.
I would like to be able to test SystemA in isolation without having to rely on the availability of our MQ broker and SystemB. Ideally I would like to do it in our continuous integration environment (Jenkins). I am looking for common approaches to this problem, before I code a solution myself in-house.
How can I create a mockup of the IBM MQ broker and SystemB for the purpose of testing SystemA in isolation?
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
Both MQ Visual Edit and MQ Batch Toolkit have simulation components that can do basic mocking of another consumer or producer.
The component that would best fit is SIM Server. The SIM Server will continuously consume messages and for each incoming messages, send a reply message(s) setting the reply message's Correlation Id to the incoming message's Message Id.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum