Interview Questions

How to Start up the TestCase

SoapUI FAQ


(Continued from previous question...)

How to Start up the TestCase

When starting a TestCase the following actions are taken internally:
1. A context for the execution of the TestCase is initialized. This is passed to all scripts, property-expansions, etc that will occur during the execution of the TestCase allowing you to share resources, data, etc between them. For example, soapUI uses this internally to store an HttpState object in the context when the "Maintain HTTP Session" option has been selected in the TestCase Options dialog.
2. The setup script of the TestCase is executed.
3. If a maximum execution time has been specified in the TestCase options dialog, a corresponding times is started that will terminate (and fail) the TestCase if it hasn't finished in the configured time
4. A beforeRun event is triggered to all applicable TestRunListeners (defined either externally or as Event Handlers at the project level)
5. Any WS-RM or AMF related session or transaction initializations are performed as configured under the corresponding tabs in the TestCase Options dialog.

(Continued on next question...)

Other Interview Questions