*** Settings *** Documentation Check that you cannot create a subscription with an invalid/empty id Resource ${EXECDIR}/resources/ApiUtils.resource Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Test Template Create Subscription With Invalid/Empty Id *** Variables *** ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld *** Test Cases *** ID 031_03_01_InvalidId invalidId 031_03_02_EmptyId ${EMPTY} *** Keywords *** Create Subscription With Invalid/Empty Id [Arguments] ${subscription_id} [Documentation] Check that you cannot create a subscription with an invalid/empty id [Tags] sub-create 5_8_1 ${response}= Create Subscription ${subscription_id} ${subscription_payload_file_path} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 400 ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} [Teardown] Delete Subscription ${subscription_id}