简体   繁体   中英

Mock IBM MQ manager

I need to mock IBM MQ manager for load testing with auto-replay for some MQ applications.

Are there instruments to do it? Maybe, several instruments for each operation - mock and auto-replay.

Thank you.

What exactly do you mean by mock IBM MQ manager ?

You cannot a fake queue manager. The best thing to do is to download IBM MQ for Developers (Linux or Windows) and set it up with what queues, channels, etc. you need. You can also download IBM MQ Advanced for Developers for Raspberry Pi .

Now if you only meant that you want to simulate either server-side or client-side component getting or putting of messages via replaying of messages then have a look at MQ Visual Edit . MQ Visual Edit can off messages in a queue to an SQLite database file which includes both the MQMD and message data. Hence, later you can replay those same messages over and over again. Also, it has 4 different test servers built into it to simulate server-side or client-side components.

Let us say we have a situation like the one described in the diagram below. To be able to load test the "Shopping system" in isolation, you will need access to an IBM MQ broker and a tool to simulate the "Payment processing system".

通过 IBM MQ 队列进行支付处理

To access an IBM MQ broker you have several options:

To simulate the "Payment processing system" you can write a tool yourself or use one of the off-the-shelf tools available called service virtualization tools .

For example, you can use Traffic Parrot as it supports IBM MQ .

Keep in mind that the load test like that can provide comparable performance benchmarks and tell if for example if your future code changes or releases are more or less performant. In order to simulate Black Friday scenarios, you will need to consider replicating the whole production environment setup in your load test environment (including allocation the same hardware resources and using the same software versions).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM