How to clear queue messages from IBM MQ Client in higher ReadyAPI (3.1 and above) versions?
Hello,
I'm trying to create a script to clear all messages from one or more queues.
I have some queues within IBM MQ explorer that needs to be cleared using a script so that I can use it run inside a test project.
I have created a Groovy script that works for 3.0.0 version and below following this page: https://community.smartbear.com/t5/ReadyAPI-Questions/Resolved-Groovy-Script-Clear-JMS-Messages-from-Queue/td-p/31919
But this supports only HermesJMS. Now for higher versions I have used JMS Manual Configuration in ReadyAPI
Here is my Queue config:
How can I create a Groovy script or any step to clear messages from queue?
Thanks.
Thank you Emma!
Hi Reysha! If the advice from the community didn't help, please feel free to raise a support ticket by the link.