Menu

#32 No Disconnection on EXIT command

open
HTTP Replay (4)
5
2013-02-14
2003-08-18
No

Background

On completion of a script or when encountering an
explicit EXIT command, the Test Executor closes any
open TCP connections.

This is not always desirable, especially if building a
modular scripting structure.

Requirement

The script developer should be able to specify whether
the thread disconnects or not on completion of a script.

Suggested Implementation

Remove the disconnect feature from the EXIT command
and during capture add "DISCONNECT ALL" just before
each of the two "EXIT" commands at the end of the
script.

Reasoning

Everyone will have differing requirements. Complete and
simple control is provided by using the
existing "DISCONNECT" statement instead of the implicit
disconnection that results from the "EXIT" command.

Discussion


Log in to post a comment.

Monday.com Logo