{"id":26198636,"url":"https://github.com/christian-vorhemus/dataverse-loadtest","last_synced_at":"2026-04-23T06:32:58.253Z","repository":{"id":73562643,"uuid":"503032555","full_name":"christian-vorhemus/dataverse-loadtest","owner":"christian-vorhemus","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-13T19:11:09.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T18:49:40.405Z","etag":null,"topics":["dataverse","dataverse-api","dynamics-365","power-apps","power-platform"],"latest_commit_sha":null,"homepage":"","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/christian-vorhemus.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-13T16:26:14.000Z","updated_at":"2022-08-08T11:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"a696b7f1-f270-4e80-99aa-239e24d96425","html_url":"https://github.com/christian-vorhemus/dataverse-loadtest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christian-vorhemus/dataverse-loadtest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-vorhemus%2Fdataverse-loadtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-vorhemus%2Fdataverse-loadtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-vorhemus%2Fdataverse-loadtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-vorhemus%2Fdataverse-loadtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christian-vorhemus","download_url":"https://codeload.github.com/christian-vorhemus/dataverse-loadtest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-vorhemus%2Fdataverse-loadtest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32169657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["dataverse","dataverse-api","dynamics-365","power-apps","power-platform"],"created_at":"2025-03-12T02:53:40.200Z","updated_at":"2026-04-23T06:32:58.243Z","avatar_url":"https://github.com/christian-vorhemus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dataverse load test\nThis repository contains a Python script which can used for loading a Dataverse table with dummy entries for performance testing. It does so by leveraging the [Dataverse Web API](https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/overview).\n\n# Prerequisites\n- A Python 3 runtime.\n- A Power Platform environment with the permissions to create and modify Dataverse tables.\n- An AAD service principal is needed with `Dynamics CRM user_impersonation` permissions. Switch to the AAD App registrations tab and select \"New registration\". Name your service principal and note down the tenant and client ID. Go to \"Manifest\" and set `\"allowPublicClient\": true`. Next go to \"Certificates \u0026 secrets\" and set a secret - note it down. Finally go to \"API permissions\", click \"Add permission\", search for \"Dynamics CRM\" and add a delegated \"user_impersonation\" permission.\u003cp\u003e\u003cbr/\u003e\n\u003cimg src=\"./assets/aad-sp.png\"\u003e\n\u003c/p\u003e\n\n# Usage\nAdd \"--help\" to get more information about arguments, for example\n```console\nuser@com:~$ python dataverse_loadtest.py create dataversetable --help\n```\nreturns additional information on how to create new Dataverse tables.\n\n## Create a table in Dataverse\nReplace the placeholders below with your data (\"orgcd1abe55\" is the Dynamics instance you must adopt to your needs, \"cr876_\" is the schema prefix used for the table and all columns) and run the script the following command:\n\n```console\nuser@com:~$ python dataverse_loadtest.py create dataversetable -t \u003cAAD tenant\u003e -i \u003cAAD Client ID\u003e -p \u003cAAD Client secret\u003e -o \"orgcd1abe55\" -s \"cr876_\" -n \u003cTable Name\u003e\n```\n\nThis will create a table named `\u003cTable Name\u003e` in Dataverse.\n\n## Fill the table with data\nReplace the placeholders below with your data to fill the previously created table with data. If you run the subsequent command, 10 rows will be added containing dummy data.\n```console\nuser@com:~$ python dataverse_loadtest.py fill -t \u003cAAD tenant\u003e -i \u003cAAD Client ID\u003e -p \u003cAAD Client secret\u003e -o \"orgcd1abe55\" -s \"cr876_\" -n \u003cTable Name\u003e --assignee_email \"youremail@yourorg.com\" --no_of_entries 10\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristian-vorhemus%2Fdataverse-loadtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristian-vorhemus%2Fdataverse-loadtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristian-vorhemus%2Fdataverse-loadtest/lists"}