"doc":"Check that you can retrieve a detailed representation of a specified NGSI-LD entity type",
"doc":"Check that one can retrieve a detailed representation of a specified NGSI-LD entity type",
"tags":[
"tags":[
"5_7_7",
"5_7_7",
"ed-type"
"ed-type"
],
],
"setup":null,
"setup":null,
"teardown":null,
"teardown":null,
"template":null,
"template":"Retrieve Detailed Representation Of Available Entity Type",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Entity Type with Response Status Code set to 200 and\n Retrieve Entity Type with Response body containing an Entity Type Info with expectation body set to file 'types/expectations/entity-type-info-024-01.json' and response body to be checked set to '${response.json()}'\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Entity Type with Response Status Code set to 200 and\n Retrieve Entity Type with Response body containing an Entity Type Info with expectation body set to file 'types/expectations/entity-type-info-024-01.json' and response body to be checked set to '${response.json()}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/types/{type}'\n method set to 'GET'\n Retrieve Entity Type, with type set to 'Building', with Header['Link'] containing 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/types/{type}'\n method set to 'GET'\n Retrieve Entity Type, with type set to 'Building', with Header['Link'] containing 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld'\n}",
"doc":"Check that one can retrieve a detailed representation of a specified NGSI-LD entity type",
"tags":[
"5_7_7",
"ed-type"
],
"setup":null,
"teardown":null,
"template":"Retrieve Detailed Representation Of Available Entity Type",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Entity Type with Response Status Code set to 200 and\n Retrieve Entity Type with Response body containing an Entity Type Info with expectation body set to file 'types/expectations/entity-type-info-024-01.json' and response body to be checked set to '${response.json()}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/types/{type}'\n method set to 'GET'\n Retrieve Entity Type, with type set to 'https%3A%2F%2Fngsi-ld-test-suite%2Fcontext%23Building', with Header['Link'] containing 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld'\n}",
"doc":"Check that you can retrieve a list with a detailed representation of NGSI-LD attributes",
"doc":"Check that one can retrieve a list with a detailed representation of NGSI-LD attributes",
"tags":[
"tags":[
"5_7_10",
"5_7_10",
"ed-attr"
"ed-attr"
],
],
"setup":null,
"setup":null,
"teardown":null,
"teardown":null,
"template":null,
"template":"Retrieve Detailed Representation Of Available Attribute",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Attribute with Response Status Code set to 200 and\n Retrieve Attribute with Response body containing an array of attributes\n * with the expected payload defined in the file 'types/expectations/attribute-027-01.json'\n * and response body set to '${response.json()}'\n}",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Attribute with Response Status Code set to 200 and\n Retrieve Attribute with Response body containing an array of attributes\n * with the expected payload defined in the file 'types/expectations/attribute-027-01.json'\n * and response body set to '${response.json()}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/attributes/{attribute_name}'\n method set to 'GET'\n Retrieve Attribute with attributeName set to 'airQualityLevel'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/attributes/{attribute_name}'\n method set to 'GET'\n Retrieve Attribute with attributeName set to '${attributeName}'\n}",
"doc":"Check that one can retrieve a list with a detailed representation of NGSI-LD attributes",
"tags":[
"5_7_10",
"ed-attr"
],
"setup":null,
"teardown":null,
"template":"Retrieve Detailed Representation Of Available Attribute",
"then":"then {\n the SUT sends a valid Response for the operations:\n Retrieve Attribute with Response Status Code set to 200 and\n Retrieve Attribute with Response body containing an array of attributes\n * with the expected payload defined in the file 'types/expectations/attribute-027-01.json'\n * and response body set to '${response.json()}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/attributes/{attribute_name}'\n method set to 'GET'\n Retrieve Attribute with attributeName set to '${attributeName}'\n}",