public class CommonFixture extends Object
Modifier and Type | Field and Description |
---|---|
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 |
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
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.