You can record a TN3270 test from a terminal emulation
client. When you record, the recording wizard automatically starts
the terminal emulation client and records all the screen and input
activity that transits the socket connection.
Ensure that you have a TN3270 terminal emulation program
installed on the local computer.
Tests are stored in performance
test projects. If your workspace does not contain a performance test
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. This means that when the recorded
actions are replayed by the test, the same responses from the server
will be received.
To record a socket test:
-
Open Test Performance.
-
Click the New Test from Recording icon
, and then click TN3270 Test.
Note: You can also click , and then select TN3270 Test. You can then select
the encryption level, if required and click Next to open the
Select Location page.
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.
-
On the Select Client Application page, select any of the following
type of client program to use to record the test, and then click
Next:
The Recording Method page is displayed.
-
Select the required method from the Recording Method page when you
select Managed Application in step 5 for your
recording.
- Proxy Recorder method
Select Proxy
Recorder to record the HTTP activity of a client set up by using a proxy, and
click Next.
The
Managed Application Options page is displayed.
Specify the
application to launch by performing the following action, and then click
Next:
- Click Browse and specify the program path.
- Click Browse and specify the working directory, if required.
- Specify the command-line arguments that the program requires in
Arguments, if needed.
- Select the Open console for user input check box if the program
requires user input from a command-line interface.
You can then specify the settings on the Proxy Recorder
Settings page.
- Socket I/O Recorder method
Select
Socket I/O Recorder to record the client I/O operations, and then
click Next.
The
Managed Application Options page is displayed.
Specify the
application to launch by performing the following action, and then click
Next:
- Click Browse and specify the program path.
- Click Browse and specify the working directory, if required.
- Specify the command-line arguments that the program requires in
Arguments, if needed.
- Select the Open console for user input check box if the program
requires user input from a command-line interface.
Specify the required secure options from the
Socket I/O Recorder Secure Settings page:
- Enable recording of SSL/TLS encrypted communication to enable the
recording of the SSL/TLS encrypted communication.
- Use MS-Detour for launching processes to use the Microsoft Detour
library when recording with the Socket I/O recorder.
- Click Finish to start recording.
A progress window opens while the TN3270 terminal program
starts.
- Use the TN3270 terminal program to perform the actions
to test.
-
When you have finished test actions in the program, stop the recorder. You can do this
by closing the TN3270 terminal program or by clicking the Stop
push button
in the Recorder Control view.
A progress window opens while the test is generated. On
completion, the Recorder Control view displays the Test
generation completed message, the Test Navigator lists your test, and the
test opens in the test editor.