DevOps test tool integration
-
- UpdatedJan 30, 2025
- 6 minutes to read
- Yokohama
- DevOps
Test tool integration lets you view test results in DevOps for Jenkins, Azure DevOps, GitHub, GitHub Enterprise, and GitLab unit, functional, and performance tests.
For GitLab and Jenkins, only JUnit test type integration is supported.
- Selenium tests run and published using TestNG are reported by the Jenkins plugin for ServiceNow DevOps.
- Test type categorization is supported.
- Additional tests results reported by tools, such as Apache JMeter, can be processed in DevOps using custom Workflow Studio subflows (no pipeline changes required).
Category | Test type |
---|---|
Unit | JUnit (default) NUnit XUnit Unit test Note:
You can change the default test type by modifying the [sn_devops.default_test_type] DevOps property. |
Functional |
|
Performance | Load |
Test type mapping
The test type mapping connects the test type and entity being tested with the DevOps tool ( module.)
An accurate test type mapping ensures that the test type always appears as intended in the test summary results.
Field | Description | |
---|---|---|
Test type |
|
|
DevOps Entity Id | Table name | DevOps table name that contains the entity linked to the test results (in the test report payload).
Note: Only DevOps Step and Pipeline tables are supported. |
Document | Name of the entity specified in the selected table. For example, the name of the step, pipeline, artifact, or package. |
|
Test File Paths (Jenkins tests only) |
Path to the generated test result file on the Jenkins server. This is useful so test reports with attributes that don't conform to JUnit or TestNG implementation, such as JMeter for example, can still be leveraged by DevOps. Separate multiple files by a comma. Note: You must use a Workflow Studio subflow to transform a raw test payload. |
|
Tool integration | Tool that's running the test. |
|
DevOps Table | DevOps table that corresponds to the table name in the DevOps Entity Id setting. |



Transforming a raw test payload
If there is more than one test type in a performance stage, you can use the DevOps Test Type Policy decision table to configure the test type for each test so the test result payloads are transformed correctly.

Decision table | Purpose | Configuration |
---|---|---|
DevOps Test Subflow Policy | To automatically call a custom subflow that transforms the raw payload received by the tool. Decision inputs:
|
Create a decision that specifies the custom subflow to call when the raw payload is received. Set the conditions to contain fields that would be included in the raw payload. For example, to call Jenkins BZ Performance Test custom subflow: Conditions:
Answer: FLow: Jenkins BZ Performance Test |
DevOps Test Type Policy | To automatically set test types when more than one type of test is configured in a performance test stage. This is necessary so the results for the second test type get transformed correctly. For example, when both a Load performance test and a JUnit performance test are mapped in the same DevOps step, the JUnit test results won't get formatted correctly unless a decision is created. Decision inputs:
|
Create a decision for each type of test in the performance test stage to set the test type. Load test:
JUnit test:
|



Test summary results
- module (Test Summaries and Performance Test Summaries).
- DevOps change request - Test Results related list.
- DevOps Pipeline UI - Quality tile.
