Package net.bugreaper.modules.api.setup
Class ApiAbstract
java.lang.Object
net.bugreaper.modules.api.setup.ApiAbstract
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected io.restassured.http.ContentTypeprotected booleanprotected org.slf4j.Loggerprotected longprotected intDefault timeout for http connectionprotected Stringprotected intprotected ThreadLocal<LinkedHashMap<String,Object>> protected ThreadLocal<LinkedHashMap<String,Object>> protected Stringprotected booleanprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedApiAbstract(String url, int port) protectedApiAbstract(String url, int port, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionprotected io.restassured.specification.RequestSpecificationprotected io.restassured.specification.RequestSpecification
-
Field Details
-
logger
protected org.slf4j.Logger logger -
url
-
port
protected int port -
useBasicAuth
protected volatile boolean useBasicAuth -
authToken
-
username
-
password
-
maxTimeoutMs
protected volatile int maxTimeoutMsDefault timeout for http connection -
enableLogging
protected volatile boolean enableLogging -
maxResponseMsAssert
protected volatile long maxResponseMsAssert -
headers
-
queryParams
-
requestQueryParams
-
requestHeaders
-
contentType
protected volatile io.restassured.http.ContentType contentType
-
-
Constructor Details
-
ApiAbstract
protected ApiAbstract() -
ApiAbstract
-
ApiAbstract
-
-
Method Details
-
buildRequest
protected io.restassured.specification.RequestSpecification buildRequest() -
buildSimpleRequest
protected io.restassured.specification.RequestSpecification buildSimpleRequest()
-