Recording a specific SAP transaction from a running SAP session
You can record certain SAP transactions from a running SAP GUI session to create a test that contains some specific part of an SAP session. When you record a session, the recording wizard automatically records the transaction that you specified.
Before you begin
-
Working SAP GUI client that you can connect to an SAP server.
-
Verified that SAP GUI scripting is enabled on the SAP server and the SAP GUI client. See Configuring SAP for performance testing.
- You must have logged in to the SAP GUI session with your valid credentials.
About this task
After the SAP recording is complete, you can run the SAP test and verify the transaction details.
You must install the latest version of SAP GUI when you want to record an SAP test in Rational® Performance Tester. For more information about checkmark_perf.jpg SAP GUI versions, see System Requirements.
Procedure
- Open Rational® Performance Tester.
-
Click the New Test From Recording icon , and then click SAP Test.
The Select Location page is displayed.
-
Create a test by performing the following steps:
- Select a project, and then select a folder from the project.
- Enter a name for the test.
- Optionally, click Recording encryption level, and then select the encryption level when you are recording any sensitive data.
-
Click Next.
The Select Client Application page is displayed.
-
Click SAPGUI For Windows, and then select
Next.
The SAP Connection page is displayed.
- Select Record from a running session started with SAP Logon.
-
Click Finish.
The SAP Easy Access on the SAP GUI window is displayed.
-
Record an SAP transaction (For example, SM04), and then
click Exit to close the transaction session.
Important: Do not log off the SAP GUI session until the test run completes.
-
Open
Rational® Performance
Tester and then click Stop Recording Session.
A Test Generation Progress window is displayed while the test is being generated.
The following message is displayed on the progress window: Test Generation completed.
Results
What to do next
- SAP Summary page in the SAP Statistical Report
- Test Log page
You can then place the transaction session in between an SAP session that has a logon and logoff session. You can then save and run the schedule.