Newer
Older
"test_objective": "Check that you can query a list of subscriptions",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.8.4",
"config_id": "",
"parent_release": "v1.3.1",
"pics_selection": "PICS_5_8_4",
"keywords": [
"Setup Initial Subscriptions",
"Delete Initial Subscriptions"
],
"teardown": "Delete Initial Subscriptions",
"initial_condition": "with {\n the SUT in the \"initial state\"\n}",
"test_cases": [
{
"name": "031_01_01 Query Subscriptions",
"doc": "Check that you can query a list of subscriptions",
"tags": [
"5_8_4",
"sub-query"
],
"setup": null,
"teardown": null,
"template": null,
"then": "then {\n the SUT sends a valid Response for the operations:\n Query Subscriptions with Response Status Code set to 200 and\n Query Subscriptions with Response containing:\n * file set to 'subscriptions/expectations/subscriptions-031-01-expectation.json'\n * id set to '${subscription_ids}'\n * response set to '${response.json()}'\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/subscriptions/'\n method set to 'GET'\n Query Subscription Request with data: and\n Query Parameter: context set to 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld'\n}",
"http_verb": "GET",
"endpoint": "subscriptions/"
}
],
"permutations": [],
"robotpath": "ContextInformation/Subscription/QuerySubscriptions",
"robotfile": "031_01"
}