+

Search Tips   |   Advanced Search


SIP - Add a Receive request

You can add a Receive request to an SIP test and set the attributes of the request.

To perform data correlation on received headers, add a Message Headers value.

A best practice for SIP tests is to put a request and its associated response into a transaction. By doing this, the performance information in reports is organized into meaningful units. In addition, the schedule run generates a Transaction report. For instructions on how to put a test element into a transaction, see Add a transaction to a test. To add a Receive request to a test:

  1. In the Test Navigator, browse to the test, and double-click it.

  2. Select a test element.

    1. To insert the request as a sibling above the selected element, click Insert > Receive Request.

    2. To insert the request as a child of the selected element, click Add > Receive Request.

    The New SIP Request wizard opens.

  3. Select a request method.

  4. Select the context or add a new context.

    1. To use an existing context, click Select a context name from the following list, and select the context.

    2. To create a new context, click Add a new context to the request selected and type its name into the Context name field.

  5. In the Test Element Details area, edit the attributes as follows:

    General tab

    Method

    The method selected for the request is displayed, but you can modify it.

    Scheme

    Disabled for Receive requests. The <> value appears in this field to indicate that requests can be received with any scheme. You cannot filter by scheme.

    User Info

    Type the filtering information for the expected Receive request or < > if the request can be received from any user. Only requests that are received with the same user information are matched to the Receive request action.

    Transport

    Disabled for Receive requests.

    Context

    Select the name of the context to open the SIP Context Registry page, which lists the contexts that the test contains. Select the request to return to Test Element Details area. Click Change to change the name of the context or to add a new context.

    Message Headers

    Add message headers enables you to perform data correlation on the received headers after the run completes and to add header content verification points. Click Add to add a message header. Click Modify and Edit to add a header content verification point. After editing a message header, click Table View to return to the Message Headers table.

    Body Contents

    Type the content of the message, which enables you to perform data correlation on the received contents after the run completes.

    Advanced tab

    Timeout

    Type the number of seconds to wait until the request is received; the default is 10 seconds.

    If response is not received before timeout

    Select the action to take when a response is not received before the Timeout value is reached. The typical action is to stop and fail the response. You can also continue the test and set the request to Fail.


Related tasks

  • Add a Send request
  • Add a Receive response
  • Add a Send response
  • Add a delay