AppHealth Check
To enhance the stability and reliability of test execution by integrating an AppHealth Check into the scheduler. This pre-validation ensures the application/server is up and running before running any test suites or API requests. If the system is down, execution halts and users are notified, preventing unnecessary failures and ensuring tests are only run in a stable environment.
How It Works
1. Enable App Health Check
a. While creating/editing a scheduler, a toggle labeled App Health Check is available.
b. This toggle is disabled by default and must be manually enabled by the user.
2. Select Health Check Scenario
a. Upon enabling, users must select a scenario (or tag) that represents core app functionality.
b. This scenario acts as the Health Check, and must be selected from the same suite/tag list being scheduled.
c. Once you have toggled on AppHealth Check, you need to select a single scenario or API collection and its associated request that will check the major functionality of the application.
i. For Mobile/Web: Upload a suite or tags for AppHealth Check.
ii. For API Testing: Upload a single API collection containing multiple requests to verify the application's health.
3. Execution Flow
a. If Health Check passes: The rest of the scheduled test scenarios or API requests proceed.
b. If Health Check fails: Execution halts. No further tests are run. The owner and invited users are notified via email.
4. Health Check Behavior
a. Different health check scenarios can be assigned to different schedules.
b. If disabled, the scheduler executes all selected test scenarios directly, without performing any health validation.
5. AppHealth Check in Reports
a. AppHealth Check scenario/API execution will always be displayed at the top of the report.
b. The AppHealth Check will execute during both runtime and scheduled time based on the behavior mentioned above.
c. The AppHealth Check scenario/request will be marked with the AppHealth Check icon.
d. If the AppHealth Check passes: The other suite, API, or tag scenarios will appear below as usual, following the regular production behavior.
e. If the AppHealth Check fails: The other suite, API, or tag scenarios will not be visible.
Behaviour When Health Check Is Disabled:
-
If the App Health Check toggle is turned off, the scheduler will execute the selected test scenarios or API requests directly, without performing any pre-check.
-
The status of each scenario will be updated as per normal execution flow.
Benefits :
-
Prevents Unnecessary Test Execution – Halts test runs if the application is unavailable, conserving time and resources.
-
Test Reliability – Ensures only valid failures are reported by filtering out issues caused by system downtime.
-
Real-Time Notifications – Instantly alerts users when the health check fails, enabling prompt action.
-
Improved Report Clarity – Clearly highlights health check results at the top of test reports for quick visibility.