Class AbstractWebIntegrationTest

    • Field Detail

      • TASKLIST_PATH

        protected java.lang.String TASKLIST_PATH
      • APP_BASE_PATH

        public java.lang.String APP_BASE_PATH
      • appUrl

        protected java.lang.String appUrl
      • service

        protected static org.openqa.selenium.chrome.ChromeDriverService service
      • client

        public com.sun.jersey.client.apache4.ApacheHttpClient4 client
      • defaultHttpClient

        public org.apache.http.impl.client.DefaultHttpClient defaultHttpClient
      • httpPort

        public java.lang.String httpPort
      • connection

        protected java.net.HttpURLConnection connection
    • Constructor Detail

      • AbstractWebIntegrationTest

        public AbstractWebIntegrationTest()
    • Method Detail

      • before

        public void before()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroyClient

        public void destroyClient()
      • createClient

        public void createClient​(java.lang.String ctxPath)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • performRequest

        public java.net.URLConnection performRequest​(java.lang.String url,
                                                     java.lang.String method,
                                                     java.lang.String headerName,
                                                     java.lang.String headerValue)
      • getXsrfTokenHeader

        public java.lang.String getXsrfTokenHeader()
      • getXsrfCookieValue

        public java.lang.String getXsrfCookieValue()
      • getCookieValue

        public java.lang.String getCookieValue​(java.lang.String cookieName)
      • getCookieHeaders

        public java.util.List<java.lang.String> getCookieHeaders()
      • getHeaders

        public java.util.List<java.lang.String> getHeaders​(java.lang.String name)
      • preventRaceConditions

        public void preventRaceConditions()
                                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getWebappCtxPath

        protected java.lang.String getWebappCtxPath()
      • getRestCtxPath

        protected java.lang.String getRestCtxPath()