{"id":16212514,"url":"https://github.com/p4irin/pysipp","last_synced_at":"2026-04-28T11:02:10.440Z","repository":{"id":257820406,"uuid":"691604802","full_name":"p4irin/pysipp","owner":"p4irin","description":"Run/automate SIPp scenarios from Python using pysipp with unittest or pytest. Package/distribute your tests in a Docker image.","archived":false,"fork":false,"pushed_at":"2023-09-14T14:11:45.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T21:49:24.864Z","etag":null,"topics":["docker","pysipp","python","sip","sipp","testing"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/p4irin.png","metadata":{},"created_at":"2023-09-14T14:11:43.000Z","updated_at":"2023-10-17T08:28:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf0278c5-1039-42f3-8f96-684bea44a380","html_url":"https://github.com/p4irin/pysipp","commit_stats":null,"previous_names":["p4irin/pysipp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/p4irin/pysipp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p4irin%2Fpysipp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p4irin%2Fpysipp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p4irin%2Fpysipp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p4irin%2Fpysipp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p4irin","download_url":"https://codeload.github.com/p4irin/pysipp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p4irin%2Fpysipp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"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":["docker","pysipp","python","sip","sipp","testing"],"created_at":"2024-10-10T10:52:48.727Z","updated_at":"2026-04-28T11:02:10.432Z","avatar_url":"https://github.com/p4irin.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python, pysipp and SIPp Docker image\n\nRun/automate SIPp scenarios from Python using [pysipp](https://github.com/SIPp/pysipp) with [unittest](https://docs.python.org/3.10/library/unittest.html) or [pytest](https://docs.pytest.org/en/7.4.x/). Package/distribute your tests in a Docker image.\n\n## Tags\n\n* latest: Python 3.10, pysipp 0.1.0\n* v0.1.0: Python 3.10, pysipp 0.1.0\n\n[SIPp image tags](https://hub.docker.com/r/p4irin/sipp)\n\n## References\n\n* [Dockerfile](https://github.com/p4irin/pysipp)\n* [pysipp](https://github.com/SIPp/pysipp)\n* [unittest](https://docs.python.org/3.10/library/unittest.html)\n* [pytest](https://docs.pytest.org/en/7.4.x/)\n* [SIPp](https://hub.docker.com/r/p4irin/sipp)\n\n## Usage examples\n\nTo run [pysipp](https://github.com/SIPp/pysipp) interactively and play around with it, spin up a container using [this](https://hub.docker.com/r/p4irin/pysipp) image:\n\n```bash\n$ docker run -it --rm --network host p4irin/pysipp\n$\n```\n\nThis will pull the image from Docker Hub and drop you in a Python REPL\n\n```Python\nPython 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e\n```\n\nImport [pysipp](https://github.com/SIPp/pysipp)\n\n```Python\n\u003e\u003e\u003e import pysipp\n\u003e\u003e\u003e pysipp.__author__\n'Tyler Goodlet (tgoodlet@gmail.com)'\n\u003e\u003e\u003e \n```\n\nRunning the default _uac --calls--\u003e uas_ scenario\n\n```Python\n\u003e\u003e\u003e uas = pysipp.server(srcaddr=('localhost', 5060))\n\u003e\u003e\u003e uac = pysipp.client(destaddr=uas.srcaddr)\n\u003e\u003e\u003e uas(block=False)\n\u003e\u003e\u003e uac_runner = uac()\n```\n\nTo see the default options used to run SIPp\n\n```Python\n\u003e\u003e\u003e uac_runner.get()\nOrderedDict([(\"'/usr/local/bin/sipp' -sn 'uac' -recv_timeout '5000' -r '1' -l '1' -m '1' -log_file '/tmp/uac_log_file' -screen_file '/tmp/uac_screen_file' -trace_logs -trace_screen 'localhost':'5060'\", \u003cPopen: returncode: 0 args: ['/usr/local/bin/sipp', '-sn', 'uac', '-recv_tim...\u003e)])\n```\n\nTo see the _log_ and/or _screen_ files generated, setup a _bash_ session with the container\n\n```bash\n$ docker exec -it \u003cCONTAINER ID\u003e bash\nroot@host:/tests#\nroot@host:/tests# ls -l /tmp/\ntotal 16\n-rw-r--r-- 1 root root 4397 Jul 28 12:56 uac_screen_file\n-rw-r--r-- 1 root root 4150 Jul 28 12:56 uas_screen_file\nroot@host:/tests#\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp4irin%2Fpysipp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp4irin%2Fpysipp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp4irin%2Fpysipp/lists"}