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

    • before

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

      public void destroyClient()
    • createClient

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

      protected void getTokens()
    • getCookieHeaders

      protected List<String> getCookieHeaders(com.sun.jersey.api.client.ClientResponse 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(com.sun.jersey.api.client.ClientResponse response)
    • getXsrfCookieValue

      protected String getXsrfCookieValue(com.sun.jersey.api.client.ClientResponse response)
    • getCookieValue

      protected String getCookieValue(com.sun.jersey.api.client.ClientResponse response, String cookieName)
    • getCookieValue

      protected String getCookieValue(List<String> cookies, String cookieName)
    • preventRaceConditions

      protected void preventRaceConditions() throws InterruptedException
      Throws:
      InterruptedException
    • getWebappCtxPath

      protected String getWebappCtxPath()
    • getRestCtxPath

      protected String getRestCtxPath()