{"id":26299227,"url":"https://github.com/trackit/trackit-api-tests","last_synced_at":"2025-03-15T06:47:50.387Z","repository":{"id":43657399,"uuid":"160833770","full_name":"trackit/trackit-api-tests","owner":"trackit","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T04:57:09.000Z","size":127,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-02-27T20:27:56.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trackit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-07T14:25:59.000Z","updated_at":"2021-10-08T10:36:10.000Z","dependencies_parsed_at":"2023-01-25T16:16:24.430Z","dependency_job_id":null,"html_url":"https://github.com/trackit/trackit-api-tests","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trackit%2Ftrackit-api-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trackit%2Ftrackit-api-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trackit%2Ftrackit-api-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trackit%2Ftrackit-api-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trackit","download_url":"https://codeload.github.com/trackit/trackit-api-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695495,"owners_count":20332626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-15T06:47:50.313Z","updated_at":"2025-03-15T06:47:50.381Z","avatar_url":"https://github.com/trackit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrackIt API Tests suite\r\n\r\nThis is the test suite for TrackIt API testing.\r\nIt runs Postman tests using the newman CLI through a nodeJS app.\r\n\r\nIt can also send Slack notifications when a test fails.\r\n\r\n## Usage\r\n\r\nThe easiest way of running the test suite is through docker.\r\n\r\n### Building the container\r\n```sh\r\ndocker build -t trackit-api-tests .\r\n```\r\n\r\n\r\n### Running the test suite\r\n\r\nThe script that runs the tests needs some informations to run the test suite properly. You can pass these infos through docker environment variables.\r\n\r\nHere is a list of the available env variables : \r\n\r\n  - **TRACKIT_API_URL** (required) : API URL to target, example : `https://api.re.trackit.io`\r\n  - **TRACKIT_USERNAME** (required) : TrackIt Username the test suite will use (usually an email address)\r\n  - **TRACKIT_PASSWORD** (required) : Password associated with the username\r\n  - **TRACKIT_RT** (default : 3000) : Maximum allowed response time in ms\r\n  - **TRACKIT_TAG_KEY** (default: 'Name'): Tag key to use for tag related endpoint tests\r\n \r\nIf you want to enable the Slack notifications you can add the two following env variables :\r\n\r\n  - **SLACK_CHANNEL** : Channel Id on which the notifications will be posted\r\n  - **SLACK_TOKEN** : Slack API Token (see Slack documentation for more details)\r\n\r\nYou can then launch the test suite :\r\n```sh\r\ndocker run -e TRACKIT_API_URL=\u003capi_url\u003e -e TRACKIT_USERNAME=\u003cusername\u003e -e TRACKIT_PASSWORD=\"\u003cpassword\u003e\" trackit-api-tests `\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrackit%2Ftrackit-api-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrackit%2Ftrackit-api-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrackit%2Ftrackit-api-tests/lists"}