Test definitions in Service Test Management

concept australia Updated Oct 23, 2026 3 min read test-definition-stm.md
Raw file servicenow.com

A test definition specifies the parameters, metrics, and threshold rules for a service test. Use test definitions to identify the root cause of service problems across service types, product models, and inventory.

Test definition includes characteristics, relationships, test meaures definitions, measure consequences, and threshold rules. These entities enable the system to trigger relevant tests for the service problem that help to identify the root cause of the problem. You can define these entities for each test based on your requirements.

To learn more about creating a test definition, see Setting up test definitions.

Test definition lifecycle

A test definition moves forward through four states. When a test definition is moved to a state, it can't return to an earlier state.

  • Draft

    You can edit the test definition and its related records: relationships, test measure definitions, threshold rules, and measure consequences. A new definition starts in this state. For more information, see Create a test definition

  • Published

    The test definition is locked, and test runs can reference it. For more information, see Publish a test definition.

  • Retired

    A published test definition that is no longer used. A retired definition can't be changed. For more information, see Retire test definitions.

  • Archived

    Only a retired test definition can be archived. Fore more information, see Archive test definitions.

Note:

  • Relationships, test measure definitions, threshold rules, and measure consequences can be changed only while the test definition is in the Draft state.
  • A test definition that is the related definition of a published test definition can't be retired or archived. On the form, the system shows an error. From a list, the system skips those definitions and names them in a message.
  • A test run can reference only a published test definition.

For the messages that the system shows, see Service Test Management error messages. To reuse a locked definition as a starting point, see Copy a test definition.

Related topics

Test groups in Service Test Management

Test run in Service Test Management

Test group run in Service Test Management

Search documentation
Search document titles and file paths on the australia branch