Include/Exclude Tests for Component

Task Command Example

Include Tests for a Component

eGCLI IncludeTestsForComponent -managerid <Manager ID> -componenttype <Component type> [-testtype <Performance / Configuration>] -componentname <Component name:Port number> -testname <Comma-separated list of tests>

eGCLI IncludeTestsForComponent -managerid mgr1 -componenttype Tomcat -testtype performance

-componentname TomComp:8080 -testname Network Traffic,TCP

eGCLI IncludeTestsForComponent -managerid mgr1

-componenttype Tomcat -testtype configuration

-componentname TomComp:8080 -testname Environment Entries,Drives Capacity

Exclude Tests for a Component

eGCLI ExcludeTestsForComponent -managerid <Manager ID> -componenttype <Component type> [-testtype <Performance / Configuration>] -componentname <Component name:Port number> -testname <Comma-separated list of tests>

eGCLI ExcludeTestsForComponent -managerid mgr1 -componenttype Active Directory -testtype performance -componentname actDir:389 -testname AD Replications,Application Events

eGCLI ExcludeTestsForComponent -managerid mgr1 -componenttype Active Directory -testtype configuration -componentname activeDir:389 -testname Operating System,Drives

Note:

  • Specify the port number against the component name in the command: -componentname <Component name:Port number> only if it is a port-based component.

  • The default values for the following parameters are:

    • Category – Enabled
    • Testtype – Performance
    • Csvformat - no