{"id":18578859,"url":"https://github.com/magenta-aps/datafordeler-postman","last_synced_at":"2026-05-02T23:37:13.175Z","repository":{"id":70343182,"uuid":"105537991","full_name":"magenta-aps/datafordeler-postman","owner":"magenta-aps","description":"Postman test-suite af datafordeler funktionalitet.","archived":false,"fork":false,"pushed_at":"2017-10-19T09:36:51.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-01T18:54:56.545Z","etag":null,"topics":["greenland","nodejs","postman","postman-collection","saml2"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magenta-aps.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}},"created_at":"2017-10-02T13:34:26.000Z","updated_at":"2017-10-06T12:08:30.000Z","dependencies_parsed_at":"2023-05-13T02:45:22.020Z","dependency_job_id":null,"html_url":"https://github.com/magenta-aps/datafordeler-postman","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.41666666666666663","last_synced_commit":"bd980e4472c607c3001f6b4daeb06e2001116684"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magenta-aps/datafordeler-postman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magenta-aps%2Fdatafordeler-postman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magenta-aps%2Fdatafordeler-postman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magenta-aps%2Fdatafordeler-postman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magenta-aps%2Fdatafordeler-postman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magenta-aps","download_url":"https://codeload.github.com/magenta-aps/datafordeler-postman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magenta-aps%2Fdatafordeler-postman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002128,"owners_count":26083307,"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-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["greenland","nodejs","postman","postman-collection","saml2"],"created_at":"2024-11-06T23:38:02.980Z","updated_at":"2025-10-09T22:12:01.767Z","avatar_url":"https://github.com/magenta-aps.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Postman Test-suite\n==================\n\nTests the Datafordeler Secure Token Service, and Datafordeler Services using\n[Postman](https://www.getpostman.com/).\n\n# Note\nDue to limitations in Postman, some tests are handled seperately, namely the \nclient authentification certificate tests for the STS. For more information \nabout how these and handled, and how to run these tests, please refer to \n[STS-tests/README.md](STS-tests/README.md).\n\nAdditionally the test of SAML IdP has not been automated, as it is not easily\nunit-tested, but rather require a full-scale integration test. It has however\nbeen manually tested thoroughly, as it is used in-house.\n\n# Usage\nTo run the test-suite, first Postman must be installed using the above link.\n\nOnce Postman has been installed, the test-suite can be imported using the\n'Import dialogbox' (Ctrl+O), picking 'Import Folder' and importing the folder\ncontaining this `README.md` file.\n\nAt this point the DAFO collection should show up, and all tests should be\nloaded. The only thing left to do, is picking the 'Datafordeler' environment in\nthe top-right, and adjusting it, with the passwords for the cpr and cvr users.\n\n## Running the tests\nThe tests can be run the Postman 'Collection Runner', for details, see the\n[Postman documentation](https://www.getpostman.com/docs/postman/collection_runs/starting_a_collection_run).\n\n# Technical details\n\n## Libraries:\n\nTo validate SAML tokens a library is included, however as Postman\n[does not support loading libraries directly](https://github.com/postmanlabs/postman-app-support/issues/1180),\nloading is done using `eval`, from a global variable (see `saml_decode` in\n[`globals.postman_globals.json`](globals.postman_globals.json)).\n\nThe library is included in the `saml-library` subfolder.\n\n## Execution order:\n\nAs postman executes tests in lexicographical order, we have prefixed tests with\na section number, to ensure tests are run as we please. This was suggested \n[here](https://stackoverflow.com/questions/43336057/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagenta-aps%2Fdatafordeler-postman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagenta-aps%2Fdatafordeler-postman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagenta-aps%2Fdatafordeler-postman/lists"}