"doc":"Check that you can create a batch of entities where two have the same id",
"tags":[
"5_6_7",
"be-create",
"since_v1.5.1"
],
"setup":null,
"teardown":"Delete Entities",
"template":null,
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Create Entities with Response Status Code set to 207 and\n Batch Create Entities with Response body containing batch operation result set to '${expected_batch_operation_result}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entityOperations/create'\n method set to 'POST'\n Request Header['Content-Type'] set to '' and\n payload set to a list of entities to be created\n}",
"doc":"Check that you can upsert a batch of where two have the same id",
"tags":[
"5_6_8",
"be-upsert",
"since_v1.5.1"
],
"setup":null,
"teardown":"Delete Entities",
"template":null,
"then":"then {\n the SUT sends a valid Response for the operations:\n Batch Upsert Entities with Response Status Code set to 201 and\n Batch Upsert Entities with Response Body set to an array of created entities ids\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entityOperations/upsert?options=${update_option}'\n method set to 'POST'\n Request batch upsert operation over entity from filename '@{entities_to_be_upserted}' with update_option set to 'replace' and Content-Type set to 'application/ld+json'\n}",