Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | Working with Test Clients | What Is a Test Client?
What Is a Test Client?
A test client is a function built in My webMethods that you can use to quickly create clients on the Broker Server. A test client can function as a client program running inside My webMethods and can act as a client on Broker Server.
In practical terms, a test client is a diagnostic tool that you can use to test the publishing and subscribing process. Sometimes, the publishing and subscription processes are developed independent of one another. In fact, the publishing and subscription might be created by different developers and might not be developed at the same time. Using a test client, you can publish and retrieve the published documents without building or writing one or more actual clients for this purpose.
You can use test clients to:
*Verify that a client receives the documents to which it has subscribed.
*Ensure that a filter saved with a subscription is valid and will allow only those documents that meet filter criteria to be placed in the client queue.
*Determine whether documents are getting stuck after publication or are being properly routed to the subscribers.
For example, suppose that a new adapter subscribes to a document type named customerInfo. You can use a test client to publish a customerInfo document and verify that the new adapter receives the document.
Test clients can be useful for diagnostic purpose when used in conjunction with the trace or topology features.
These features allow you to publish and then monitor a document routed by Broker from the publisher and distributed to subscribing clients. For more information about using the trace and topology features, see Using Topology View and Document Trace.