{"id":20618183,"url":"https://github.com/tddschn/servicenow-test-runner-scheduler","last_synced_at":"2026-04-20T11:31:38.744Z","repository":{"id":42997910,"uuid":"510992049","full_name":"tddschn/servicenow-test-runner-scheduler","owner":"tddschn","description":"ServiceNow - Start and Schedule Multiple ATF test runners in browser","archived":false,"fork":false,"pushed_at":"2023-02-11T01:51:03.000Z","size":426,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-16T21:06:10.236Z","etag":null,"topics":["cli","python","selenium","servicenow"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/servicenow-test-runner-scheduler","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-06T04:49:55.000Z","updated_at":"2023-03-08T22:54:15.000Z","dependencies_parsed_at":"2025-01-17T04:46:43.694Z","dependency_job_id":"894501f2-2856-4ae3-9e77-ca8221e8b99d","html_url":"https://github.com/tddschn/servicenow-test-runner-scheduler","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tddschn/servicenow-test-runner-scheduler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fservicenow-test-runner-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fservicenow-test-runner-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fservicenow-test-runner-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fservicenow-test-runner-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/servicenow-test-runner-scheduler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fservicenow-test-runner-scheduler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32045161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T10:33:29.490Z","status":"ssl_error","status_checked_at":"2026-04-20T10:32:30.107Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","python","selenium","servicenow"],"created_at":"2024-11-16T12:07:29.848Z","updated_at":"2026-04-20T11:31:38.724Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trigger ATF Test / Suite from another instance\r\n\r\nServiceNow - Start and Schedule Multiple ATF test runners in browser\r\n\r\n- [Trigger ATF Test / Suite from another instance](#trigger-atf-test--suite-from-another-instance)\r\n  - [What does `servicenow-test-runner-scheduler` do?](#what-does-servicenow-test-runner-scheduler-do)\r\n  - [Installation](#installation)\r\n    - [pipx](#pipx)\r\n    - [pip](#pip)\r\n  - [Configure](#configure)\r\n  - [Usage](#usage)\r\n  - [Demo](#demo)\r\n\r\n\r\n## What does `servicenow-test-runner-scheduler` do?\r\n- Start `NUM_INSTANCE` (default: 6) instances of the client test runner concurrently\r\n- After `RESTART_INTERVAL // NUM_INSTANCE` (default: `7200 // 6 = 1200`) seconds, the first runner will be restarted, and after another 1200 seconds, the seconds runner will be restarted, and so on.\r\n- After all the runner have been restarted once, all the 6 runners will be scheduled to restarted every `RESTART_INTERVAL` (default: `7200`) seconds.\r\n\r\n\r\n## Installation\r\n\r\nInstall `python3` and [`chromedriver`](https://sites.google.com/chromium.org/driver/) first.  \r\n\r\n### pipx\r\n\r\nThis is the recommended installation method.\r\n\r\n```\r\n$ pipx install servicenow-test-runner-scheduler\r\n```\r\n\r\n### [pip](https://pypi.org/project/servicenow-test-runner-scheduler/)\r\n\r\n```\r\n$ pip install servicenow-test-runner-scheduler\r\n```\r\n\r\n\r\n## Configure\r\n\r\n- Create a `.env` file and put it in the same directory as the `trigger_test_zipapp.pyz` file.\r\n- Edit the `.env` files, so it looks like this:\r\n\r\n    ```ini\r\n    # required fields\r\n    instance=https://dev105825.service-now.com\r\n    userid=admin\r\n    password=admin_pw\r\n\r\n    # optional fields, the value shown here are the default values\r\n    RESTART_INTERVAL=7200\r\n    TOLERANCE=300\r\n    NUM_INSTANCE=6\r\n    CHECKING_INTERVAL=300\r\n    ```\r\n\r\n## Usage\r\n\r\n```\r\n$ snowtrs --help # or servicenow-test-runner-scheduler --help\r\n\r\nLoading settings for: \r\nusage: servicenow-test-runner-scheduler [-h] [-V] [-n] [-s]\r\n\r\nServiceNow - Start ATF test runner in browser\r\n\r\noptions:\r\n  -h, --help            show this help message and exit\r\n  -V, --version         show program's version number and exit\r\n  -n, --dry-run         Dry run (default: False)\r\n  -s, --scheduled-runner\r\n                        Start a scheduled runner (default: Client test runner) (default: False)\r\n  --headless            Run browser instances in headless mode (default: False)\r\n```\r\n\r\n\r\n## Demo\r\n\r\n\u003ca href=\"https://asciinema.org/a/506565\"\u003e\u003cimg src=\"https://asciinema.org/a/506565.svg\" alt=\"Asciicast\" width=\"650\"/\u003e\u003c/a\u003e\r\n\r\nConfiguration of this demo:\r\n\r\n```ini\r\n# .env\r\nRESTART_INTERVAL=6\r\nTOLERANCE=1\r\nNUM_INSTANCE=6\r\nCHECKING_INTERVAL=1\r\n```\r\n\r\nRun `servicenow-test-runner-scheduler --dryrun`.\r\n\r\n![](images/demo.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fservicenow-test-runner-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Fservicenow-test-runner-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fservicenow-test-runner-scheduler/lists"}