Send test messages
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
To send test messages
Open Active Directory Users and Computers.
On the View menu, click Users, Groups, and Computers as containers, and then click Advanced Features.
In the console tree, right-click msmq.
Where?
- Active Directory Users and Computers/YourDomain/YourOrganizationalUnit (such as Computers or Domain Controllers)/YourSourceComputer/msmq
Click Properties.
On the Diagnostics page, click Send Test.
In Destination queue, click the applicable test queue, and then click Send. Or, to create a new queue to send test messages to, click New Queue, type the full queue path (such as DestinationComputer\DestinationQueue), click OK, and then click Send.
Click Close to close the dialog box.
Notes
The ability to send a test message is disabled by default after installing Message Queuing. For instructions on turning on this feature, see Enable route tracking and test messages.
To open Active Directory Users and Computers, click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
After sending test messages is enabled, you can also send a test message from the Computer Management snap-in. To do this, open Computer Management, click Services and Applications, right-click Message Queuing, and then click Properties. On the Diagnostics tab, click Send Test.
The computer whose msmq object you select is the source computer used to send a test message.
You can send test messages only to test queues. All test queues are public queues and have a queue type ID of {55EE8F33-CCE9-11CF-B108-0020AFD61CE9}.
You cannot use a transactional queue as a test queue. Only transactional messages can be sent to transactional queues, and test messages are not transactional. Similarly, you cannot change the type ID of a queue requiring authentication to that of a test queue and send test messages to the queue, because the messages will not be delivered (unless the queue is located on the source computer).
Because all test messages are sent with the message route tracking flag set, if the source computer has message route tracking enabled and if the test queue is located on another computer, the route of such test messages is tracked and report messages are sent to the report queue on the source computer. For information on how message route tracking is enabled, see Related Topics.
If you create a queue and immediately send a test message to it, the receiving computer may not receive the test message because of replication delays. In this case, wait several minutes and send the test message again.
You can verify that the sent test messages arrived at the destination queue by viewing the properties of the messages in the destination queue or by viewing the contents of the report queue on the source computer if message route tracking is enabled. For information on how to view the properties of messages in a particular queue, see Related Topics.
Information about functional differences
- Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.