To measure the performance of a SAP Portal from a web interface,
you can record a SAP test by using the HTTP SAP Portal option.
Before you begin
Verify that the IBM® Rational® Performance Tester Agent
is running on the local computer and that SAP GUI Scripting is enabled
on the SAP R/3 server and the SAP GUI client.
Tests are stored
in performance test projects. If your workspace does not contain a
project, the test creation wizard creates one with a name that you
can change. To store a test in a specific project, verify that the
project exists before you record the test.
Ensure that the session
that you are recording is reproducible. For example, if you create
items in SAP and do not delete them, then they will already exist
when the test is run, which might cause the test to fail.
Procedure
To record an SAP Portal session:
- Click ; then select SAP
Recording, and click Next.
- Select the project and folder where you want to create
the batch input test, type a name for the new test, and then click Next.
- On the SAP session page of the wizard,
select Record a session initiated from HTTP SAP Portal.
- Select a web browser and click Next.
- Depending on your selection, take one of the
following steps. On the Recorder Settings page,
depending on the browser that you selected, specify these details:
- Click Record traffic with the proxy recorder to
record HTTP or SOCKS traffic through a proxy or click Record
traffic with the socket recorder to record low-level network
traffic for applications where a proxy cannot be used. Use this option
primarily when you are not using Mozilla Firefox or Microsoft Internet Explorer.
Note: When
using proxy recording, you can filter out HTTP or HTTPS requests to
specific endpoints so that any requests to those endpoints are not
recorded. See
Proxy recording preferences.
- If the server requires client SSL authentication, provide the
client certificate keystore for the proxy recorder to be authenticated
by the server as though the proxy recorder were the client. Select
the The server requires a specific client certificate check
box. Specify the file name and password of the server certificate
keystore. If multiple certificates are required, click Multiple
certificates, and click Add to
specify a certificate keystore file name and password for each host
name and port.
- If you selected Mozilla Firefox, you can
choose to use a temporary Firefox profile. Doing so starts Firefox
without any bookmarks, plug-ins, or toolbars that might be associated
with your usual profile. Select the Use an alternate Firefox
profile check box, and then select Use a temporary
Firefox profile.
- If you clicked Record traffic with the proxy recorder,
click Advanced to specify whether to use an
HTTP or SOCKS proxy recorder to review and edit network connection
settings that the browser uses or to specify advanced SSL authentication
settings. If you clicked Record traffic with the socket
recorder, specify advanced SSL authentication settings.
- To start the recording, click Finish. The web browser opens.
- In the web browser, type the URL of an SAP Portal web interface.
- On the web page, follow the logon procedure, and click
the link to open the SAP GUI session. The web browser downloads an
SAP Portal shortcut file and opens the SAP GUI application with the
session information that the shortcut file contains.
- In the SAP GUI client, complete the transactions to record
for the test.
- When you complete the transactions to be tested, stop the
recording by closing the SAP GUI and the web browser.
Results
At the end of the recording session, one test is created
that will contain both HTTP and SAP GUI pages. To run an SAP Portal
test, click Run Test.