Okie dokie~! Lets get into the ServiceNow Automated Test Framework (ATF) and GitHub Actions. I work on a project which requires execution of ATF tests. Right now the components of this project are
- GitHub Repo
- A GitHub Action
- A TypeScript program to send HTTP Requests.
- ServiceNow ATF Suites
- ServiceNow ATF API
- A Scripted API to move and deploy update sets.
- JWT Bearer Token
Let’s get into the components~!
First, the GitHub repo is just a git repository any user can use. This project utilizes the repo to keep deployment notes and artifacts.
Next, is a GitHub action which is just a YAML file which executes executes a Typescript program to send HTTP requests.
The Typescript program sends HTTP requests. It also parses the results.
The ServiceNow ATF Suites are a collection of tests to execute. We use suites as a limitation of the ServiceNow API.
The ServiceNow ATF API is utilized execute the work and track items.
A specialized Scripted API is used to move and deploy update sets.
Finally, we use a JWT Bearer token to authenticate with the ServiceNow system.
I’ll be sure to follow-up with the rest of the details in separate parts.
Until next time~!