You can configure replay rules through the context menus in BBR.
In Request, Response or Replay view, you can select an item, right-click, and select one of the following options.
Option | Description |
---|---|
Remove page from Replay based on request field | Based on a field included in the request, you can selectively remove the page from display during replay.
Note: This selection is available only if text is selected in Request view.
|
Test Response Modify Rules | Through this dialog, you can review and test any response modify rules that are applicable to the current page.
Note: This selection is available in Response view only.
|
UI Event Custom Highlight | When a UI event is selected in the Navigation List, you can add or modify custom highlighting rules to be applied to the user interface event.
Note: This selection is available through the context menu when you select a UI event in the Navigation List.
|
Host/Port Remapping | From the Load Details screen, you can configure host/port remapping rules. |
Removing pages from replay based on a request field
Through BBR, you can choose to remove one or more pages that are based on the URL pattern, request variable parameters, or both. By removing pages that are based on request variables, you can significantly remove the replay experience.
HTTP_HOST
values, you must manually edit the profile to ensure that the ignore rule is correctly recorded against all server_name
values.For example, you can choose to remove from replay pages that are permanently moved or are redirect pages, which are determined based on specific values for the StatusCode
request variable.
StatusCode=301
indicates a page is moved permanently. In the example, when the URL matches /store/index.php/electronics/cellphones/
and the StatusCode
request variable in the [env]
section is set to 301
, then the page is removed from replay.
- Parameter
- Description
Request variable name
- In these fields, you must specify the request variable section and variable name on which to match pages for removal from BBR replay.
- The request variable section must be specified.
- Wildcards are not permitted.
Request variable value
- For additional specification, you can enter a specific value for the request variable on which to match. In the previous example, a request variable value must be included, or all hits that contain
StatusCode
entries are dropped from replay, which would remove all valid hits that are returned from the web server.- Specifying this parameter is optional. If it is not specified, all values are matched.
- When you specify values, you can use the standard wildcards:
?
to replace a single character, and*
to replace multiple characters.
URL
- You can use this field to specify whether the replay rule is applied to a specific URL or a pattern of URLs. If this value is not specified, the replay rule is applied across the entire domain.
- Specifying this parameter is optional. If it is not specified, all values are matched.
- When you specify values, you can use the standard wildcards:
?
to replace a single character, and*
to replace multiple characters.
Testing BBR Response Modify rules
Through BBR, you can review the Response Modify rules that are applied to the current page and test them as needed by using the current hit as test data.
In the Test Response Modify Rules dialog, you can review the number of rules that are applied to current URL and then complete tests by using those rules and review the test results.
To test applicable Response Modify rules:
If changes are applied to the response based on the tested rules, the number of changes is listed under Test Results.
Custom UI event highlighting
For the selected UI event, you can add or modify custom highlighting rules. These rules can be used when the selected element requires special handling, such as calling a JavaScript™ function for a custom control. Custom highlighting rules can also be used for debugging or alerting purposes when specific user actions or values are displayed in a session.
- Option
- Description
Element ID
- The element ID is pre-populated with the unique identifier for the selected event through element ID or XPath. You can modify the Element ID field to use a regular expression, if needed, for matching multiple elements.
- function
- In the dialog, you can specify the function that is evaluated by BBR for purposes of highlighting this element. During evaluation, no setting of values, highlighting or clicking is performed. Tealeaf provides a set of references that you can use in your JavaScript function.