---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Testing applications in AEMC

# Testing applications in AEMC {#ariaid-title1}

Release version: Australia  
Updated August 8, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Testing applications in AEMC

Testing applications in AEMC ensures that changes are viable before deploying them to production.
This process involves running automated tests in a non-production environment to identify issues early.
Admins initiate testing by approving deployment requests, which transitions the application into the Testing state where tests are executed automatically if configured properly.
Show full answer Show less  

## Testing process

Before publishing a submitted application, an admin must open the deployment request and select **Approve**. This triggers the system to determine the next state and run tests to validate the app's readiness. If the application fails testing, the deployment request should be rejected.

## Automated tests during deployment

When deploying or installing an application to a test environment, two key jobs run automatically:

* **Application Deployment Test Suite:** A set of Automated Test Framework (ATF) tests, primarily a logging test that records scan results in the Test Results table. To run this suite, two system properties must be enabled: *snatf.runner.enabled* and *snatf.schedule.enabled*. Without these, only the instance scan will run.
* **Scoped App Definitions instance scan:** Scans all tables extending Task \[task\] in the application to diagnose health and best practice issues on non-production instances.

## Viewing test results

Admins can review test and scan results by selecting the **Deployment Environment Results** tab in the deployment request. Results are organized into three tabs:

* **ATF Results:** Shows test suite name, test URL, success/failure counts, and overall errors.
* **Instance Scan Results:** Displays scan suite name, scan URL, finding counts, and detailed results.
* **Results (JSON):** Contains unformatted JSON data of ATF and instance scan results, including any identified errors. This JSON is also available in the Notes related list.

## Why this matters for ServiceNow customers

By leveraging AEMC's automated testing capabilities, ServiceNow customers can confidently validate applications before production deployment, reducing risks and ensuring adherence to best practices. Enabling the necessary ATF properties and reviewing detailed test results allows administrators to diagnose and address issues early, leading to smoother application releases and more reliable production environments.  
Testing an application helps to ensure the viability of the changes on the production instance. Learn about how testing works in AEMC and the different kinds of tests that automatically run during the deployment process.

## Testing an application {#testing-aemc__section_gpr_5f4_14b}

Before you publish a submitted application, test it in a non-production instance. To begin testing, an admin must open the deployment request and select Approve. The pipeline record is read and determines the
next state for the request.

The goal of testing the application is to ensure the viability of the production instance. When the app has transitioned to the Testing state, ServiceNow
Automated Test Framework tests run if you have [enabled the appropriate properties](https://servicenow-prod.fluidtopics.net/VACxa_U3fko5vGYknC7aZw "Pipelines and Deployments includes an Application Test Framework (ATF) suite called the Application Deployment Test Suite. Two system properties control whether the test runs automatically whenever an app is deployed to a Test environment.").

If the application doesn't pass testing, then you reject the deployment request.

## Deploying to a test environment {#testing-aemc__section_xzw_t3c_5rb}

When you deploy or install an application to a test environment, two jobs are automatically executed:

* Application Deployment Test Suite
* Scoped App Definitions instance scan
{#testing-aemc__ul_jcp_d4c_5rb}

These tests can be useful to the administrator for diagnosing issues before an app is deployed. For more information about what goes on during an application deployment, see [Pipelines and Deployments workflow](https://servicenow-prod.fluidtopics.net/N7UlF_9mlCgZmtICks6a0Q "As you manage requests for app deployment in App Engine Management Center (AEMC), use this workflow to understand how app deployments move through your pipelines in versions 24.1.2 and later.").  
{#testing-aemc__table_ojh_znc_5rb__entry__2}

| Job | Description |
|-|-|
| Application Deployment Test Suite | A set of Automated Test Framework (ATF) tests. The suite consists of a single test called Log. When the test is run, scan results are logged to the Test Results \[sys_atf_test_result\] table. Note: The following two system properties must be enabled to run the Application Deployment Test Suite: * sn_atf.runner.enabled * sn_atf.schedule.enabled {#testing-aemc__ul_t3f_pnc_5rb}If they aren't enabled, only the instance scan runs. For more information, see [Enable Automated Test Framework (ATF) properties](https://servicenow-prod.fluidtopics.net/VACxa_U3fko5vGYknC7aZw "Pipelines and Deployments includes an Application Test Framework (ATF) suite called the Application Deployment Test Suite. Two system properties control whether the test runs automatically whenever an app is deployed to a Test environment."). |
| Scoped App Definitions instance scan | Instance scans aid in diagnosing health issues on a non-production instance, and are useful for addressing best practices. For more information, see [Instance Scan](https://www.servicenow.com/docs/access?context=hs-landing-page&version=australia&pubname=australia-platform-administration&ft:locale=en-US). The instance scan checks all tables in the app that extend Task \[task\]. |
[Table 1. Jobs that automatically run during deployment]

{#testing-aemc__table_ojh_znc_5rb}

The admin can view the results of the scans for troubleshooting purposes by selecting the Deployment Environment Results tab in the deployment request.  
Simply open the record of the instance. The results are split into three tabs:

* ATF Results
  * Test suite name
  * Test URL
  * Success and failure counts
  * Overall error count
  {#testing-aemc__ul_vcg_1xc_5rb}
* Instance Scan Results
  * Scan suite name
  * Scan URL
  * Finding count for the scan
  {#testing-aemc__ul_urz_2xc_5rb}
* Results (JSON) includes unformatted JSON code of the ATF and instance scan results, as well as any errors identified during the scans. This JSON can also be found in the Notes related list.
{#testing-aemc__ul_dj2_5wc_5rb}

