Package org.camunda.bpm
Class AbstractWebIntegrationTest
java.lang.Object
org.camunda.bpm.AbstractWebIntegrationTest
- Direct Known Subclasses:
AbstractWebappUiIntegrationTest,CsrfPreventionIT,DateSerializationIT,ErrorPageIT,ExceptionLoggerIT,HttpHeaderSecurityIT,PluginsRootResourceIT,RestIT,RestJaxRs2IT,SessionCookieSameSiteIT,SessionCookieSecurityIT
- Author:
- Daniel Meyer, Roman Smirnov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected static final Stringprotected Stringprotected static final Stringprotected Stringprotected static final Stringprotected static org.openqa.selenium.chrome.ChromeDriverServiceprotected Stringprotected static final Stringprotected TestPropertiesprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()voidcreateClient(String ctxPath) protected Stringprotected StringcreateCookieHeader(String csrf, String session) protected StringgetCookieHeaders(kong.unirest.HttpResponse<?> response) protected StringgetCookieValue(List<String> cookieValues, String cookieName) protected StringgetCookieValue(kong.unirest.HttpResponse<?> response, String cookieName) protected Stringprotected voidprotected Stringprotected StringgetXsrfCookieValue(kong.unirest.HttpResponse<?> response) protected StringgetXsrfTokenHeader(kong.unirest.HttpResponse<?> response) protected voidstatic void
-
Field Details
-
TASKLIST_PATH
- See Also:
-
COOKIE_HEADER
- See Also:
-
X_XSRF_TOKEN_HEADER
- See Also:
-
JSESSIONID_IDENTIFIER
- See Also:
-
XSRF_TOKEN_IDENTIFIER
- See Also:
-
HOST_NAME
- See Also:
-
appBasePath
-
appUrl
-
testProperties
-
service
protected static org.openqa.selenium.chrome.ChromeDriverService service -
httpPort
-
csrfToken
-
sessionId
-
-
Constructor Details
-
AbstractWebIntegrationTest
public AbstractWebIntegrationTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() -
before
- Throws:
Exception
-
createClient
- Throws:
Exception
-
getTokens
protected void getTokens() -
getCookieHeaders
-
getCookie
-
createCookieHeader
-
createCookieHeader
-
getXsrfTokenHeader
-
getXsrfCookieValue
-
getCookieValue
-
getCookieValue
-
getWebappCtxPath
-
getRestCtxPath
-
preventRaceConditions
protected void preventRaceConditions()
-