Interface RestAssuredSteps
-
- All Known Implementing Classes:
ApiSteps
public interface RestAssuredSteps
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUEST_INTERACTION_KEYstatic StringRESPONSE_INTERACTION_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default io.restassured.specification.RequestSpecificationbaseUri(String host, String apiPath)default io.restassured.specification.RequestSpecificationcreateRequest()default io.restassured.specification.RequestSpecificationcreateRequestWithBaseUriAndProxy(String host, String apiPath, String proxyHost, String proxyPort)default io.restassured.specification.RequestSpecificationcreateRequestWithJsonConfig(String host, String apiPath, String proxyHost, String proxyPort)default intdetermineStandardPortForScheme(String scheme)default io.restassured.specification.RequestSpecificationjsonConfig()default io.restassured.specification.RequestSpecificationproxy(String proxyHost, Integer proxyPort)default io.restassured.specification.RequestSpecificationproxy(String proxyHost, String proxyPort)io.restassured.specification.RequestSpecificationrecallRequest()io.restassured.response.ResponserecallResponse()Recall the current response from story interaction.default Map<String,Object>recallResponseAsMap()voidrememberRequest(io.restassured.specification.RequestSpecification requestSpecification)
-
-
-
Field Detail
-
REQUEST_INTERACTION_KEY
static final String REQUEST_INTERACTION_KEY
- See Also:
- Constant Field Values
-
RESPONSE_INTERACTION_KEY
static final String RESPONSE_INTERACTION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
recallRequest
io.restassured.specification.RequestSpecification recallRequest()
-
rememberRequest
void rememberRequest(io.restassured.specification.RequestSpecification requestSpecification)
-
recallResponse
io.restassured.response.Response recallResponse()
Recall the current response from story interaction. The response is set a RequestInteractionFilter.
-
createRequest
default io.restassured.specification.RequestSpecification createRequest()
-
createRequestWithBaseUriAndProxy
default io.restassured.specification.RequestSpecification createRequestWithBaseUriAndProxy(String host, String apiPath, String proxyHost, String proxyPort)
-
createRequestWithJsonConfig
default io.restassured.specification.RequestSpecification createRequestWithJsonConfig(String host, String apiPath, String proxyHost, String proxyPort)
-
baseUri
default io.restassured.specification.RequestSpecification baseUri(String host, String apiPath)
-
determineStandardPortForScheme
default int determineStandardPortForScheme(String scheme)
-
proxy
default io.restassured.specification.RequestSpecification proxy(String proxyHost, String proxyPort)
-
proxy
default io.restassured.specification.RequestSpecification proxy(String proxyHost, Integer proxyPort)
-
jsonConfig
default io.restassured.specification.RequestSpecification jsonConfig()
-
-