Generating a test script from a recording session in RPT halts at 90%
Attempts to generate a test script in IBM Rational Performance Tester (RPT) results in test generation to a halt at 90% and does not proceed further for a long period of time.
Steps to Reproduce:
- Record a test first which will create a test script and a recording session (.recsession file)
- Generate a new test script from this recording.
Expected result: A new test script is created successfully
Actual result: The test generation does not proceed further than 90%
This issue is identified as a product defect and has been logged as APAR PM87848.
For this particular issue, the cause is due to RPT's attempt at applying data correlation to the transformed AMF content of the test.
The built-in data correlation rules that RPT is using for Action Message Format (AMF) correlation cause an excessive number of references to be created for this customer's traffic.
This, in turn, slows down the test generation to the point where it would potentially take days.
Resolving the problem
Install the modified rules for AMF correlation. These rules should still handle the useful correlation without overloading the test generator.
- Exit from RPT
- Navigate to the following directory (or equivalent for your installation)
- Rename amf.dcrules in the directory above to amf_Original.dcrules
- Copy the amf.dcrules from the attachment to the ImpliedRulesFiles directory
- Start RPT
- Generate a test from the problematic recording
All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.