Using the Send Master Utility

This chapter discusses the Send Master utility and describes how to:

Click to jump to parent topicUnderstanding Send Master

The Send Master utility enables you to test PeopleSoft Integration Broker service operation interactions with PeopleSoft and third-party web servers, application servers, and integration gateways. It can test listening connector functionality, target connector functionality, connector introspection and transactions.

Send Master enables you to post any data format, including the PeopleSoft Multipurpose Internet Mail Extensions (MIME) message format, to web and application servers over HTTP and HTTPS. You can also use Send Master to simultaneously test groups of different types of service operations, as well as stress test your system.

Send Master also enables you to perform Get functions and to ping application messaging gateways and third-party servers.

Send Master is installed with the PeopleSoft Pure Internet Architecture on Windows and UNIX systems and is delivered as part of the Integration Broker Connector SDK. Send Master is also delivered as a Windows stand-alone batch file. The stand alone version enables you to use the utility without having to install an integration gateway.

Click to jump to parent topicStarting Send Master

You can start Send Master from the Integration Broker SDK or as a stand-alone version.

Note. The starting size of Send Master is 50 megabytes (MB) and Send Master starts showing issues with startup if other heavy processes like Oracle, eclipse or JDeveloper are running.

Click to jump to top of pageClick to jump to parent topicStarting Send Master from the Integration Broker SDK

The location of Send Master in the Integration Broker SDK depends on the on web server:

The name of the Send Master startup script on Windows is StartSendMaster.bat; the name of the script on UNIX is StartSendMaster.sh.

Click to jump to top of pageClick to jump to parent topicStarting the Stand-Alone Version of Send Master

The standalone version of Send Master is located in the <PS_HOME>\Sendmaster folder, and is named StartSendMaster.bat. If you attempt to launch the batch file and Send Master does not open, you most likely need to set PS_HOME in the environment variables on your machine.

To set PS_HOME in the environment variables:

  1. Close any DOS windows that might be open.

  2. Right-click My Computer and click Properties.

    The System Properties dialog appears.

  3. Click the Advanced tab.

  4. In the Environment Variables section, click Environment Variables.

  5. In the User variables for <user name> section, click New.

    A New User Variable dialog box appears.

  6. In the Variable Name field enter PS_HOME.

  7. In the Variable Value field, enter the path to your <PS_HOME> directory (for example, c:\PT850).

  8. Click OK.

    The PS_HOME variable name and value appears in the User variables for <user name> section.

  9. Click OK again and navigate to the standalone version of Send Master and double-click the StartSendMaster.bat file.

Click to jump to top of pageClick to jump to parent topicStarting Send Master in Pre-PeopleTools 8.48 Mode

PeopleSoft Integration Broker introduced its services-oriented architecture in PeopleTools 8.48.

You can use Send Master to test integrations created with the pre-PeopleTools 8.48 framework (PeopleTools 8.47 and earlier releases). To set Send Master for PeopleTools releases prior to PeopleTools 8.48, launch StartSendMaster.bat from the command line with 847 as the argument.

For example:

StartSendMaster.bat 847

Click to jump to parent topicNavigating in Send Master

Send Master features drop-down menus that you use to create, save and delete projects, and to change your user and display preferences. It also features Project and Batch Processing work spaces where you specify project parameters, view output, and so on.

You can navigate in Send Master using:

Click to jump to top of pageClick to jump to parent topicUsing Send Master Menus

Send Master features two menus. This table describes the menus:

Menu

Menu Option

Shortcut

Action

File

New Project

Alt + N

Creates a new projects.

File

Save Project

Alt + S

Saves the current project.

File

Delete Project

Alt + D

Deletes the current project.

File

Batch Processing

Alt + B

Opens the Batch Processing work space.

File

Preferences

Alt + P

Opens the Preferences dialog box, from which you can:

  • Change user preferences.

  • Specify proxy and keystore information.

  • Specify the output directory and preferences for batch processing output.

File

Export IBRequest

Alt + E

Exports a service operation request to a file.

File

Exit

Ctrl + E

Closes Send Master.

Help

About Send Master…

None

Displays Send Master version information.

Click to jump to top of pageClick to jump to parent topicUsing the Project Work Space

When you open Send Master, the system displays the Project work space. You use the Project work space to define, modify, and test a Send Master project.

The Send Master Project work space features the Project Definitions section, the Input Information section, and the Output Information section. No fields or buttons are enabled until you define or select a project.

Project Definition Section

Use the Project Definition section to add and define a new Send Master project. The information that you specify in this section includes the web server URL used in conjunction with Post and Get methods to work with service operations.

Input Information Section

Depending on the type of task that you are performing with Send Master, the Input Information section enables you to create and format MIME messages, as well as specify input files, destination nodes and more.

You need to know the service operation format that the connectors, application servers, and so forth are expecting, and then incorporate the appropriate tags and components into the service operation transaction content. For example, to communicate with PeopleSoft systems, you must specify the service operation name with the version and requesting node.

This section features a toolbar with the following buttons:

Click the Open File button to open an existing file and display it in the Input Information area.

Click the Save File button to save the contents displayed in the Input Information area, using a filename and location that you specify.

Click the Save File As button to save the currently displayed file, using another name, location, or both, that you specify.

Click the Refresh the Current File button to reload and display the last saved version of the current file.

Click the Remove File Reference button to delete the contents of the Input Information area.

Click the If Valid XML, Format button to format the code displayed in the section to make it more readable. This button is valid only if the file displayed is an XML file.

Output Information Section

The Output Information section displays information that the system returns when you perform a GET or POST on a web server.

When you work with MIME messages, you can use the provided View drop-down list and choose whether to view the entire raw message response, message metadata, or individual sections of the response.

When you work with message types other than MIME, you can view the raw message response only.

This section features a toolbar with the following buttons:

Click the View Header Information button to display the HTTP headers returned during a POST or GET.

Click the Save Output button to save the information in the Output Information section using a filename and location that you specify.

Click the If Valid XML, Format button to format the code displayed in the section to make it more readable. This button is valid only if the file displayed is an XML file.

Click the Clear Output button to delete the contents of the Output Information area.

Click to jump to top of pageClick to jump to parent topicUsing the Send Master Batch Work Space

The Send Master Batch work space enables you to test groups of projects, as well as stress test a project or group of projects. You can access the Batch Processing work space by starting Send Master, opening an EIP Testing (Batch EIP) project and selecting File, Batch Processing.

The Batch Processing work space features these sections:

Group Definitions Section

You use the Group Definitions section to create, select, or delete a group of projects. You can also use this section to specify whether to run the projects in the group all at once, in sequence, or at intervals that you specify.

This section features these two buttons:

Click the Start Projects button to start processing the defined group.

Click the Stop Projects button to stop processing the defined groups.

Group Projects Section

You use the Group Projects section to add, remove, and arrange projects in a group. For each project that you add to a group, you can select the method to invoke, such as GET or POST. You can also specify the number of times to run each project, and specify whether to run project instances all at once, in sequence, or at defined intervals.

This section features a toolbar with the following buttons:

Click the Add a New Project button to add a project to the group.

Click the Delete Selected Project button to delete the selected project from the group.

Click the Update Selected Project button to update the selected project with changes and modifications that were made to it since it was added to the group.

Click the Move Selected Project Up button to move the selected project up in the order sequence of projects in the group.

Click the Move Selected Project Down button to move the selected project down in the order sequence of projects in the group.

Completed Projects Output Section

The Completed Projects Output section provides processing information about each project in a group, including the number of project instances processed, total time to process all project instances, the average amount of time to process a project instance, and more.

This section features a toolbar with the following buttons:

Click the Export Results to File button to display a text file that contains processing information about the completed project, such as the number of service operations processed, the total time to process the service operations, the average time to process a service operation, and so forth.

Click the Clear Results button to clear the contents currently displayed.

Output Information Section

The Output Information section displays information that the system returns when you perform a Get or Post on a web server.

When you work with MIME messages, you can use the View drop-down list to view the entire raw message response, message metadata, or individual sections of the response.

When you are working with message types other than MIME, you can view the raw message response only.

This section features a toolbar with the following buttons:

Click the View Header Information button to display only the contents within the header tags of the selected message.

Click the Save Output button to save the contents of the Output Information area, using a filename and location that you specify.

Click the If Valid XML, Format button to format the code displayed in the section to make the contents more readable. This button is valid only if the file displayed is an XML file.

Click the Clear Output button to delete the contents of the Output Information area.

Click to jump to parent topicSetting Display Preferences

You can set these display preferences for Send Master:

To set display preferences, use the Display tab of the Preferences dialog box. To access this box, select File, Preference and click the Display tab.

Click to jump to top of pageClick to jump to parent topicSetting the Display Font, Size and Color

To set the display font, size and color:

  1. Access the Preferences dialog box and click the Display tab.

  2. Set the display font, size and color.

  3. Click OK to save the changes.

Click to jump to top of pageClick to jump to parent topicSetting the Background Color

This section describes how to set the background color of Send Master work spaces and sections.

To set the background color:

  1. Access the Preferences dialog box and click the Display tab.

  2. In the Font section, in the Background Color field, click the color block.

    The Choose the Text Background Color box appears, from which you can select a background color and click OK.

  3. Click OK to save the changes.

Click to jump to top of pageClick to jump to parent topicSetting Word-Wrapping Options

You can enable or disable word wrapping in Send Master input and output sections.

To set word-wrapping options:

  1. Access the Preferences dialog box and click the Display tab.

  2. In the Word Wrap section, enable or disable word wrapping.

  3. Click OK to save the changes.

Click to jump to parent topicSetting HTTP Proxy and Keystore Options

You can set up HTTP proxy and keystore options for use with Send Master. You set these options on the HTTP tab of the Preferences dialog box. To access the dialog box, select File, Preferences.

Specifying HTTP Proxy Settings

To specify HTTP proxy settings for Send Master:

  1. Access the Preferences dialog box and click the HTTP tab.

  2. In the Proxy section of the dialog box, specify the following information:

    1. In the Host field enter the name of the proxy host.

    2. In the Port field, enter the appropriate port number.

  3. Click the OK button.

Specifying Keystore Settings

To specify keystore settings for Send Master:

  1. Access the Preferences dialog box and click the HTTP tab.

  2. In the Keystore section of the dialog box, specify the following information:

    1. In the Certificate Alias field, enter the certificate alias.

    2. In the Certificate Password field, enter the encrypted certificate password.

    3. In the Keystore File field, click the folder icon to specify a keystore file.

    4. In the Keystore Password field, enter the encrypted password for the keystore.

  3. Click the OK button.

Click to jump to top of pageClick to jump to parent topicSetting Batch Processing Options

You use the Batch Processing tab to set output directory options related to the projects with which you work in the Batch work space.

Directory

Specify the output directory for Batch project results.

Create if not found

Select this check box to create the directory specified in the Directory field if it does not exist.

Overwrite files

Select this check box to overwrite files of the same name in the output directory.

Delete directory before each run

Select this check box to delete the contents of the directory before you run each batch project.

Delete directory on exit

Select this check box to delete the contents of the directory each time that you exit the Batch work space.

Click to jump to parent topicCreating Send Master Projects

To test service operation and connector processing using Send Master, you use Send Master projects. A Send Master project is a collection of service operation components, values and parameters that defines what you want to test and how you want to test it.

Click to jump to top of pageClick to jump to parent topicUnderstanding Send Master Project Types

This table describes Send Master project types.

Input File

The Input File project type enables you to test servers that are expecting XML data over HTTP(S).

Integration Broker (MIME)

The Integration Broker (MIME) project type enables you to test servers that are expecting MIME data over HTTP or HTTPS. Use this project type to test service operation and connector processing using the PeopleSoft listening connector and for integrations with systems that expect MIME data.

This project type is referred to as the Integration Broker (MIME) project type throughout this chapter.

Integration Broker (XML)

The Integration Broker (XML) project type enables you to test servers that expect XML data in PeopleSoft format over HTTP or HTTPS. Use this project type to test service operation and connector processing using the HTTP listening connector and for integrations with systems that expect IBRequest XML— formatted data.

This project type is referred to as the Integration Broker (XML) project type throughout this chapter.

EIP Testing (Batch EIP)

The EIP Testing (Batch EIP) project type enables you to test batches of service operations from a file directory that you specify for automation testing, and enables you to test different transaction values.

This project type is referred to as the EIP Testing project type throughout this chapter.

JMS Project

The JMS Project project type enables you to test and post synchronous and asynchronous service operations to JMS queues or topics.

This project type is referred to as the JMS project type throughout this chapter.

The following table describes the type of project to use based on the type of communication that you want to test.

Project Type

Usage

Input File

Use this project type to:

  • Use the Get method to ensure that URLs are valid.

  • Send non-PeopleSoft-formatted XML or MIME messages to web servers.

  • Test SOAP messages with the HTTP listening connector or PeopleSoft Service listening connector.

  • Test inbound and outbound transformations by posting non-XML data into PeopleSoft software.

  • Test integration points with PeopleSoft 8.1x systems as well as those systems that do not adhere to the PeopleSoft message format.

Integration Broker (MIME)

Use this project type to:

  • Test PeopleSoft Integration Broker.

    After you create service operations, you can quickly add a few required fields and test the integration point. Instead of setting up another PeopleSoft system, you can interact with Send Master to shorten development time.

  • Test handlers.

    For example, you can test OnRequest, OnSend and so forth.

  • Test target connectors on the integration gateway, including specifying connector overrides.

    For example, you can test an integration that needs to perform normal Integration Broker processing, but also output the file to disk. You can override the target connector and test the file creation process.

  • Test attachments.

Integration Broker (XML)

Use this project type to:

  • Mimic an external system to test service operation processing using the HTTP listening connector.

  • Export data into the PeopleSoft XML IBRequest format to provide samples of data that PeopleSoft Integration Broker expects in request service operations.

EIP Testing

You can use this project type to send a directory of MIME-formatted messages into PeopleSoft Integration Broker. This project type enables you to override requesting and destination nodes without having to alter every service operation.

JMS

Use this project type to POST service operations to a JMS queue. This project type does not use the HTTP protocol, so no URL is provided.

Click to jump to top of pageClick to jump to parent topicCreating Send Master Projects

To create a Send Master project:

  1. Launch Send Master.

  2. Select File, New Project.

  3. In the Project Name field, enter a name for the project.

  4. From the Project Type drop-down list, select one of the following options:

  5. Click the OK button.

    The system populates the Input Information section with various tabs, based on the project type that you selected.

  6. In the Server URL field, enter the server URL of the server with which to communicate.

    Note. This field is not used for JMS projects.

  7. In the Time Out field, enter a timeout value.

    The timeout value determines the amount of time Send Master attempts to process a service operation. If the request does not complete in the time specified, processing stops. Usual timeout is about 60 seconds. The default is 0 (zero), meaning there is no timeout.

  8. In the Headers box, enter pertinent HTTP header information for the service operation.

  9. Select File, Save Project.

The project name appears in the Project field and the type of the project appears in parentheses next to the project name. The content of the work space varies, based on the project type selected.

See Also

Using Integration Broker Projects

Using Input File Projects

Using EIP Testing Projects

Using JMS Projects

Click to jump to parent topicEntering Header Information in Send Master Projects

Send Master enables you to specify HTTP, IBInfo, and connector headers. These headers are used in association with the following project types:

Use the information in the following table as a guide for entering header information in Send Master.

Header Type

Project Type

Location

Description

HTTP header

  • Input File

  • Integration Broker (XML)

Note. An HTTP header field is present when working with EIP Testing projects; however it is usually not used because you are using the PeopleSoft listening connector.

Project Definition section, Headers box.

Provides HTTP protocol header information about the service operation at the server level and relates to how you are sending an entire service operation. You can specify cookies, content-type, encoding, sending program information, and so forth.

Connector header

Integration Broker (MIME)

Input Information section, Connector tab.

Provides required and optional headers that connectors need to pass information and process service operation requests. You can specify information such as service operation compression, encoding, and so forth.

You can specify connector header information only while editing connector information in an Integration Broker (MIME) project type.

IBInfo header

  • Integration Broker (MIME)

  • Integration Broker (XML)

 

Input Information section, Header Information, and Additional Header Cont. tabs.

Contains information that is required to route service operations through PeopleSoft Integration Broker, including service operation name, operation type, requesting node, and so on.

Click to jump to parent topicAdding Input Files to Projects

The information in this section applies to all project types except for the EIP Testing project type.

When working with EIP Testing projects, you specify file input and file output directories.

See Specifying File Input and File Output Directories.

To add an input file to a project:

  1. In the Input Information section, click the Input File tab (if necessary).

  2. (Optional.) Select Base64 encode/compress to enable base64 encoding and compression.

    This option is not available when working with JMS projects.

  3. (Optional.) Select Non Repudiation to enable nonrepudiation.

    This option is not available when working with JMS projects.

  4. In the text box, compose the transaction content of the service operation in the area provided, or import a file.

    To import a file, click the Open File button and select a file. The name of the imported file appears under the Input Information section.

  5. Modify the service operation transaction content if necessary.

  6. Click the Save button on the toolbar within the Input Information section.

  7. Select File, Save Project.

After you create an input file, you can modify and format service operation content. Use the following tips when you work with input files. Note that all buttons referenced appear on the toolbar located within the Input Information section.

Click to jump to parent topicUsing Input File Projects

This section describes using Input File projects and describes how to:

See Also

Understanding Send Master Project Types

Click to jump to top of pageClick to jump to parent topicCreating Input File Project Types

The first step to using an input file project is creating the Input File project type. Information about how to complete this task is provided earlier in this chapter.

See Creating Send Master Projects.

Click to jump to top of pageClick to jump to parent topicAdding Header Information to Input File Projects

Input header information for input files can be added as a query string in the URL or entered in the header area. This table lists the header properties:

Header Label

Description

From:

Required. Identifies the node sending the service operation.

To:

Optional. Identifies the receiving node.

If this header is not entered, it defaults to the default application server specified on the gateway.

OperationName:

Required. Identifies the external service operation, including version. This must match the external operation in the routing definition.

OperationType:

Required. Identifies the operation type sync, async, or ping.

OrigTimeStamp:

Optional. Identifies a timestamp for this service operation.

SOAPAction:

Optional. Identifies a SOAP action for this service operation.

NonRepudiation

Optional. Identifies if nonrepudiation is enabled (True or False).

content-type:

Identifies the content type for the service operation.

Click to jump to top of pageClick to jump to parent topicCreating and Adding Input Files to Input File Projects

Information about creating and adding an input file to a project is provided earlier in this chapter.

See Adding Input Files to Projects.

Click to jump to top of pageClick to jump to parent topicPosting Input File Projects to Web Servers

After you create the Input File project type, add the input file to the project, and then click the Post button to post the file to the server.

Any server response to the service operation that you post appears in the Output Information section.

Click to jump to parent topicUsing Integration Broker Projects

This section provides an overview of Integration Broker project types, and describes how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Integration Broker Project Types

You can create two types of Integration Broker projects—an Integration Broker MIME project or an Integration Broker XML project.

When you create Integration Broker MIME projects, you use the Input Information section of the work space to supply Send Master with information to build the IBInfo section of the service operation. In addition, you also use the section to specify connector information, add cookie information, specify destination nodes, and so on. PeopleSoft Integration Broker uses the information to build the MIME structure in service operations that are required to communicate with the PeopleSoft listening connector.

For Integration Broker XML projects, Integration Broker uses the information to build the IBRequest.

See Also

Understanding Send Master Project Types

Click to jump to top of pageClick to jump to parent topicUnderstanding Input Information for Integration Broker Projects

 

This section discusses the options you can define when working with Integration Broker MIME and Integration Broker XML project types.

Header Information Tab

Use the Header Information tab to create service operation headers. This table describes the controls on the tab:

Requesting Node

Identifies the name of the node that is making the request.

Ext Operation Name

Identifies the service operation and version. This matches the External Operation on the routing definition parameters page.

Operation Type

Identifies the operation type. Values are:

  • Sync: Specifies that the service operation you are testing is synchronous.

  • Async: Specifies that the service operation you are testing is asynchronous.

  • Ping: Tests the application server to make sure it is available and accepting requests.

App Serv Domain

(Optional.) Identifies the application server and domain that will receive the service operation.

Password

(Optional.) Identifies the password as entered in the node definition, if password authentication is used.

Originating Node

(Optional.) Identifies the name of the node that started the process.

Originating Process

(Optional.) Identifies the name of the process where the publish event originated. For example, a service operation published from the Inventory definitions page would have a process name of INVENTORY DEFIN.

Originating User

(Optional.) Identifies the user ID login from where the service operation was initially generated.

Queue

(Optional.) Identifies the name of the queue expecting the service operation.

Sub Queue

(Optional.) Identifies subprocesses for the queue.

Visited Nodes (Integration Broker MIME project type only)

(Optional.) Identifies nodes through which the service operation has passed. Separate the values by semicolons.

Visited nodes enable you to mimic visited node information populated when sending PeopleSoft service operations through PeopleSoft Integration Broker.

Destination Node

(Optional.) Identifies destination node for the service operation.

Final Destination Node

(Optional.) Identifies the final destination node. Use this option when working with a hub configuration.

Transaction ID

(Optional.) Identifies a transaction ID for this service operation.

External Message ID

(Optional.) A unique ID to eliminate duplicate service operations from being delivered to PeopleSoft Integration Broker. The maximum length is 70 characters.

Conversation ID

(Optional.) Identifies a conversation ID for this service operation.

Headers Cont. Tab

You can work with the following controls on this tab.

Note. This tab appears only when you are working with Integration Broker MIME projects.

Cookies

(Optional.) Identifies cookies that the server might require. Use semicolons to separate multiple cookies.

Gather Statistics

Select this check box to gather statistics about system performance when posting service operations using Send Master.

See Using Send Master to Export Request Service Operations.

Input File Tab

Use this tab to add input files. You can also use this tab to apply nonrepudiation, and base64 encoding and compression. This section describes the controls featured on this tab. Controls that appear on this tab that are not described in this section are documented earlier in this chapter.

See Navigating in Send Master.

This table describes the controls on the Input File tab:

Base 64 Encode/ Compress

(Optional.) Select this check box to apply base64 encoding and compression to the service operation.

Non-repudiation

(Optional.) Select this check box to apply nonrepudiation to the service operation.

Connector Tab

This tab appears only when you are working with the Integration Broker MIME project type.

The Connector tab enables you to perform connector introspection on the integration gateway so you can select from all target connectors loaded on the integration gateway. No fields or controls are active on this tab until you enter connector data and select a target connector.

After you select a target connector, you can select specific target connector properties to use and define those property values. In addition, you can specify and define headers and fields that a selected connector needs to be able to pass information and invoke service operation requests.

Note. Header properties with which you work on this tab correspond to properties with the property IDHeaders in PeopleSoft Pure Internet Architecture. Field properties with which you work on this tab correspond to any property ID other than Header in PeopleSoft Pure Internet Architecture.

This table describes the controls on the Connector tab:

Click the Load Introspection Data button to load all target connectors that are currently installed on the integration gateway.

Click the Refresh button to apply and make available in Send Master any changes that you make to target connector properties on the integration gateway.

Connector

Select a connector from the drop-down list.

The default is <None>.

You must first click the Load Introspection Data button for any connectors to appear in the list.

Remote URL

Enter a URL to redirect service operations to a different URL that is specified in the Server URL field in the Project Definitions section.

Headers Box

This area displays the headers, and the current values assigned to them, that you have selected for the target connector.

Fields Box

This area displays the fields, and the current values assigned to them, that you have selected for the target connector.

Value

Enter the value for the selected header or field.

Click the Update Selected Header/Field Value in List button to apply the value in the Value field to the selected field or header in the Headers box or the Fields box.

Click the Delete button to delete the header or field that is selected in the Headers box or the Fields box.

Value

Default header and field values appear in this field.

Enter the desired value for the selected header or field in the Headers box or the Fields box.

Click the Add Selected Header/Field and Value button to add the header in the Header field and its default value to the Headers box, or to add the field in the Field field and its default value to the Fields box.

Click the Add All Required Headers/Fields and Their Default Values button to add all of the required headers or fields for the selected target connector and their default values to the Headers box or the Fields box.

Header

Use the Header drop-down list to select a value from all defined headers for the selected target connector.

When you select a header from the list, its default value, if one exists, appears in the Value field.

The Header drop-down list appears only when you work with the Headers subtab.

Field

Use the Field drop-down list to select a value from all defined fields for the selected target connector.

When you select a field from the list, its default value, if one exists, appears in the Value field.

The Field drop-down list appears only when you work with the Fields subtab.

Value

The Value field displays the default value, if one exists, for any selected header or field.

Use the drop-down list to view and select header and field values.

After you select a value in the list, click the Add Header button or the Add Field button to change the value in the value text box, or reenter the value that you want to apply in the box.

Attachment Sec tab

Use this tab to test attachments. This table describes the controls on the Attachment Sec tab:

Content ID

Identifies the content ID for the attachment.

Content Url

Identifies the content URL for the attachment.

Content Encoding

Identifies the encoding used in the attachment.

Content Base

Identifies the base property for the attachment.

Content Location

Identifies the content location for the attachment.

Content Disposition

Identifies the disposition of the attachment.

Content Language

Identifies the language for the attachment.

Content Disposition

Identifies the disposition of the attachment.

Click to jump to top of pageClick to jump to parent topicCreating Integration Broker Project Types

The first step to using an Integration Broker project is creating the Integration Broker project type. Information about how to complete this task is provided earlier in this chapter.

See Creating Send Master Projects.

Click to jump to top of pageClick to jump to parent topicAdding PeopleSoft Header Information to Integration Broker Projects

To add PeopleSoft header information to the project:

  1. In the Input Information section, select the Header Information tab, if it is not already selected:

  2. Complete the following required fields:

  3. Enter values in any of the remaining optional fields as appropriate for your project.

  4. (Optional.) Click the Headers Cont. tab to add cookie information or to gather messaging statistics.

See Also

Entering Header Information in Send Master Projects

Click to jump to top of pageClick to jump to parent topicAdding Input Files to Integration Broker Projects

Information about creating and adding an input file to a project is provided earlier in this chapter.

See Adding Input Files to Projects.

Click to jump to top of pageClick to jump to parent topicSpecifying Connector Information for Integration Broker Projects

This section discusses how to specify connector information for Integration Broker MIME projects.

To specify connector information for a project, use the Connector tab in the Input Information section of the Project work space. No fields or controls are active on the tab until you introspect target connector data and select a target connector with which to work.

As noted earlier in this section, header properties with which you work on the Connector tab correspond to properties with the property IDHeaders in the PeopleSoft Pure Internet Architecture. Field properties with which you work on this tab correspond to any property ID other than Header in the PeopleSoft Pure Internet Architecture.

Selecting Target Connectors

To select a target connector:

  1. From an open Integration Broker MIME project, in the Input Information section, click the Connector tab.

  2. Click the Load Introspection Data button.

  3. From the Connector drop-down list, select a connector.

  4. (Optional.) In the Remote URL field, enter a URL to redirect the service operation to a different URL than that specified in the Server URL field in the Project Definitions section.

Adding Connector Header Properties

To add connector headers properties:

  1. Click the Headers subtab under the Remote URL field.

  2. To add all required header properties for the selected connector, click the Add All Required Headers and Their Default Values button.

    All required header properties and their default values, if they exist, appear in the Headers box.

  3. To add more header properties:

    1. In the Connector Header section, from the Header drop-down list, select a header property and click the Add Selected Header and Default Value button.

      When you select a header property from the list, its default value, if any, appears in the Value field. Click the Value drop-down list to view all possible values for the property.

    2. Click the Add Selected Header and Default Value button to add the property.

      The header property and its default value, if any, appear in the Headers box.

  4. To change the value of a header property:

    1. In the Headers box, select the header property whose value you want to change.

    2. In the Value field, enter the new value to assign.

      Use the Value drop-down list in the Connector Headers section to view possible values and verify the format to enter.

    3. Click the Update Selected Value in List button to apply the new value.

  5. To delete a header property, in the Headers box, select the property to delete and click the Delete button.

  6. Save the project.

Adding Connector Field Properties

To add connector field properties:

  1. Click the Fields subtab under the Remote URL field.

  2. To add all required field properties for the connector, click the Add All Required Fields and Their Default Values button.

    All required field properties and their default values, if they exist, appear in the Fields box.

  3. To add more field properties:

    1. In the Connector Fields section, from the Field drop-down list, select a field property, and click the Add Selected Fields and Default Value button.

      When you select a property from the drop-down list, its default value, if any, appears in the Value field. Click the Value drop-down list to view all possible values for the property.

    2. Click the Add Selected Field and Default Value button to add the property.

      The field property and its default value, if one exists, appears in the Fields box.

  4. To change the value of a field property:

    1. In the Fields box, select the field property whose value you want to change.

    2. In the Value field, enter the new value.

      Use the Value drop-down list in the Connector Fields section to view possible values and verify the format to enter.

    3. Click the Update Selected Value in List button to apply the new value.

  5. To delete a field property, in the Fields box, select the property to delete and click the Delete button.

  6. Save the project.

Click to jump to top of pageClick to jump to parent topicPosting Integration Broker Projects

To post Integration Broker MIME or Integration Broker XML projects to web servers, click the Post button.

Click to jump to top of pageClick to jump to parent topicViewing Output from Integration Broker Projects

When you POST a service operation using the Integration Broker project type, the system generates a MIME response message. If you POST data to a PeopleSoft listening connector, the MIME response message appears in the Output Information section of the Project work space.

Click to jump to parent topicUsing EIP Testing Projects

This section describes how to:

Click to jump to top of pageClick to jump to parent topicCreating EIP Testing Project Types

The first step to using an EIP Testing project is creating the EIP Testing (Batch EIP) project type. To create a project, select File, New Project. Information about creating projects is provided earlier in this chapter.

See Creating Send Master Projects.

Click to jump to top of pageClick to jump to parent topicSpecifying File Input and File Output Directories

To add input files to this project type, you specify the directory location where the files reside.

To specify input files for EIP Testing projects:

  1. In the Input Information section, in the Input Directory field, select the location of the input files.

  2. In the Output Directory field, select the location where the output files should be written.

  3. (Optional.) Select Create If Not Found to create the input and output directories, if they do not exist.

  4. (Optional.) Select Overwrite File to direct Send Master to overwrite any output files that exist with the same names.

  5. Select File, Save Project.

See Also

Integration Point Data Repository

Click to jump to top of pageClick to jump to parent topicOverriding Requesting and Destination Nodes

Send Master reads the request and destination node information from the input files. However, you can override the node information:

To override the requesting and destination node information specified in the input files:

  1. Open an EIP Testing project.

  2. In the Input Information section, in the Optional Overrides section, enter a new requesting node name in the Requesting Node field.

  3. To override the destination node , in the Optional Overrides section, enter a new destination node name in the Destination Node field.

  4. Select File, Save Project.

Click to jump to top of pageClick to jump to parent topicPosting EIP Testing Projects

To post the files in an EIP Testing project, open the project and click the Post button.

Click to jump to top of pageClick to jump to parent topicViewing Output from EIP Testing Projects

To view the output from EIP Testing projects, navigate to the output directory that you specified on the Headers tab in the Input Information section. You can also view output in Send Master in the Output Information section of the Project work space.

Click to jump to top of pageClick to jump to parent topicUsing the Batch Project Executor

The Batch Project Executor enables you to use the functionality of the EIP Testing project type from a command line tool. This section discusses the Batch Project Executor tool, including its:

Usage

The standard usage of the Batch Project Executor command line tool is:

BatchProjectExecutor [-options]

Syntax

The syntax for executing a batch project is:

BatchProjectExecutor ​-in "C:\temp\input" ​-out "C:\temp\output" ​-url "http://localhost/PSIGW /PeopleSoftListeningConnector" -result "C:\temp \output\result.txt"

Parameters

The following table describes the parameters you can pass to the Batch Project Executor.

Parameter

Description

-in

Certification directory that contains the raw request files.

-out

Output directory to store all of the response files.

-url

Server URL to send all of the requests to during processing.

-result

Name of the file that will contain the results during batch execution. The contents of this file will be represented as XML.

-ow

(Optional.) Overwrite files if they already exist.

-cd

(Optional.) Create the output directory if not found.

-rn

(Optional.) Override the requesting node found in the IBInfo section.

-dn

(Optional.) Override the destination node found in the IBInfo section.

-? -help

(Optional.) Show the Help menu.

Sample Output

The following example shows successful output:

<?xml version="1.0"?> <success> <request elapse="1.953 (s)" end="02:33:55.177" filename= "20030519T130405.request" id="" start="02:33:53.224" success="true"/><request elapse="0.201 (s)" end="02:33:55.408" filename="20030519T150417.request" id="" start="02:33:55.207" success="true"/> <request elapse="0.220 (s)" end="02:33:55.638" filename="20030520T150406. request" id="" start="02:33:55.418" success="true"/> <request elapse="0.190 (s)" end="02:33:55.828" filename= "20030519T150406.request" id="" start="02:33:55.638" success="false"> <![CDATA[Error communicating with server: Connection refused: connect]]> </request> </success>

The following example shows a failure:

<?xml version="1.0"?> <failure> <![CDATA[Error while initializing: Invalid output directory: C:\temp\output]]>

Click to jump to parent topicUsing JMS Projects

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding JMS Projects

You can use Send Master to create JMS project types and test posting synchronous and asynchronous service operations to JMS queues.

Before you attempt to post service operations to an JMS queue, verify that the following Java Archive (JAR) files are installed, and that you have added them to the CLASSPATH in the StartSendMaster.bat file or the StartSendMaster.sh file. These files are installed as part of the MQSeries installation.

See the IBM MQSeries documentation.

Corresponding files for other JMS Servers will be installed by respective JMS Server installations.

Click to jump to top of pageClick to jump to parent topicUnderstanding Input Information for JMS Projects

This section discusses the options you can define when working with a JMS project type.

Headers Tab

Use the Headers tab to specify header information for JMS service operations. The following table describes elements on this tab:

JMS Provider

Indicates the name of the JMS provider. Valid options are:

  • MQSeries (default)

  • WebLogic

JMS Queue

Indicates the queue to which the service operations will post.

JMS Factory

Indicates the factory to which the queue in the JMS Queue field belongs.

JMS URL

Indicates the LDAP directory or local file system address.

JMS User

(Optional.) Indicates the name of the JMS user.

JMS Password

(Optional.) Indicates the name of the JMS user's password.

Requesting Node

Indicates the name of the requesting node.

Operation Name

Indicates the name of the service operation.

Operation Type

Indicates the service operation type. Valid service operation types are:

  • Async (asynchronous)

  • Sync (synchronous)

Node Password

(Optional.) Indicates the requesting node password if applicable.

Destination Nodes

Indicates the name of the destination node. Use a semicolon to separate multiple destination nodes.

Final Destination Node

Indicates the name of the final destination node.

Queue

Select this radio button to post to a queue.

Topic

Select this radio button to post to a topic.

Click to jump to top of pageClick to jump to parent topicCreating JMS Project Types

The first step to using a JMS project is creating the JMS project type. To create a project, from the Send Master menu, select File, New Project. Information about how to complete this task is provided earlier in this chapter.

See Creating Send Master Projects.

Click to jump to top of pageClick to jump to parent topicAdding Header Information to JMS Projects

To add header information to the project:

  1. In the Input Information section, select the Header Information tab if it is not already selected:

  2. Select or enter values for the following required fields:

  3. Enter values in any of the remaining optional fields as appropriate for your project.

  4. Select File, Save Project.

Click to jump to top of pageClick to jump to parent topicAdding Input Files to JMS Projects

Information about creating and adding an input file to a project is provided earlier in this chapter.

See Adding Input Files to Projects.

Click to jump to top of pageClick to jump to parent topicPosting JMS Projects

To post a JMS project to a queue, click the Post button.

Click to jump to top of pageClick to jump to parent topicViewing Output from JMS Projects

If you are working with a synchronous service operation, the Output Information area displays response information from the target system. If you are working with an asynchronous service operation, no response information is received.

Click to jump to parent topicWorking With Groups of Projects

This section describes how to:

Click to jump to top of pageClick to jump to parent topicCreating Groups of Projects

To create a group of projects:

  1. Launch Send Master and select File, Batch Processing.

  2. Select File, New Group.

  3. Enter a name for the new group.

  4. Define the project group:

    1. From the Run In drop-down list, select one of the following options to determine how the projects in the group run.

      Parallel

      Run all projects in the group at the same time.

      Succession

      Run projects in the group in succession.

      Time Lapse

      Run projects in the group in the interval that you specify in the Delay field.

    2. (Optional.) In the Override URL field, enter a URL to override the one specified in the Server URL field in the Project work space.

  5. Add projects to the group.

    1. In the Group Projects section, from the Projects drop-down list, select a project.

    2. Click the Add a new project button to add the project to the group.

    3. From the Method drop-down list, select an HTTP method.

    4. In the Amount field, enter the number of instances of the project to include in the group.

    5. From the Run In drop-down list, select one of the following options to specify how the projects run among themselves.

      Parallel

      Run all instances of the project at the same time. The limited availability of open ports and other system resources requires you to determine the optimal number of projects to run at a single time. Start with 10 projects and slowly add projects to determine how many concurrent requests the system can process.

      Succession

      Run instances of the project in succession.

      Time Lapse

      Run instances of the project in the interval that you specify in the Delay field.

    6. Repeat steps a through to add additional projects to the group.

  6. Select File, Save Group.

Click to jump to top of pageClick to jump to parent topicManaging Groups of Projects

You might occasionally need to revise projects that you have added to a group. The following information will help you manage groups of projects:

Click to jump to top of pageClick to jump to parent topicTesting Groups of Projects

After you have created a group of projects, you can test them.

To test a groups of projects:

  1. Open Send Master and select File, Batch Processing.

  2. In the Group Definitions section, from the Group drop-down list, select the group to test.

    The projects in the group appear in the Group Projects section.

  3. Make any needed adjustments to the group, such as changing the order of projects in the group, specifying inactive or active projects, and so forth.

  4. Click the Start Projects button to run the test of projects in the group.

Click to jump to top of pageClick to jump to parent topicViewing Test Output

After you run a test on a group of projects, you can view processing information and response information for any project in the group.

Viewing Processing Information

After you run a group of projects, the Completed Projects Output section displays all of the projects in the group and the instances for each project in a hierarchical tree format. To expand and collapse a project folder, click the icon to the left of the folder.

When you expand a project folder, the instances for the project appear as shown in the following graphic.

Each page icon represents a project instance. The number in parentheses represents the time needed to process the project instance.

To view detailed processing information about the entire group of projects, select a project, click the Export the Results to File button, and save the contents as a text file. You can then open the text file and view information, such as the total number of project instances in the group, the total time to process all project instances, processing start and end times, and so on. The following example shows the type of output you can view using the Export feature.

Count : 5 Round-trip times Total : 0.961 (s) Minimum : 0.180 (s) [2] Maximum : 0.200 (s) [3] Average : 0.192 (s) Process per second : 5.203 [1] Request : 0.191 (s) [start = 10:19:20.095, end = 10:19:20.286] Response : 200 - OK [2] Request : 0.180 (s) [start = 10:19:20.296, end = 10:19:20.476] Response : 200 - OK [3] Request : 0.200 (s) [start = 10:19:20.486, end = 10:19:20.686] Response : 200 - OK [4] Request : 0.190 (s) [start = 10:19:20.696, end = 10:19:20.886] Response : 200 - OK [5] Request : 0.200 (s) [start = 10:19:21.017, end = 10:19:21.217] Response : 200 - OK

Viewing Response Information for a Project Instance

Send Master enables you to view response information for any project instance in a group of projects.

To view response information for a project instance:

  1. Select a project instance in the Completed Projects Output section.

  2. Click a project instance.

    Response information appears in the Output Information section.

Click to jump to top of pageClick to jump to parent topicSharing Projects and Groups

When you create projects and groups, the system stores all data in the Send Master properties file. The location of this file depends on the web server.

This file is not created until you use Send Master.

You can share and reuse projects and groups that you or others have created for other versions of Send Master or that have been used on other workstations. You do so by copying the sendmasterproperties.xml file into the Send Master directory. You must rename or delete the existing properties file before you copy the new file into the directory.

After you copy the sendmasterproperties.xml file into the Send Master directory, you can access the project and groups in the normal manner, by accessing them from the Project drop-down list in the Project work space, or from the Group drop-down list in the Batch Processing work space.

Click to jump to parent topicUsing Send Master to Ping Remote Nodes

To ping a remote node from the Send Master, you post an example service operation to the node’s application server using an Integration Broker (MIME) or Integration Broker (XML) project that specifies a ping service operation type. You then use the Post button to post the service operation to the application server.

The following table describes the type of response returned based on project type.

Project Type

Response

Integration Broker (MIME)

The system returns a MIME response message in the Output Information section of the Project work space.

If you post data to a PeopleSoft listening connector, the MIME response appears in the Output Information section of the Project work space. A message with the content <StatusCode>0</StatusCode> indicates that the ping was successful.

Integration Broker (XML)

The system returns an HTTP response of 404 with data in the response in the Output Information section of the Project work space.

You can also use Service Operations Monitor and the Simple Post utility to ping remote nodes.

See Also

Pinging Remote Nodes

Pausing, Testing, and Pinging Nodes

Click to jump to parent topicViewing Send Master Processing Performance Statistics

When working with Integration Broker MIME projects, you can gather processing performance statistics.

Click to jump to top of pageClick to jump to parent topicEnabling the Send Master Statistics Feature

To enable the Send Master processing performance feature, select Gather Statistics on the Headers Cont. tab.

Click to jump to top of pageClick to jump to parent topicAccessing Send Master Processing Statistics

When the Gather Statistics feature is enabled, Send Master returns processing statistics in the Output Information section after a Post.

To access statistics information , from the View drop-down list, select Meta Data and then click the If Valid XML, Format button.

The data is contained in the following tag:

<IBProfileInformation>

Click to jump to top of pageClick to jump to parent topicInterpreting Send Master Processing Statistics

Send Master returns statistics relating to processing on the application server and gateway, as well as response processing.

Note. All values returned are expressed in milliseconds.

This table describes the statistics that Send Master returns related to processing on the application server.

Statistic

Description

TransformInbound

Time to process any inbound transformations.

OnRoutePeopleCode

Time to execute OnRoute PeopleCode.

OnRequestPeopleCode

Time to execute OnRequest PeopleCode.

TransformOutbound

Time to process any outbound transformations.

DataBase

Time for processing on the database.

AppServerSendTime

Time to send the request to the application server. This value is not applicable in Send Master, because Send Master (not the application) is sending the request.

AppServerRecvTime

Processing time on the application server.

This table describes the statistics that Send Master returns related to processing on the integration gateway.

Statistics

Description

Connector

Time that processing took place on the connector.

Transform

Time to perform gateway transformations.

GatewayTime

Processing time on the integration gateway.

This table describes the statistics that Send Master returns related to processing the response service operation.

Statistics

Description

Transform

Time to perform transformation on the response.

GatewayTime

Total time for processing the response on the integration gateway.

Click to jump to top of pageClick to jump to parent topicStatistics Example

The following example shows a sample of statistics that Send Master returns.

<?xml version="1.0"?> <IBInfo> <TransactionID> <![CDATA[QE_UNDERDOG.QE_SALES_ORDER_SYNC_CHNL.af21859e-f5e7-11d7- b7f0-88b716eecd9a]]> </TransactionID> <Status> <StatusCode>0</StatusCode> <MsgSet>158</MsgSet> <MsgID>10000</MsgID> </Status> <ContentSections> <ContentSection> <ID>ContentSection0</ID> <NonRepudiation>N</NonRepudiation> <Headers> <version> <![CDATA[VERSION_1]]> </version> </Headers> </ContentSection> </ContentSections> ​<IBProfileInformation> <keyword><AppServer></keyword> <keyword><TransformInbound>0</TransformInbound></keyword> <keyword><OnRoutePeopleCode>0</OnRoutePeopleCode></keyword> <keyword><OnRequestPeopleCode>0</OnRequestPeopleCode></keyword> <keyword><TransformOutbound>0</TransformOutbound></keyword> <keyword><DataBase>0</DataBase></keyword> <keyword><AppServerSendTime>0</AppServerSendTime></keyword> <keyword><AppServerRecvTime>0</AppServerRecvTime></keyword> <keyword></AppServer></keyword> <keyword><GatewayRequest></keyword> <keyword><Connector>24844</Connector></keyword> <keyword><Transform>0</Transform></keyword> <keyword><GatewayTime>651</GatewayTime></keyword> <keyword></GatewayRequest></keyword> <keyword><GatewayResponse></keyword> <keyword><Transform>0</Transform></keyword> <keyword><GatewayTime>211</GatewayTime></keyword> <keyword></GatewayResponse></keyword> <keyword></IBProfileInformation></keyword> </IBInfo>

Click to jump to parent topicUsing Send Master to Export Request Service Operations

This section describes how to export request service operations. When working with Integration Broker MIME or Integration Broker XML project types, you can use Send Master to export a request service operation to a text file to examine the raw data that gets sent during a transaction.

Click to jump to top of pageClick to jump to parent topicExporting Request Service Operations

To export a request service operation:

  1. Open an Integration Broker MIME project or an Integration Broker XML project.

  2. Select File, Export IBRequest .

    A Save dialog box appears.

  3. Enter the location to save the file.

You can also view the raw data for a service operation in the integration gateway message log.

Click to jump to parent topicAllocating Additional Memory to Accommodate Posting Large Files

When posting files that are 5 megabytes (MB) or larger to the integration gateway, you should allocate additional random access memory (RAM) in Send Master to accommodate larger file sizes.

If Send Master does not have enough memory for a task, an “out of memory” error can occur.

To allocate additional RAM in Send Master:

  1. Close Send Master.

  2. Open StartSendMaster.bat (in Windows) or StartSendMaster.sh (in UNIX).

  3. Add the –XmxZZm parameter, where ZZ equals the amount of RAM, in megabytes, to allocate.

  4. Save the file.

  5. Reopen Send Master.

For example, the value – Xmx128m indicates to allocate 128 MB of RAM. The following example shows how to add the parameter in the StartSendMaster.bat file:

cd "applications\peoplesoft\PSIGW.war\WEB-INF\classes\com\peoplesoft\pt\ sendmaster\"java ​-Xmx128m -classpath "c:\ptdvl\ webserv\peoplesoft\applications\peoplesoft\PSIGW.war\WEB-INF\lib\xalan.jar;c:\ ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\WEB-INF\lib\ xerces.jar;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\ WEB-INF\classes;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\ WEB-INF\lib\mail.jar;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\ PSIGW.war\WEB-INF\lib\activation.jar;c:\ptdvl\webserv\peoplesoft\applications\ peoplesoft\PSIGW.war\WEB-INF\lib\jmq.jar;c:\ptdvl\webserv\peoplesoft\applications\ peoplesoft\PSIGW.war\WEB-INF\lib\jms.jar;c:\ptdvl\webserv\peoplesoft\applications\ peoplesoft\PSIGW.war\WEB-INF\lib\jndi.jar" com.peoplesoft.pt.sendmaster.SendMaster

You can increase the amount of memory in Send Master to any value you that you want, as long as your machine has the RAM to support the value that you choose.