Class AbstractWebIntegrationTest

java.lang.Object
org.camunda.bpm.AbstractWebIntegrationTest
Direct Known Subclasses:
AbstractWebappUiIntegrationTest, CsrfPreventionIT, DateSerializationIT, ErrorPageIT, ExceptionLoggerIT, HttpHeaderSecurityIT, PluginsRootResourceIT, RestIT, RestJaxRs2IT, SessionCookieSameSiteIT, SessionCookieSecurityIT

public abstract class AbstractWebIntegrationTest extends Object
Author:
Daniel Meyer, Roman Smirnov
  • Field Details

  • Constructor Details

    • AbstractWebIntegrationTest

      public AbstractWebIntegrationTest()
  • Method Details

    • setUpClass

      public static void setUpClass()
    • before

      public void before() throws Exception
      Throws:
      Exception
    • createClient

      public void createClient(String ctxPath) throws Exception
      Throws:
      Exception
    • getTokens

      protected void getTokens()
    • getCookieHeaders

      protected List<String> getCookieHeaders(kong.unirest.HttpResponse<?> response)
    • getCookie

      protected String getCookie(List<String> cookieValues, String cookieName)
    • createCookieHeader

      protected String createCookieHeader()
    • createCookieHeader

      protected String createCookieHeader(String csrf, String session)
    • getXsrfTokenHeader

      protected String getXsrfTokenHeader(kong.unirest.HttpResponse<?> response)
    • getXsrfCookieValue

      protected String getXsrfCookieValue(kong.unirest.HttpResponse<?> response)
    • getCookieValue

      protected String getCookieValue(kong.unirest.HttpResponse<?> response, String cookieName)
    • getCookieValue

      protected String getCookieValue(List<String> cookieValues, String cookieName)
    • getWebappCtxPath

      protected String getWebappCtxPath()
    • getRestCtxPath

      protected String getRestCtxPath()
    • preventRaceConditions

      protected void preventRaceConditions()