12 Replies Latest reply on Jun 10, 2016 4:06 PM by kaifeng zeng

    Getting 'ClientProtocolException' while executing TabJolt

    Ganesh A

      When executed go  --t=testplans\InteractVizLoadTest.jmx --d=60 --c=1 --r test_16052016_1848, the run got completed. Below is the section of log message in when altered the log4j properties to debug  mode.

      Because of the this, when opened the 'PerformanceViz.twb' it displays 'null' value for most the fields

       

      test.log

      *********

      DEBUG [2016-05-17 08:07:34,140][InteractVizThreadGroup 1-1] com.tableausoftware.test.server.tabObjects.Viz (Viz.java:1030)   - ID null.

      DEBUG [2016-05-17 08:07:34,140][InteractVizThreadGroup 1-1] com.tableausoftware.test.server.tabObjects.Viz (Viz.java:1263)   - Making request to URL: http://IPAddress/t/SITE/views/WORKBOOK/VIEW

      DEBUG [2016-05-17 08:07:34,156][InteractVizThreadGroup 1-1] com.tableausoftware.test.server.utils.TabHttpRequest (TabHttpRequest.java:1433)   - GET http://IPAddress/t/SITE/views/WORKBOOK/VIEW?%3Aembed=y

      ERROR [2016-05-17 08:07:34,280][InteractVizThreadGroup 1-1] com.tableausoftware.test.server.tabObjects.Viz (Viz.java:1035)   - org.apache.http.client.ClientProtocolException

      ERROR [2016-05-17 08:07:34,280][InteractVizThreadGroup 1-1] com.tableausoftware.test.server.perfTestSuite.ViewVizTest (InteractVizTest.java:95)   - Failed to finish View Viz Test. Site: SITE; Workbook: WORKBOOK; View: VIEW; IsPublic: false;  Exception: org.apache.http.client.ClientProtocolException

      org.apache.http.client.ClientProtocolException

        at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:888)

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)

        at com.tableausoftware.test.server.utils.TabHttpRequest.processRequest(TabHttpRequest.java:967)

        at com.tableausoftware.test.server.utils.TabHttpRequest.get(TabHttpRequest.java:360)

        at com.tableausoftware.test.server.utils.TabHttpRequest.get(TabHttpRequest.java:344)

        at com.tableausoftware.test.server.tabObjects.Viz.getHttpResponse(Viz.java:1264)

        at com.tableausoftware.test.server.tabObjects.Viz.initSession(Viz.java:1022)

        at com.tableausoftware.test.server.tabObjects.Viz.load(Viz.java:350)

        at com.tableausoftware.test.server.tabObjects.Viz.load(Viz.java:287)

        at com.tableausoftware.test.server.tabObjects.Viz.load(Viz.java:408)

        at com.tableausoftware.test.server.tabObjects.Viz.load(Viz.java:450)

        at com.tableausoftware.test.server.tabObjects.Viz.load(Viz.java:432)

        at com.tableausoftware.test.server.perfTestSuite.InteractVizTest.runTest(InteractVizTest.java:73)

        at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)

        at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)

        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)

        at java.lang.Thread.run(Unknown Source)

      Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'http://IPAddress/vizportal/api/web/v1/auth/embed/guestLogin?path=%2Ft%2FSITE%2Fviews%2FWORKBOOK%2FVIEW%3F%253Aembed%3Dy&siteUrlName=SITE'

        at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:176)

        at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:220)

        at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1085)

        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:516)

        at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)

        ... 17 more

       

      Could you help me in this issue please. Thanks