{"id":20777853,"url":"https://github.com/fiware/ngsi-ld_testsuite","last_synced_at":"2025-10-16T21:09:14.533Z","repository":{"id":36563402,"uuid":"144573822","full_name":"FIWARE/NGSI-LD_TestSuite","owner":"FIWARE","description":":bar_chart: This repository contains tests to verify compliance of NGSI-LD implementations","archived":false,"fork":false,"pushed_at":"2023-01-04T21:36:53.000Z","size":1275,"stargazers_count":3,"open_issues_count":13,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-10T16:02:16.001Z","etag":null,"topics":["contextual-data","etsi","jest","ngsi-ld","standard","tests","testsuite"],"latest_commit_sha":null,"homepage":"https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.02.01_60/gs_CIM009v010201p.pdf","language":"JavaScript","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/FIWARE.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}},"created_at":"2018-08-13T12:00:16.000Z","updated_at":"2021-08-26T10:32:00.000Z","dependencies_parsed_at":"2023-01-17T02:45:18.822Z","dependency_job_id":null,"html_url":"https://github.com/FIWARE/NGSI-LD_TestSuite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FIWARE/NGSI-LD_TestSuite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2FNGSI-LD_TestSuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2FNGSI-LD_TestSuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2FNGSI-LD_TestSuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2FNGSI-LD_TestSuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FIWARE","download_url":"https://codeload.github.com/FIWARE/NGSI-LD_TestSuite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2FNGSI-LD_TestSuite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279240360,"owners_count":26132336,"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-16T02:00:06.019Z","response_time":53,"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":["contextual-data","etsi","jest","ngsi-ld","standard","tests","testsuite"],"created_at":"2024-11-17T13:17:46.535Z","updated_at":"2025-10-16T21:09:14.495Z","avatar_url":"https://github.com/FIWARE.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NGSI-LD Test Suite\n\nThis project is intended to define a test suite for [NGSI-LD](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.03.01_60/gs_cim009v010301p.pdf),\nthe evolution of NGSIv2 for supporting Linked Data based on JSON-LD.\n\n[![License: MIT](https://img.shields.io/github/license/FIWARE/NGSI-LD_TestSuite.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/FIWARE/NGSI-LD_TestSuite/workflows/CI/badge.svg)](https://github.com/FIWARE/NGSI-LD_TestSuite/actions?query=workflow%3ACI)\n[![Build badge](https://img.shields.io/travis/FIWARE/NGSI-LD_TestSuite.svg?branch=master \"Travis build status\")](https://travis-ci.org/FIWARE/NGSI-LD_TestSuite/?branch=master)\n[![NGSI-LD badge](https://img.shields.io/badge/NGSI-LD-red.svg)](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.01.01_60/gs_CIM009v010101p.pdf)\n\n## Test Summary\n\n* [contextProvision. Section 5.6](./)\n* [contextConsumption. Section 5.7](./contextConsumption)\n* [contextSubscription. Section 5.8](./contextSubscription)\n* [contextSourceRegistration. Section 5.9](./contextSourceRegistration)\n* [batchOperations. Section 5.6](./batchOperations)\n\n## How to execute the tests\n\n### Prerequisites\n\n* node version 10.17, docker-compose version 1.26\n\n\n```console\nnpm install\n# Example: http://localhost:1026 for Orion, http://localhost:9090 for Scorpio\nexport TEST_ENDPOINT=\u003cYour NGSI-LD Broker endpoint\u003e\n# Example: http://localhost:3000\nexport ACC_ENDPOINT=\u003cThe accumulator endpoint\u003e\n# Example: http://host.docker.internal:3000/acc\nexport NOTIFY_ENDPOINT=\u003cThe notification endpoint\u003e\n\n# Start the accumulator and services under test - e.g. to start the docker-compose file\n./services [orion|scorpio]\n\n# Run the test suite\nnpm test\n```\n\n-  the test endpoint is `http://localhost:1026` By default\n-  the accumulator endpoint is `http://localhost:8085` By default\n-  the notification endpoint is `http://accumulator:8085/acc` By default\n\nPlease note, that if you are running the NGSI-LD accumulator endpoint locally,\nit can be referred to as  `http://host.docker.internal:\u003cport\u003e/acc`, so that  other Docker containers can get access to the accumulator server running on the host.\n\n\u003e **Note:** To run the accumulator locally you can start the service using\n\u003e ```console\n\u003e export WEB_APP_PORT=8085\n\u003e node accumulator/accumulator.js\n\u003e ```\n\n## See also\n\n* https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/tree/master/schema\n* https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/tree/master/examples\n* https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/tree/master/spec/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Fngsi-ld_testsuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiware%2Fngsi-ld_testsuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Fngsi-ld_testsuite/lists"}