Loading TP/NGSI-LD/CommonBehaviours/044_02.robot +3 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,9 @@ ${content_type}= application/json ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=*/* ${response}= Retrieve Subscription ... id=${id} ... accept=*/* Check Response Status Code 200 ${response.status_code} Check Response Headers Containing Content-Type set to ${content_type} ${response.headers} Check Response Headers Link Not Empty ${response.headers} Loading TP/NGSI-LD/CommonBehaviours/044_04.robot +3 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,9 @@ ${subscription_filename}= csourceSubscriptions/subscription-sample.jsonld ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=${accept} ${response}= Retrieve Subscription ... id=${id} ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Subscription ${id} Loading TP/NGSI-LD/CommonBehaviours/044_05.robot +3 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,9 @@ ${subscription_filename}= csourceSubscriptions/subscription-sample.jsonld ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=${accept} ${response}= Retrieve Subscription ... id=${id} ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Subscription ${id} Loading TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ ${subscription_expectation_file_path}= subscriptions/expectations/subscript ... ${CONTENT_TYPE_LD_JSON} ${expected_subscription}= Load Test Sample ${subscription_expectation_file_path} ${subscription_id} ${response}= Retrieve Subscription ... ${subscription_id} ... id=${subscription_id} ... accept=${CONTENT_TYPE_LD_JSON} ... context=${ngsild_test_suite_context} Check Created Resource Set To ${expected_subscription} ${response.json()} Loading TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -8,9 +8,9 @@ Test Template Create Subscription With Invalid Request *** Test Cases *** FILENAME EXPECTED_STATUS 028_02_01_InvalidJson 028_02_01 InvalidJson subscription-invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} 028_02_02_EmptyJson 028_02_02 EmptyJson subscription-empty-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} Loading Loading
TP/NGSI-LD/CommonBehaviours/044_02.robot +3 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,9 @@ ${content_type}= application/json ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=*/* ${response}= Retrieve Subscription ... id=${id} ... accept=*/* Check Response Status Code 200 ${response.status_code} Check Response Headers Containing Content-Type set to ${content_type} ${response.headers} Check Response Headers Link Not Empty ${response.headers} Loading
TP/NGSI-LD/CommonBehaviours/044_04.robot +3 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,9 @@ ${subscription_filename}= csourceSubscriptions/subscription-sample.jsonld ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=${accept} ${response}= Retrieve Subscription ... id=${id} ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Subscription ${id} Loading
TP/NGSI-LD/CommonBehaviours/044_05.robot +3 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,9 @@ ${subscription_filename}= csourceSubscriptions/subscription-sample.jsonld ${id}= Generate Random Entity Id ${subscription_id_prefix} ${response}= Create Subscription ${id} ${subscription_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response.status_code} ${response}= Retrieve Subscription ${id} accept=${accept} ${response}= Retrieve Subscription ... id=${id} ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Subscription ${id} Loading
TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ ${subscription_expectation_file_path}= subscriptions/expectations/subscript ... ${CONTENT_TYPE_LD_JSON} ${expected_subscription}= Load Test Sample ${subscription_expectation_file_path} ${subscription_id} ${response}= Retrieve Subscription ... ${subscription_id} ... id=${subscription_id} ... accept=${CONTENT_TYPE_LD_JSON} ... context=${ngsild_test_suite_context} Check Created Resource Set To ${expected_subscription} ${response.json()} Loading
TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -8,9 +8,9 @@ Test Template Create Subscription With Invalid Request *** Test Cases *** FILENAME EXPECTED_STATUS 028_02_01_InvalidJson 028_02_01 InvalidJson subscription-invalid-json-sample.jsonld ${ERROR_TYPE_INVALID_REQUEST} 028_02_02_EmptyJson 028_02_02 EmptyJson subscription-empty-sample.jsonld ${ERROR_TYPE_BAD_REQUEST_DATA} Loading