{"id":22685231,"url":"https://github.com/nais/testapp","last_synced_at":"2025-07-18T03:01:53.883Z","repository":{"id":60222431,"uuid":"152037661","full_name":"nais/testapp","owner":"nais","description":"utility testapp used for testing and debugging","archived":false,"fork":false,"pushed_at":"2024-04-08T07:16:36.000Z","size":242,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-08T08:31:52.354Z","etag":null,"topics":["connectivity","debugging-tool","golang","network"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nais.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-10-08T07:37:21.000Z","updated_at":"2024-04-15T08:38:28.070Z","dependencies_parsed_at":"2024-04-15T08:38:23.807Z","dependency_job_id":"863e7fd2-8e3d-457f-97cb-7c3a9f10d8ae","html_url":"https://github.com/nais/testapp","commit_stats":{"total_commits":232,"total_committers":16,"mean_commits":14.5,"dds":0.7068965517241379,"last_synced_commit":"571f48c339c1d9629f11ba7f007d009d6982e25c"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nais%2Ftestapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nais%2Ftestapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nais%2Ftestapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nais%2Ftestapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nais","download_url":"https://codeload.github.com/nais/testapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248623319,"owners_count":21135229,"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":["connectivity","debugging-tool","golang","network"],"created_at":"2024-12-09T22:13:49.079Z","updated_at":"2025-04-12T19:36:16.683Z","avatar_url":"https://github.com/nais.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testapp\n\n## services\n\nsimple go binary that exposes the following services\n\n* `/env`  (prints all environment variables)\n* `/ping(?delay=\u003cduration\u003e)` (returns \"pong\\n\" and HTTP 200. Valid durations include 10s, 6m, 9h etc, and will delay the response accordingly)\n* `/hostname` (prints hostname)\n* `/connect` (performs a HTTP GET to the URL configured in `$CONNECT_URL` and prints the result. Ignores certs)\n* `/loginfo` (logs \"info log entry from testapp\" with level `info`)\n* `/logerror` (logs \"error log entry from testapp\" with level `error`)\n* `/logdebug` (logs \"debug log entry from testapp\" with level `debug`)\n\n## binaries\nthe docker container has the following binaries\n\n`nc`, `curl`, `dig`, `nmap`, `socat`, [hey](https://github.com/rakyll/hey), `vim`, `tcpdump`, `traceroute`, `strace`, `iperf`, `telnet`\n\n## options\n```\n      --bind-address string          ip:port where http requests are served (default \":8080\")\n      --connect-url string           URL to connect to with /connect (default \"https://google.com\")\n      --ping-response string         what to respond when pinged (default \"pong\\n\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnais%2Ftestapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnais%2Ftestapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnais%2Ftestapp/lists"}