Preparing to test

Before you start the test, you must perform the following tasks, which may vary by the role that you are simulating, either a request or response from the Community Manager, or a request or response from a participant:

  1. Copy your VTP digital certificate to the file system:
    /opt/data/vcrouter/vms/security/vtp

    You can obtain this certificate from a CA, or it can be self-signed.

    Edit the VTP values that appear in the bcg_console.properties file.

    Edit the bcg.certs.vtp.CertificateDir location in the bcg.properties file.

    WebSphere Partner Gateway automatically loads the VTP digital certificate for every participant in the database, allowing you to post to any participant. These certificates are not visible on the console.

  2. Verify that your gateways and connections are configured and that they are working properly.
  3. Verify that your targets are enabled and configured with the appropriate URL for incoming messages. Different traffic occurs on different targets. If the target's URLs are not correct, documents will not be processed.

    This requirement only applies when you are testing a document that requires a response. For more information about targets, see the Hub Configuration Guide.

  4. Verify the Business IDs that appear in the header of your test document. The Business IDs drive the routing process and control where the document is sent.

    For example, if you are sending your document to yourself, the Community Manager, the "to" Business ID in the document header must be your own Business ID. The system uses the "to" Business ID to find the correct connection.

The following is an example of the "from" and "to" Business IDs in a test document (lines that are not relevant have been removed):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Preamble SYSTEM "3A4_MS_V02_02_PurchaseOrderRequest.dtd">
<Pip3A4PurchaseOrderRequest>
   <fromRole>
      <GlobalBusinessIdentifier>987654321</GlobalBusinessIdentifier>
   <toRole>
      <GlobalBusinessIdentifier>567890123</GlobalBusinessIdentifier>

Copyright IBM Corp. 2003, 2005