ITCAM for Transactions - Robotic Playback of RPT SAP GUI test scripts with LRM
ericmtn 1000009W88 Comments (5) Visits (12676)
By default, the 'Long Run Mode' (LRM) is NOT in use by ITCAM for Transactions Robotic Response Time RRT (t6) agent for SAP GUI RPT test script playbacks, unlike for Citrix RPT test scripts.
POSSIBLE ISSUE/SYMPTOM : If you start to experience longer response times reported in TEP robotic workspaces for your SAP GUI RPT test script application(s) (see example below), and if the 'javaw' process (forked by kt6agent,exe) in charge of playing back robotically your RPT SAP test scripts is using more amd more memory, it's time to consider enabling the 'RPT SAP Long Run Mode' (LRM) on the RRT agent(s) in use.
Example of response times increase over time as reported in ITM TEP robotic workspace view :
To enable the Long Run Mode on your robotic response time agent, you would simply need to add
as a Windows system environment variable and set it to :
1.5 x (number of RPT SAP tests you plan to run on the ITCAM4Tx robotic agent)
For example, if you want to run 24 RPT SAP scripts, set value to 36.
If you are planning to playback only 2 RPT SAP scripts, set RPT_
Remark 1: It is important that you check the kt6agent service is picking up the new RPT_
You can do this using Process Explorer tool or similar:
Remark 2 : The RPT SAP GUI test scripts are run concurrently, and are not in visible mode on the ITCAM4Tx Robotic agent.
Remark 3: with LRM active, 2 extra processes are visible/used during RPT SAP script playbacks :
Remark 4 : Inside RPT Workbench, in order to check RPT SAP test script execution results, and prior to uploading it to the ITCAM4Tx AMC (t3) agent, it can be useful to run the test in visible mode, so to see if all steps recorded previously are played back fine.
To enable the visible mode on RPT, use the "SAP options" tab while editing the RPT SAP script, and select the Show GUI option :
Remark 5: the Long Run Mode can also be activated in a scheduler inside RPT workbench, as seen below, but it will not be effective for robotic playback on the ITCAM4Tx agent.
The following RPT documentation provides also more information and explains how to enable Long Run Mode in RPT Workbench, FYI:
SAP performance testing guidelines
Running long duration tests
Remark 6: the LRM is not effective if the RPT SAP script was recorded using RPT 22.214.171.124. There is a regression bug in this version of RPT, that causes the sapg
Remark 7: the LRM is not effective by design, on the ITCAM agent, if the exported RPT SAP script contains a Performance Schedule in it.
Remark 8: After you have set
A good case should look like this, for example :
Or do you see an error like below?
if yes, install .NET Framework software, and check next robotic playback results...
Subscribe and follow us for all the latest information directly on your social feeds: