How to expand the conditions under which a script will play back successfully?
Rational Robot FAQ
(Continued from previous question...)
How to expand the conditions under which a script will play back successfully?
- Click Tools Tools Tools Tools - Session Record Options Session Record Options Session Record Options Session Record Options.
- Click the Generator per protocol Generator per protocol Generator per protocol Generator per protocol tab.
- Select HTTP at the Protocol Protocol Protocol Protocol secti on, and then sel ect one or more of the following:
a. Allow partial responses
Select this option to enable a script to play back successfully if the HTTP
server responds with partial data during playback. This generates a script
that sets the TSS environment variable Http_control Http_control Http_control Http_control to HTTP_PARTIAL_OK. Leaving this box cleared enforces strict
interpretation of recorded responses during playback.
b. Allow cache responses
Select this option to enable a script to play back successfully if a response is
cached differently during playback. This generates a script that sets the TSS
environment variable Http_control Http_control Http_control Http_control to HTTP_CACHE_OK. Leaving this box
cleared enforces strict interpretation of recorded cache responses during
playback.
c. Allow redirects
Select this option to enable a script to play back successfully if the script was
directed to another HTTP server during playback or recording. This
generates a script that sets the TSS environment variable Http_control Http_control Http_control Http_control to
HTTP_REDIRECT_OK. Leaving this box cleared enforces strict
interpretation of recorded redirects during playback.
d. Use HTTP keep-alives for connections in a session with multiple scripts.
You should generally leave this box cleared.
(Continued on next question...)
Other Interview Questions
|