assign_test_to_target
Assigns a test-type to a target-type. If a test-type t is assigned to target-type T, all targets of type T can be queried with tests of type t.
Format
emcli assign_test_to_target -testtype=test-type_to_be_assigned -type=target_type [-tgtVersion]=version_of_target_type [ ] indicates that the parameter is optional
Options
-
testtype
Test-type to be assigned. Should be the internal name; that is, 'HTTP' instead of 'Web Transaction'.
-
type
Service target type.
-
tgtVersion
Version of the target type. If not specified, the latest version is used.
Example
This example assigns test type HTTP to targets of type generic service v2.
emcli assign_test_to_target -testtype='HTTP' -type='generic_service' -tgtVersion='2.0'