"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'name==\"Eiffel Tower\"' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'name==\"Pisa Tower\";almostFull==false' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'name==\"Pisa Tower\";almostFull==false' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 3\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'name==\"Pisa Tower\"|almostFull==false' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 2\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to '(name==\"Pisa Tower\"|name==\"Eiffel Tower\");almostFull==false' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'airQualityLevel==4' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 2\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'airQualityLevel>=4;airQualityLevel<7' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'locatedIn==urn:ngsi-ld:City:Pisa' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 0\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'locatedIn==urn:ngsi-ld:City:Paris' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",
"doc":"Check that one can query several entities based on ids",
"tags":[
"5_7_2",
"e-query"
],
"setup":null,
"teardown":null,
"template":"Query several entities based on q",
"then":"then {\n the SUT sends a valid Response for the operations:\n Query Entities with Response Status Code set to 200 and\n Query Entities with Response Header: NGSILD-Results-Count equals to 1\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'GET'\n Get Entities Request: and\n Query Parameter: q set to 'locatedIn==urn:ngsi-ld:City:Pisa|locatedIn==urn:ngsi-ld:City:Paris' and\n Query Parameter: count set to '${true}' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"'\n}",