Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Testing operations in SAP integration

Updated on April 6, 2022

You can configure the request for each operation that you selected for your SAP integration and test the operation to view the response.

  1. Click Test next to each operation to open the Test Data Source dialog box.
  2. To update the test endpoint URI for the operation, click Edit.
  3. In the Request section, in the Tree View tab, configure the body of the request in a tree format by adding nodes.
    The system updates the XML tab with the corresponding XML format.
    1. Add a child to a node by selecting the node and clicking Add Child. Then, enter the node name and node value for the new node. Add subsequent child nodes in a similar manner.
    2. Add a sibling for a child node by selecting the node and clicking Add Sibling.
    3. Add an attribute for a node by selecting the node and clicking Add Attribute.
    4. Create a copy of a child node as a sibling by clicking Duplicate next to the node.
    5. View the namespace prefixes of the nodes and attributes in the body of the request by clicking Show namespace prefixes.
    6. Remove a node by selecting the node and clicking Delete.
  4. On the XML tab, configure the body of the request in raw XML format.
    The system updates the Tree View tab with the corresponding tree format.
  5. On the Authentication tab, configure the authentication for the test execution.
    • To choose an existing authentication profile, select Use Existing and enter the profile name.
    • Select Define New to create a new authentication profile and select an authentication scheme:
      Basic authentication scheme
      Requires a user name, a password, a realm name, and a host name. If the external service requires preemptive authentication, you can enable preemptive authentication by selecting the corresponding check box
      NTLM authentication scheme
      Requires a user name, a password, a domain name, and a host name.
  6. If you selected Basic in step 5, to receive a basic authentication request before the server gives an unauthorized response, select Preemptive authentication.
    Selecting this check box reduces connection overhead.
  7. Click Test to view the response.
    Result: The default response is displayed in a tree format on the Tree View tab. You can switch to the XML tab to view the response in raw XML format.
  8. Click OK to close the Test Data Source dialog box and continue with step 5 of Selecting operations for SAP integration.
  • Previous topic Configuring the authentication for data sources in SAP integration
  • Next topic Generating records for SAP integration

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us