public class BBoxCrsParameterInvalid extends AbstractBBoxCrs
Abstract Test 9: /conf/crs/bbox-crs-parameter-invalid
Test Purpose: Verify that the parameter bbox-crs has been implemented correctly
Requirement: /req/crs/fc-bbox-crs-valid-value
Test Method
For each spatial feature collection collectionId, send a request with the parameters bbox and bbox-crs to /collections/{collectionId}/items with a value for bbox-crs that is not included in the list of CRSs and verify that the response has status code 400.
BBOX_CRS_PARAM, BBOX_PARAM, collectionIdToCrs, collectionIdToDefaultCrs, collectionsResponsesrequestLoggingFilter, responseLoggingFilter, rootUri| Constructor and Description |
|---|
BBoxCrsParameterInvalid() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Object[]> |
collectionIdAndJson(org.testng.ITestContext testContext) |
void |
verifyBboxCrsParameterInvalid(String collectionId,
io.restassured.path.json.JsonPath collection) |
assertSameFeatures, retrieveRequiredInformationFromTestContextclearMessages, getRequest, getResponse, init, initCommonFixturepublic Iterator<Object[]> collectionIdAndJson(org.testng.ITestContext testContext)
public void verifyBboxCrsParameterInvalid(String collectionId, io.restassured.path.json.JsonPath collection)
collectionId - the id of the collection, never nullcollection - the /collection object, never nullCopyright © 2024 Open Geospatial Consortium. All rights reserved.