Test an HTTP method for an outbound REST message to ensure that the request is valid and the response returns as expected.

Before you begin

Role required: web_service_admin or admin

Procedure

  1. Navigate to All > System Web Services > Outbound > REST Message.
  2. Select the REST message with an HTTP method to test.
  3. In the HTTP Methods related list, select the HTTP method to test.
  4. Under Related Links, select Test.

    If the HTTP method includes variables, the Test value for each variable in the Variable Substitutions related list is used when testing the method.

    Each test run displays the response status, such as 200 for a successful GET request, the full endpoint URL, any parameters passed in the request, and the response body.
    Note: Fields on the Test Runs form are for information only; changes to these fields do not apply to the REST message or HTTP method. Do not modify these values when testing different REST message configurations. Instead, update the REST message or HTTP method, then run a new test.

Result

Completed test runs for an HTTP method appear in the Test Runs related list. If there was an error during the request, the Error Code and Error Message fields appear.