feat(head): add TCs for HEAD errors, the GET's 400 or 404 and no body (061_02)

New Test Cases for the errors of HEAD (TS 104-176 clause 5): a HEAD request that the GET would answer with an error gets the same status code, and no body. Stacked on the HEAD MR (feat/head-success), for its Request With HEAD keyword.

  • 061_02: 400 for /entities/ and /temporal/entities/ without any query parameter, and for /csourceRegistrations/ without entity types and attribute names; 400 for an invalid id and 404 for an unknown one on /entities/{entityId}, /subscriptions/{subscriptionId}, /temporal/entities/{entityId}, /csourceRegistrations/{registrationId}, /csourceSubscriptions/{subscriptionId}; 404 on /types/{type}, /attributes/{attrId} and /jsonldContexts/{contextId} for an unknown one

16 Test Cases in TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyHEAD/061_02.robot, one template, all tagged since_ts104_v1.1.1.

Doc unit tests 12/12, statisticsDocumentationData.py 0 of 578 failed, robocop format --check clean, no new unused test data. Against coraine: 16/16.

MR 3 of the plan: https://famzang.com/ttf/ngsi-ld-suite-plan.html

Merge request reports

Loading
Loading