public class CommonFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected URI |
apiDefUri |
protected int |
DEFAULT_BUFFER_SIZE |
protected String |
geoJSONTestingCollection |
protected io.restassured.filter.log.RequestLoggingFilter |
requestLoggingFilter |
protected io.restassured.filter.log.ResponseLoggingFilter |
responseLoggingFilter |
protected URI |
rootUri |
protected String |
testingWktPOINT |
| Constructor and Description |
|---|
CommonFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessages() |
protected String |
constructDateTimeValue(String input) |
String |
convertInputStreamToString(InputStream is) |
protected io.restassured.response.Response |
getCollectionResponse(String collectionId) |
String |
getRequest() |
String |
getResponse() |
protected io.restassured.specification.RequestSpecification |
init() |
void |
initCommonFixture(org.testng.ITestContext testContext)
Initializes the common test fixture with a client component for interacting with HTTP endpoints.
|
protected io.restassured.filter.log.RequestLoggingFilter requestLoggingFilter
protected io.restassured.filter.log.ResponseLoggingFilter responseLoggingFilter
protected URI rootUri
protected URI apiDefUri
protected String testingWktPOINT
protected String geoJSONTestingCollection
protected final int DEFAULT_BUFFER_SIZE
public void initCommonFixture(org.testng.ITestContext testContext)
testContext - The test context that contains all the information for a test run, including suite attributes.public void clearMessages()
public String getRequest()
public String getResponse()
protected io.restassured.specification.RequestSpecification init()
protected String constructDateTimeValue(String input) throws Exception
Exceptionpublic String convertInputStreamToString(InputStream is) throws IOException
IOExceptionprotected io.restassured.response.Response getCollectionResponse(String collectionId)
Copyright © 2024 Open Geospatial Consortium. All rights reserved.