Package | Description |
---|---|
io.restassured.authentication | |
io.restassured.config |
Modifier and Type | Method and Description |
---|---|
LogConfig |
FormAuthConfig.getLogConfig() |
Modifier and Type | Method and Description |
---|---|
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogConfig logConfig)
Enables logging with log level
LogDetail.ALL of the request made to authenticate using
form authentication using the specified LogConfig . |
FormAuthConfig |
FormAuthConfig.withLoggingEnabled(LogDetail logDetail,
LogConfig logConfig)
Enables logging with the supplied log detail of the request made to authenticate using form authentication using the
specified
LogConfig . |
Modifier and Type | Method and Description |
---|---|
LogConfig |
LogConfig.and()
Syntactic sugar.
|
LogConfig |
LogConfig.defaultStream(PrintStream printStream)
Specify a new default stream to the print to.
|
LogConfig |
LogConfig.enableLoggingOfRequestAndResponseIfValidationFails()
Enable logging of both the request and the response if REST Assureds test validation fails.
|
LogConfig |
LogConfig.enableLoggingOfRequestAndResponseIfValidationFails(LogDetail logDetail)
Enable logging of both the request and the response if REST Assureds test validation fails with the specified log detail
|
LogConfig |
LogConfig.enablePrettyPrinting(boolean shouldEnable)
Specify a whether or not to enable pretty printing by default.
|
LogConfig |
RestAssuredConfig.getLogConfig() |
static LogConfig |
LogConfig.logConfig() |
LogConfig |
LogConfig.urlEncodeRequestUri(boolean urlEncodeRequestUri)
Instruct REST Assured whether or not to URL encode the request URI when it's presented in the request specification log.
|
Modifier and Type | Method and Description |
---|---|
RestAssuredConfig |
RestAssuredConfig.logConfig(LogConfig logConfig)
Set the Log config.
|
Constructor and Description |
---|
RestAssuredConfig(RedirectConfig redirectConfig,
HttpClientConfig httpClientConfig,
LogConfig logConfig,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
SessionConfig sessionConfig,
ObjectMapperConfig objectMapperConfig,
ConnectionConfig connectionConfig,
JsonConfig jsonConfig,
XmlConfig xmlConfig,
SSLConfig sslConfig,
MatcherConfig matcherConfig,
HeaderConfig headerConfig,
MultiPartConfig multiPartConfig,
ParamConfig paramConfig,
OAuthConfig oAuthConfig,
FailureConfig failureConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig , HttpClientConfig , LogConfig ,
EncoderConfig , DecoderConfig , SessionConfig , ObjectMapperConfig , ConnectionConfig ,
JsonConfig , XmlConfig , SSLConfig ,
MatcherConfig , HeaderConfig , MultiPartConfig |
Copyright © 2010–2019. All rights reserved.