Previous Topic: Updating a Virtual Service ManuallyNext Topic: Import Request/Response Pairs


Add, Change, and Delete Signatures

The DevTest Portal lets you perform any of the following actions:

You can also add a signature by importing request/response pairs.

When VSE searches for a signature that matches an inbound request, it starts at the top of the list of signatures and proceeds downward. Therefore, moving a signature up or down affects the order in which matching takes place.

Changes to a signature definition are automatically applied to all of the specific transactions for the signature. For example, if you add the NewArg argument, the specific transactions now have this new argument.

By default, matching is case-sensitive. To force the comparison operators to ignore case for an argument, go to the Signature Definition tab and clear the check box in the Case Sensitive column.

The following graphic shows the Signature Definition tab.

Screen capture of Signature Definition tab.

By default, argument values are processed as strings. For example, "10000" is considered less than "9" because "1" comes alphabetically before "9". To force an argument value to be processed as a number, go to the Signature Definition tab and select the check box in the Is Numeric column.

Date patterns are used to parse date information. The Date Pattern column is read only.

Follow these steps:

  1. Open a virtual service.
  2. To add a signature:
    1. Ensure that the advanced view is displayed.
    2. In the Stateless Signatures pane, click the Add button and select Add New Signature.
    3. Enter the operation name.
    4. Click Continue.
    5. Select the new signature.
    6. (Optional) Go to the Signature Definition tab and add one or more arguments.
    7. Go to the Specifics tab and add one or more specific transactions.
  3. To move a signature up or down, select the signature and click the Up or Down icon. You can also drag a signature to the new location.
  4. To change the definition of a signature:
    1. Select the signature.
    2. Go to the Signature Definition tab.
    3. Make the changes. You can move an argument up or down. You can add or delete an argument. You can change the settings of the Case Sensitive and Is Numeric columns. You can change the operation name.
  5. To delete a signature, select the signature and click the Delete icon. You can use the Ctrl key to select multiple signatures.