SERVICE_TYPE
Ada Test Script Language
Purpose
The SERVICE_TYPE statement indicates the type of service tested.
Syntax
SERVICE_TYPE <type> {, <type>}
where:
-
<type> is a user-defined service type identifier
Description
The SERVICE_TYPE instruction allows you to specify an identifier indicating the type of service tested. This identifier is included in the test report.
You can use this functionality to specify whether a service is internal or external.
If SERVICE_TYPE is placed within a SERVICE ... END SERVICE block, it indicates the type of the current SERVICE block.
If the SERVICE_TYPE statement is placed outside a SERVICE block, then it indicates the default service type for all SERVICE blocks that do not contain a SERVICE_TYPE statement.
Example
SERVICE_TYPE internal, external
SERVICE count
SERVICE_TYPE internal
...
END SERVICE