Recording a Test Script Over a Secure Connection

  1. Click Model Script on the workflow bar. The Workflow - Model Script dialog box appears.
  2. From the Recording Profile list, select the profile for the client application that you plan to test. If a profile has not yet been set up for the application you want to use, click Settings to the right of the list to set one up.
  3. Depending on the project type, enter either the application's URL in the URL field or the location of the application in the Command line field.
  4. Click Record over a secure connection. The Configure secure recording dialog box appears.
  5. On the Configure secure recording dialog box, select if you want to use the Micro Focus CA (certificate authority) certificate or if you want to use the certificate of your system under test. If you are unsure which approach to use, refer to Secure Connections and Certificates.
    If you selected Configure Micro Focus certificate:
    1. Click Install Micro Focus CA certificate.
    2. Follow the Certificate Import Wizard instructions.
    3. After you have completed the certificate import, click Start recording.
    If you selected Configure server certificate:
    1. In the Server certificate field, locate the server certificate you want to use.
    2. In the Pass phrase field, enter the pass phrase that is to be used, if the server certificate you want the Recorder to use is protected with a pass phrase.
    3. Optional: Check the Send root CA during SSL handshake check box to have the Recorder send the root CA certificate during the SSL handshake. The root CA certificate may be requested by a client to authenticate the certificate authority that signed the Recorder server certificate.
    4. Optional: In the Root CA certificate field, locate the root CA certificate that you want to use.
    5. After you have completed configuring the server certificate, click Start recording.
    The Silk Performer Recorder dialog opens in minimized form, and the client application starts.
  6. To see a report of the actions that happen during recording, maximize the Recorder dialog by clicking the Change GUI size button. The maximized Recorder opens at the Actions page.
  7. Using the client application, conduct the kind of interaction with the target server that you want to simulate in your test. The interaction is captured and recorded by the Recorder. A report of your actions and of the data downloaded appears on the Actions page.
  8. Insert transactions and timers into the test script during the recording phase. You can create as many transactions and timers as you want. To insert a transaction, click the New Transaction button. A transaction represents a piece of work that can be assigned to a virtual user.
  9. In the ensuing dialog, enter a name for the transaction and click OK. The new transaction appears in the Actions log.
  10. To insert a timer, click the New Timer Session button. A timer is a user-defined measurement period in a test. You should create timers for each component of a transaction for which you want to analyze performance. In the ensuing dialog, enter a name for the timer and click OK.
  11. To end recording, click the Stop Recording button.
  12. Enter a name for the .bdf file and save it. The Capture File page displays. Click Generate Script to generate a script out of the capture file.