In the Plugins tab, you can add and remove POST Data Matching plugins from use in the CX RealiTea Viewer.
A POST Data Matching plugin is a DLL plugin that RTV uses to match a request made by the application during replay to the most appropriate hit from the session. When the matching hit is found, the response data from the hit is given to the RTV application, which drives the replay.
For rich internet applications, the appropriate response to use is not always intuitive. For example, a request that includes a timestamp may not be able to retrieve the appropriate response, which was saved as session data with a fixed timestamp in the past.
Through POST Data Matching plug-ins, traditional built-in RTV request matching is replaced with content-type specific plug-ins, which can provide much better results for matching a request to the appropriate response.
Default plugins
The following plugins are provided as defaults by Tealeaf.
- Form URL-encoded
- XML (text and msbin1 encoding)
- JSON
Tealeaf.js stub
The Tealeaf.js is the main JavaScript™ file that is deployed to visitor's browsers by UI Capture. If you have not deployed the CX UI Capture for AJAX library on your site, this feature is not necessary.
RTV can be configured to deploy a stub version of this UI Capture file that is customized for replay. The stub file helps to replay the UI events that were captured during the visitor's original experience and recorded in the session.
Tealeaf.js
stub file requires detailed knowledge of your web application and the UI Capture library. Experienced JavaScript developers can replicate customizations from the web application's Tealeaf.js
into the stub file. If you have questions about how to customize the stub file, contact Professional Services.Part of the functionality of the Tealeaf.js
stub is to disable UI Capture functionality. Since the UI Capture scripts are included by the web page, during replay it is possible for user interface events to be captured by these scripts and sent again to Tealeaf for capture. The Tealeaf.js
stub prevents UI Capture from sending events.
- As an alternative, you can disable UI Capture by using replay rules.
- To edit the stub file, click Edit TeaLeaf.js Stub. Edit or paste in the contents to revise.
- To reset to the default stub file, click Reset TeaLeaf.js Stub.
Disabling UI Capture using replay rules
If you don't use the Tealeaf.js
stub file in RTV, you can use the following replay rules to disable UI Capture during RTV replay, which prevents resubmitting to Tealeaf user interface events that occur in the session during replay.
The following is an example of rules that can be inserted into the raw profile through the Profile options tab in RTV.
// Disable UIC Library
<ResponseModify id="28" url="/open-account/" pattern="TealeafSDK(Config)?"
replacementString="tealeaf" occurrences="all" enabled="1"/>
<ExternalFileModify id="29" url="" pattern="TeaLeaf."
replacementString="//TeaLeaf." occurrences="all" enabled="1"/>