Rational Robot FAQ
Part:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
How to set up and use proxy recording?
Start Robot on the proxy computer.
In the Proxy Administration dialog box, match up the proxy computer and port
with each server to be used in the test.
In the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab of the Session Record Options dialog box, match up
each client with the server it will send requests to. Be sure to specify the actual
server and not the proxy computer.
Configure each client to send requests to the proxy computer, not to the server.
For example, if the client will be sending requests to an Oracle database, use the
Oracle client configuration software to specify the proxy computer’s address and
port number, not the server’s.
On each client computer, a tester should start the client application and navigate
to the point where recording will begin.
On the proxy computer, enable recording (File File File File > Record Session Record Session Record Session Record Session).
With recording enabled, each tester at each client computer performs the
transactions to record.
When all transactions are complete, stop recording on the proxy computer.
How to create a proxy computer?
- Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
- Click the Method Method Method Method tab and make sure that Proxy recording Proxy recording Proxy recording Proxy recording is selected.
- Click the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab.
- Click Proxy Admin Proxy Admin Proxy Admin Proxy Admin.
- In Proxy:Port Proxy:Port Proxy:Port Proxy:Port, specify the proxy computer’s port number. Note that Robot has
already detected and specified the proxy computer’s name.
You can specify any available port number. Avoid the well-known ports (those
below 1024). If you specify a port number that is unavailable, Robot prompts
you for a new port number.
- In the Server:Port Server:Port Server:Port Server:Port list, select a server involved in the test.
- Click Create Proxy Create Proxy Create Proxy Create Proxy.
How to associate each client in the test with the server it will communicate with?
- Click Tools Tools Tools Tools > Session Record Options Session Record Options Session Record Options Session Record Options.
- Click the Method Method Method Method tab and make sure that Proxy recording Proxy recording Proxy recording Proxy recording is selected.
- Click the Method:Proxy Method:Proxy Method:Proxy Method:Proxy tab.
- Select a client in the Client [:Port] Client [:Port] Client [:Port] Client [:Port] list.
The client port is optional.
- Select the client’s server in the Server:Port Server:Port Server:Port Server:Port list.
The server port is required.
- Click Add.
Controlling the Values Accepted When an HTTP Script Is Played Back
You can set recording options that control which status values are acceptable when a
script that accesses a Web server is played back. If you do not set any recording
options, the script plays back successfully only if the playback conditions exactly
match the conditions during recording. However, you can set recording options so
that a script plays back successfully even if:
- The server responds with partial or full page data during record or playback.
- The response was cached during record or playback.
- The script was redirected to another http server during playback.
- You are recording a number of HTTP scripts and plan to play them back in a
different order.
Part:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|