{"id":22374873,"url":"https://github.com/qubitproducts/battlesauce","last_synced_at":"2025-07-22T13:32:47.729Z","repository":{"id":57144369,"uuid":"65036385","full_name":"QubitProducts/battlesauce","owner":"QubitProducts","description":"battle test your rest apis with saucelabs","archived":false,"fork":false,"pushed_at":"2016-08-06T16:17:34.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-27T11:02:26.767Z","etag":null,"topics":["ceh","implement"],"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/QubitProducts.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":"2016-08-05T17:20:30.000Z","updated_at":"2023-06-02T12:06:17.000Z","dependencies_parsed_at":"2022-09-06T08:53:40.329Z","dependency_job_id":null,"html_url":"https://github.com/QubitProducts/battlesauce","commit_stats":null,"previous_names":["qubitdigital/battlesauce"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/QubitProducts/battlesauce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fbattlesauce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fbattlesauce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fbattlesauce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fbattlesauce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QubitProducts","download_url":"https://codeload.github.com/QubitProducts/battlesauce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fbattlesauce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266505958,"owners_count":23940019,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ceh","implement"],"created_at":"2024-12-04T21:18:49.198Z","updated_at":"2025-07-22T13:32:47.712Z","avatar_url":"https://github.com/QubitProducts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚔ battlesauce\nbattle test your rest apis with saucelabs\n\n1. define a spec for your api\n2. run against a bunch of browsers\n3. profit\n\n# motivation\nuseful for catching issues e.g. with incorrect cross domain header configurations or bad JSON formatting\n\n# installation\n```\nnpm install -g battlesauce\n```\n\n# usage\n```\nexport SAUCE_USERNAME='jimbob'\nexport SAUCE_ACCESS_KEY='123456789'\nbattletest my-api-spec.json\n\n# note: if you omit the sauce credentials the test will just be run against your local chrome instance\n```\n\n# spec format\n```\n[{\n  \"describe\": \"The thing getter API\",\n  \"url\": \"http://echo.jsontest.com/key/value/one/two\",\n  \"method\": \"get\",\n  \"data\": {},\n  \"response\": {\n    \"json\": {\n      \"one\": \"two\"\n    }\n  }\n}, {\n  \"describe\": \"The thing getter API status endpoint\",\n  \"url\": \"http://echo.jsontest.com/status\",\n  \"method\": \"get\",\n  \"data\": {},\n  \"response\": {\n    \"text\": \"ok\"\n  }\n}]\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fbattlesauce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubitproducts%2Fbattlesauce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fbattlesauce/lists"}