public class CommonFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
missing_api_definition_error_message |
protected String |
missing_landing_page_error_message |
protected io.restassured.filter.log.RequestLoggingFilter |
requestLoggingFilter |
protected io.restassured.filter.log.ResponseLoggingFilter |
responseLoggingFilter |
protected URI |
rootUri |
| Constructor and Description |
|---|
CommonFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessages() |
String |
formatLinkURI(String scheme,
String host,
String hrefLink) |
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 final String missing_landing_page_error_message
protected final String missing_api_definition_error_message
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()
Copyright © 2024 Open Geospatial Consortium. All rights reserved.