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 String
protected String
protected static final String
protected String
protected static final String
protected String
protected static final String
protected static org.openqa.selenium.chrome.ChromeDriverService
protected String
protected static final String
protected TestProperties
protected static final String
protected static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
before()
void
createClient
(String ctxPath) protected String
protected String
createCookieHeader
(String csrf, String session) protected String
getCookieHeaders
(kong.unirest.HttpResponse<?> response) protected String
getCookieValue
(List<String> cookieValues, String cookieName) protected String
getCookieValue
(kong.unirest.HttpResponse<?> response, String cookieName) protected String
protected void
protected String
protected String
getXsrfCookieValue
(kong.unirest.HttpResponse<?> response) protected String
getXsrfTokenHeader
(kong.unirest.HttpResponse<?> response) protected void
static 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()
-