Skip to content
021_13.json 3.94 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
  "tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13",
  "test_objective": "Check that you can query the temporal evolution of entities using the entityOperations method",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.7.4",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_7_4",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT in the \"initial state\"\n}",
  "test_cases": [
    {
      "name": "021_13_01 After",
      "permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13_01",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can query the temporal evolution of entities using the entityOperations method",
lopezaguilar's avatar
lopezaguilar committed
      "tags": [
        "5_7_4",
        "te-query"
      ],
      "setup": "Setup Initial Entities",
      "teardown": "Delete Initial Entities",
      "template": "Query the temporal evolution of entities using the entityOperations method",
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Query Temporal Representation Of Entities Via Post with Response Status Code set to 200     and\n        Query Temporal Representation Of Entities Via Post with Request response body containing a list that contains Entity Temporal Elements\n            compared with file 'vehicles-temporal-representation-021-13-01-expectation.jsonld'\n            and using the list of entity ids define in '${temporal_entities_representation_ids}'\n}",
lopezaguilar's avatar
lopezaguilar committed
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/temporal/entityOperations/query'\n        method set to 'POST'\n        Query Temporal Representation of Entities Via POST Request: and\n    Query Parameter: query_file_name set to 'entity-operations-after-query.jsonld' 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\"' and\n    Query Parameter: content_type set to 'application/json'\n}",
      "http_verb": "POST",
      "endpoint": "temporal/entityOperations/query"
    },
    {
lopezaguilar's avatar
lopezaguilar committed
      "name": "021_13_02 Before",
      "permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13_02",
      "doc": "Check that you can query the temporal evolution of entities using the entityOperations method",
lopezaguilar's avatar
lopezaguilar committed
      "tags": [
        "5_7_4",
        "te-query"
      ],
      "setup": "Setup Initial Entities",
      "teardown": "Delete Initial Entities",
      "template": "Query the temporal evolution of entities using the entityOperations method",
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Query Temporal Representation Of Entities Via Post with Response Status Code set to 200     and\n        Query Temporal Representation Of Entities Via Post with Request response body containing a list that contains Entity Temporal Elements\n            compared with file 'vehicles-temporal-representation-021-13-02-expectation.jsonld'\n            and using the list of entity ids define in '${temporal_entities_representation_ids}'\n}",
lopezaguilar's avatar
lopezaguilar committed
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/temporal/entityOperations/query'\n        method set to 'POST'\n        Query Temporal Representation of Entities Via POST Request: and\n    Query Parameter: query_file_name set to 'entity-operations-before-query.jsonld' 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\"' and\n    Query Parameter: content_type set to 'application/json'\n}",
      "http_verb": "POST",
      "endpoint": "temporal/entityOperations/query"
    }
  ],
  "permutations": [
lopezaguilar's avatar
lopezaguilar committed
  ],
  "robotpath": "ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities",
  "robotfile": "021_13"
}