DocumentationIf the count parameter is set to true the special HTTP header NGSILD-Results-Count is set in the response and it must contain the total number of matching results.
019_07_01 Check that the total number of matching results is returned if the count parameter is set to true.
[Documentation]If the count parameter is set to true the special HTTP header NGSILD-Results-Count is set in the response and it must contain the total number of matching results.
[Tags]e-query6_3_13
${first_entity_id}=Generate Random Entity Id${building_id_prefix}
Set Suite Variable${first_entity_id}
${create_response1}=Create Entity Selecting Content Type
...${first_entity_filename}
...${first_entity_id}
...${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${create_response1.status_code}
${second_entity_id}=Generate Random Entity Id${building_id_prefix}
Set Suite Variable${second_entity_id}
${create_response2}=Create Entity Selecting Content Type
...${second_entity_filename}
...${second_entity_id}
...${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${create_response2.status_code}
${response}=Query Entities
...entity_types=${entity_type}
...count=${True}
Check Response Status Code200${response.status_code}