Add SIP contexts
A context is a way to create a relationship between SIP messages. You must add a context for each request. SIP contexts belong to a single test; they cannot be used across tests.When creating a new request action, bind it to a context. Rational Performance Tester follows the rules for binding the messages as defined in the SIP protocol. A context has three binding options, which are determined by the method that you choose, as follows:
Method Context identifiers Publish The SIP-ETag and the SIP-If-Match headers Register The Call-ID header all other SIP methods The local tag, the remote tag, and the Call-ID header
Contexts might overlap.
For example, after having established a call, a Message request from another user agent might arrive. The new context (including the Message request and corresponding responses) overlaps with the context that is created for the call.
- Add a Send request
You can add a Send request to an SIP test and set the attributes of the request.- Add a Receive response
You can add a Receive response as a child element of a request, which produces a more readable SIP test layout. You can also add a Receive response as a separate action, with which you can create overlapping contexts.- 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.
- Add a Send response
You can add a Send response to an SIP test and set the attributes of the response.- Add a delay
You can add delays to an SIP test to emulate the behavior of actual users.
Related
SIP test editor overview About SIP headers Add sequence patterns to SIP tests
Related tasks
Configure background registration Configure a test to use the TLS transport Create a SIP counterpart test Run tests on computers with multiple network addresses Configure different ports for a SIP location Verify expected behavior