Client Test Tool
From Online MQ
OnlineMQ provides a Windows Client Tester tool that enables developers to validate the OnlineMQ service operation quickly, you need to open an account in order to use the Client Tester, if you don't already have a one already obtain a free one here.
Download the Client Tester Tool for free here, Java Runtime is required to use the OnlineMQ Client, if you don't have one install you can download it here
Contents |
Running the OnlineMQ Client
- Just extract the zip file you downloaded to any folder, no installation is required.
- After extracting the files, just run launch.cmd to launch the client.
Setting up the preferences
- Setup the account and queue options in the preferences page: Go to Preferences -> Edit
- Enter your username and password, choose which queue-manager and queue you want to work with.
- Make sure you defined the queue-manager and queue with your account in the OnlineMQ Admin Console
- Don't forget to save the new preferences
Checking connection
Check Connection is used to verify your account credentials and your connectivity to OnlineMQ Servers (in terms of internet connectivity, firewalls and so on...)
- Go to Actions-> Connection-> Check Connection
- Click Check Connection.
- Make sure the Check Connection Successful appears below:
Sending a message
- Go to Actions-> Message -> Send
- Choose Send text message (or Send XML file if you want to send a file)
- Write your message in the textbox.
- Click Send.
- Make sure the message was sent successfully:
Peeking at a message
Peek message is used for browsing the first message on the queue, it does not delete the message from the queue, if you want to delete the message from the queue use the Receive (get) message.
- Go to Actions-> Message -> Peek
- Just click Peek to browse the message
- you will see the message content now below:
* You can also peek at the content of messages using the web admin console, check out the Web Admin Console Introduction for more info.
Receiving a message
Receive message is used for getting the first message on the queue, once you get the message, it is deleted from the queue for good. When writing applications you can use transaction to make sure you run your business logic before the message is deleted from queue.
- Go to Actions-> Message -> Receive
- Just click Receive to get the message
- you will see the message content now below:














