OBLYTECH Logo
OBLYTECH Logo

Run the ATF test suite after installing Container Vulnerability Response

Run the Automated Test Framework checks after installing or upgrading Container Vulnerability Response, once installation has succeeded and the instance behaves as expected. On a non-production instance, enable execution, select the Container Vulnerability Response scope, activate the relevant tests and steps, run them, and inspect the results before continuing configuration.

Prepare Automated Test Framework checks for Container Vulnerability Response

The reader at this stage has an installed application and needs evidence that it still works after a change. ATF exercises configured behavior and records outcomes. Treat installation confirmation and test execution as separate checkpoints: first establish that the application installed successfully, then use the appropriate tests to examine behavior.

Run ATF on development, test, or another non-production instance. Test execution is disabled by default to protect production systems from accidental execution, data corruption, and outages. If demo data or demo accounts were created, remove them before using the instance for subsequent work, unless the same instance will also run the core Vulnerability Response suite, which needs demo data. Plan that cleanup before starting so test preparation does not become part of the operational dataset.

The Container execution procedure requires admin or atf_test_admin. Arrange that access for the person performing the procedure. Failure analysis with the change-comparison feature has a separate admin requirement, described below. Do not assume that access sufficient to execute a test also covers that investigation.

These steps use Brazil labels; check them against your instance and release. For the application context surrounding this validation, see Container Vulnerability Response explained. Keep the validation objective specific: establish a test result after installation or upgrade, then decide whether configuration can proceed.

Enable execution and select the application scope

Start with the instance execution setting. A test record can be active while execution remains disabled at the instance level. Checking the property first helps separate a configuration gate from a test that actually ran and failed.

Confirm that the Container Vulnerability Response application (sn_vul_container) is activated. The quick start tests require it.

  1. Open All > Automated Test Framework (ATF) > Administration > Properties.
  2. Select Enable test/test suite execution if it is not selected.
  3. Click Save.
  4. Then check the header for the Container Vulnerability Response application scope.
  5. If the scope is missing or different, click the settings icon and select Developer in System Settings.
  6. Select Show application picker in header if needed, then close the window.
  7. Choose Container Vulnerability Response from the application list next to System Administrator.

Record which instance and scope you used in the change record. This is an operational recommendation: it makes the resulting evidence interpretable when another administrator reviews the work. A result without its environment can be mistaken for validation of a different instance or a later application change.

Activate the Container tests and their steps

Although this task is described as running the Container ATF test suite, the Container workflow starts in Tests and executes a selected test. Record which one you ran, a single test or a suite, in the change record. A test execution and a suite execution represent different selections, so record what you actually ran.

  1. Navigate to All > Automated Test Framework (ATF) > Tests.
  2. Use the Package list to locate Vulnerability Response and Configuration Compliance for Containers.
  3. Open a test record from that package.
  4. Select the Active check box on the test.
  5. In the Test Steps related list, set the Active column to true.
  6. Click Update to save the record.

Check both activation levels. The test has its own Active setting, and its steps have Active values in the related list. Reviewing the test record alone leaves part of the preparation unchecked. Reopen the saved record before continuing so the next action uses the state you just stored.

Use a small execution checklist containing the selected test names and their intended purpose. This recommendation helps prevent a successful result for one selected record from being reported as completion of a broader collection. If the difference between these objects is unclear, see how a test suite groups tests.

Run the selected test and inspect its result

With the test reopened, click Enable tests and test suite execution here. Enable Test/ Test Suite Properties and Test Debugging Properties, then click Save. This record-level route is part of the Container sequence as well as the earlier check of the administration property.

If Run Test is not visible, refresh the screen and open the record again. Click Run Test to begin execution. A missing button at this point calls for the prescribed preparation and refresh checks; it does not establish that the application has failed its tests.

The Run Test dialog reports the outcome. Use Go to Result to inspect the execution details. Record the selected test, outcome, and result reference. If you need to execute further selected tests, keep their outcomes separately identifiable instead of replacing the earlier evidence with a single completion note.

A successful execution supports continuing Container Vulnerability Response configuration. Keep that conclusion tied to the behavior exercised by the selected test. As a review practice, describe the covered behavior in the handoff so later teams can distinguish tested actions from configuration decisions that remain open.

For help planning this work, see ServiceNow implementation.

Keep the core Vulnerability Response suite separate

The core Vulnerability Response workflow uses a different scope and selection. Its test suite requires demo data installed with Vulnerability Response. Do not transfer that prerequisite into the Container checklist as an assumed Container requirement; keep prerequisites attached to the workflow that needs them.

For the core suite procedure, admin or atf_test_admin is required. After preparing execution and selecting the Vulnerability Response scope, navigate to All > Automated Test Framework (ATF) > Suites. Open Vulnerability Response Quick Start Tests, select Active, and click Update. Refresh and reopen the record if Run Test Suite is missing, then use Run Test Suite and Go to Result.

If your change plan includes both applications, maintain separate entries for the Container tests and the core suite. This avoids mixing a package selection under Tests with a suite selected under Suites. It also makes the demo-data dependency visible before somebody tries to interpret an unsuccessful core-suite run.

Investigate failures before continuing configuration

For change-based failure investigation, an admin opens All > Automated Test Framework (ATF) > Tests, selects the affected test, and opens Test Results. Choose a failed result and select Find changes since last successful run. That related link appears on failed results.

The What changed related list appears when metadata records changed between the previous successful run and the recent failure. Its presence gives an investigation starting point. Review the changed records against the failed behavior before choosing a correction; the comparison helps narrow the investigation rather than deciding the cause for you.

Open a changed record and select Comparison on the What changed form, or use Comparison from the changed file’s context menu. The comparison places the newer record version on the left. Updates to the changed-record list can be delayed; if expected records are missing, select Find changes since last successful run again.

For the handoff, distinguish execution blocked by preparation from an executed test with a failed result. Include the result reference and the comparison you reviewed. If application-specific investigation needs further coordination, see Vulnerability Response consulting.

Questions about ATF evidence and follow-up

Can older test results disappear before an upgrade review?

ATF result retention is controlled through Auto Flush policies for test and suite results. By default, the system deletes test and test suite results 30 days after they are created, so change the Auto Flush policy before an upgrade review that needs older evidence. Those policies determine how far back result data remains available. Include retention in review planning so the evidence needed for a later comparison is still accessible when the review happens.

Can I compare execution duration across runs?

ATF supports comparisons of execution times for test and suite results, including results over time for a single suite. Use that capability when a run completes but its duration needs investigation. Keep timing comparisons associated with the relevant execution records.

Can failure investigation create a follow-up task?

An admin can use Create a task on the Test Results form after selecting at least one changed file. Selecting several changed files creates one task for that selection. The default task type is incident, controlled by sn_atf.test.triage.task.type.

How can the test definitions move to another instance?

Test definitions are records on the instance where they were built. Confirm them on the target instance before relying on a result there, and record which instance produced each result. Plan the transfer of test definitions separately from preserving execution evidence. A result collected before a transfer should remain identifiable as evidence from its original environment.

Can recurring checks be scheduled after the initial validation?

ATF supports scheduling a suite for a specified date and time. Treat a recurring schedule as a follow-up administration decision after the initial installation check. Identify the intended suite and review ownership before incorporating scheduled execution into the ongoing change process.