Loading
fix: test-suite bugs in D001_04_inc, D002_01_red, D017_01_*, 053_06
Four test-side fixes that were blocking the affected tests from executing against a spec-strict NGSI-LD broker, plus a catalog of known test-suite-side issues. - D001_04_inc: rename 'Generate Random Vehice Id' (typo) to the actual keyword 'Generate Random Vehicle Entity Id' from Common.resource. (doubt #30) - 053_06_01: build the context id as a full URL via Catenate of host + port + path before passing it to subsequent keywords. Section 5.13 requires context ids to be URIs (scheme://host/... ), not bare paths. (doubt #33) - D017_01_inc / D017_01_red / D017_01_exc: fix the URL join in the Purge Entities keyword (ContextInformationConsumption.resource) — add the missing '/' separator between \${final_url} and \${ENTITIES_ENDPOINT_PATH} to match every other keyword in the same file. The bug produced URLs like '/ngsi-ld/v1entities/?...' which returned 404. (doubt #65) - D002_01_red: drop the entity id from the POST stub URLs. Section 5.6.1 places Create Entity at POST /entities (with the entity id in the body), not at POST /entities/{id}; the broker forwards to the bare /entities URL, so HttpCtrl stubs registered with the id suffix never matched. (doubt #66) Drop the swbroker_known_bad tag from the five now-passing tests; this triage tag is moving into testsuite-doubts.md instead. Import testsuite-doubts.md at the repo root — a catalog of test-suite-side issues encountered while running the suite against a spec-strict broker. Resolved entries carry a Status line pointing at the fixing MR. Co-Authored-By:Claude Opus 4.7 (1M context) <noreply@anthropic.com>