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, collectionsResponses
requestLoggingFilter, 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, retrieveRequiredInformationFromTestContext
clearMessages, getRequest, getResponse, init, initCommonFixture
public 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 null
collection
- the /collection object, never null
Copyright © 2024 Open Geospatial Consortium. All rights reserved.