Recording a test with digital certificates

The test creation wizard starts when you record a test. This wizard combines these actions: recording a session with a web application, generating a test from the recording, and opening the test in the test editor. You can record a test from Internet Explorer (the default for the Windows operating system) or from another browser.

Before you begin

You must use a PKCS#12 digital certificate when recording performance tests.

Procedure

  1. Click File > New > Test from Recording.
  2. In the Create New Test from Recording window, select Create Test from New Recording and HTTP Test, and then click Next.
  3. In the list of projects, click the one in which to store this test and related files. The Java icon icon identifies projects that are suitable for containing tests. Tests stored in other projects will not run.
    Note: If you have not yet created a project, the Project Name field displays a default name of testproj, which you can change.
  4. In the Test file name field, type a name for the test, and click Next. The standard Navigator and the Java™ Package Explorer use this name, with extensions. You will also see this name in the Test Navigator.
  5. In the Enter Client Digital Certificate window enable Use Client Digital Certificate, and then type or browse to the Path to the digital certificate file that you want to use.
  6. Type the Pass Phrase, or password, for the digital certificate, and then click Finish. A progress window opens while your browser starts.
    Note: The Java Runtime Environment (JRE) that the workbench uses must support the level of encryption required by the digital certificate that you select. For example, you cannot use a digital certificate that requires 256-bit encryption with a JRE that supports only 128-bit encryption. By default, the workbench is configured with restricted or limited strength ciphers. To use less restricted encryption algorithms, you must download and apply the unlimited jurisdiction policy files (local_policy.jar and US_export_policy.jar). You can download unlimited jurisdiction policy files from http://www.ibm.com/developerworks/java/jdk/security/60/. Click on "IBM® SDK Policy files," and then log in to developerWorks®. Download and extract unrestricted.zip, the 1.4.2+ version of the unlimited jurisdiction policy files. Before installing these policy files, back up the existing policy files in case you want to restore the original files later. Then overwrite the files in RPT_HOME/jdk/jre/lib/security/ directory with the unlimited jurisdiction policy files. By default, this directory is C:/Program Files/HCL/HCLProducts/jdk/jre/lib/security/. To learn more about JREs, see Working with JREs.
  7. In the address box for your browser, type the address of the web-based application to test and activate the link.
  8. Perform the user tasks that you want to test. While you are recording, follow these guidelines:
    • Wait for each page to load completely. Waiting will not affect performance results, because you can remove extra "waiting time" (think time) when you play back the test.
    • Do not change browser preferences.
  9. After you finish performing the user tasks, stop recording. To stop recording, close your browser or click on the right side of the Recorder Control view bar. A progress window opens while the test is generated.

Results

On completion, the Recorder Control view displays the message Test generation completed, the Test Navigator lists your test, and the test opens for you to inspect or edit.
Feedback