Run ServiceNow ATF tests from the CLI — jsn

Discover and execute ServiceNow Automated Test Framework tests from the terminal and inspect their results.

How do I run ServiceNow ATF tests from a terminal? Discover and execute ServiceNow Automated Test Framework tests from the terminal and inspect their results. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn atf listFind tests
jsn atf run <test_sys_id>Run + poll (confirm-gated)
jsn atf list
jsn atf list

3 record(s)


name                            sys_class_name        active                sys_updated_on          
------------------------------  --------------------  --------------------  ----------------------  
SKILLS MGMT: Skill level in...  Test                  false                 2019-11-23 23:13:07     
CHG:High Risk With Ui Actio...  Test                  false                 2019-09-12 06:32:32     
RecordAction With Mappings      Test                  true                  2016-07-18 15:17:04

Get started

Install, point it at your instance, then run this feature.

npm install -g @jacebenson/jsn
jsn setup
jsn atf list
Full setup guide & skill docs →

← All features