5 Replies Latest reply on Jul 7, 2016 1:48 PM by kaifeng zeng

    TabJolt Error- JsonSerializationException

    Andy Hariraj

      Hey All!  I am trying to get TabJolt running on a machine and am receiving the following output:

       

       

      C:\tabjolt-master>go --t=testplans\InteractVizLoadTest.jmx --d=240 --c=1

      [2016-06-29 09:03:36,458] Perf harness is started with parameters: --rootPath=C:\tabjolt-master --t=testplans\InteractVizLoad

      Test.jmx --d=240 --c=1

      [2016-06-29 09:03:37,285] Loading PerfTestConfig yaml file C:\tabjolt-master\config\PerfTestConfig.yaml

      [2016-06-29 09:03:37,503] Loading ServerTestConfig yaml file C:\tabjolt-master\config\ServerTestConfig.yaml

      -------------start collecting JMX counters--------------

      Output File:C:\tabjolt-master/results/2016-06-29_09-03-37/jmxcounter.tsv

      -------------start collecting Zabbix counters--------------

      Output File:C:\tabjolt-master/results/2016-06-29_09-03-37/zabbixcounter.tsv

      -------------start windows performance counters collection-------------

      Output File:c:\tabjolt-master/results/2016-06-29_09-03-37/wincounter.tsv

      INFO  [2016-06-29 09:03:43,311][main] (PerfRunHelper.java:346)   - -------------start Jmeter load test run-------------

      INFO  [2016-06-29 09:03:43,311][main] (PerfRunHelper.java:347)   - Output file: C:\tabjolt-master/results/2016-06-29_09-03-37

      /result-ALPCTSSAPPA140C-0.jtl

      INFO  [2016-06-29 09:03:43,311][main] (PerfRunHelper.java:348)   - Command: [C:\tabjolt-master/bin/jmeter.bat, , , , , , -n,

      -t=C:\tabjolt-master\testplans\InteractVizLoadTest.jmx, -j=C:\tabjolt-master/logs/jmeter_2016-06-29_09-03-37.log, -JthreadCou

      nt=1, -Jduration=240, -JloginWeight=1.0, -JconfigFolderPath=C:\tabjolt-master/config/, -Jlogpath=C:\tabjolt-master/results/20

      16-06-29_09-03-37/result-ALPCTSSAPPA140C-0.jtl, ]

      INFO  [2016-06-29 09:03:43,813][main] (ResultProcessor.java:132)   - -------------start processing perf counters and run resu

      lt-------------

      INFO  [2016-06-29 09:03:43,813][main] (ResultProcessor.java:133)   - Perf run result is saving to result repository. Please u

      se this RUN ID 13 to view your result in Tableau

      INFO  [2016-06-29 09:03:43,829][Thread-13] (PerfRunMonitor.java:37)   - Starting Perfrun monitor thread

      Created the tree successfully using C:\tabjolt-master\testplans\InteractVizLoadTest.jmx

      Starting the test @ Wed Jun 29 09:03:48 EDT 2016 (1467205428103)

      Waiting for possible shutdown message on port 4445

      SLF4J: Class path contains multiple SLF4J bindings.

      SLF4J: Found binding in [jar:file:/C:/tabjolt-master/lib/slf4j-nop-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: Found binding in [jar:file:/C:/tabjolt-master/lib/ext/slf4j-nop-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]

      FATAL [2016-06-29 09:03:51,504][setUp Thread Group 1-1] (LoadSessionSetup.java:69)   - Failed to set up load test session. St

      opping the test run.

      com.tableausoftware.vizportal.test.webClientApi.JsonSerializationException: com.fasterxml.jackson.core.JsonParseException: Un

      expected character ('t' (code 116)): was expecting double-quote to start field name

      at [Source: java.io.StringReader@6d7a590f; line: 1, column: 4]

              at com.tableausoftware.vizportal.test.webClientApi.viewmodels.ViewModel.create(ViewModel.java:53)

              at com.tableausoftware.vizportal.test.webClientApi.WebClientResponse.<init>(WebClientResponse.java:66)

              at com.tableausoftware.vizportal.test.webClientApi.WebClientResponse.create(WebClientResponse.java:88)

              at com.tableausoftware.vizportal.test.webClientApi.WebClientApi.getServerSettingsUnauthenticated(WebClientApi.java:13

      19)

              at com.tableausoftware.test.server.perfTestSuite.ServerSettingsFetcher.setServerSetting(ServerSettingsFetcher.java:28

      )

              at com.tableausoftware.test.server.perfTestSuite.LoadSessionSetup.runTest(LoadSessionSetup.java:58)

              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: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('t' (code 116)): was expecting double-quote t

      o start field name

      at [Source: java.io.StringReader@6d7a590f; line: 1, column: 4]

              at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1378)

              at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:599)

              at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:520)

              at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleUnusualFieldName(ReaderBasedJsonParser.java:1275)

              at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._parseFieldName(ReaderBasedJsonParser.java:1170)

              at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:611)

              at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:114)

              at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2793)

              at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1943)

              at com.tableausoftware.vizportal.test.webClientApi.viewmodels.ViewModel.create(ViewModel.java:50)

              ... 9 more

      Tidying up ...    @ Wed Jun 29 09:03:51 EDT 2016 (1467205431629)

      ... end of run

      INFO  [2016-06-29 09:04:03,844][main] (PerfRunHelper.java:195)   - Jmeter process has exited. Waiting for the other processes

      to exit.

      INFO  [2016-06-29 09:04:34,265][main] (PerfRunHelper.java:225)   - Waiting for processes "Windows Perf Counter Data Retriever

      " to complete. 30 seconds have elapsed.

      INFO  [2016-06-29 09:05:04,686][main] (PerfRunHelper.java:225)   - Waiting for processes "Windows Perf Counter Data Retriever

      " to complete. 60 seconds have elapsed.

      INFO  [2016-06-29 09:05:35,122][main] (PerfRunHelper.java:225)   - Waiting for processes "Windows Perf Counter Data Retriever

      " to complete. 90 seconds have elapsed.

      INFO  [2016-06-29 09:06:05,543][main] (PerfRunHelper.java:225)   - Waiting for processes "Windows Perf Counter Data Retriever

      " to complete. 120 seconds have elapsed.

      INFO  [2016-06-29 09:06:35,980][main] (PerfRunHelper.java:225)   - Waiting for processes "Windows Perf Counter Data Retriever

      " to complete. 150 seconds have elapsed.

      INFO  [2016-06-29 09:07:06,401][main] (PerfRunHelper.java:221)   - Timeout of Waiting for processes "Windows Perf Counter Dat

      a Retriever" to complete. Killinng the processes.

      INFO  [2016-06-29 09:07:06,401][main] (PerfRunHelper.java:206)   - killing process Windows Perf Counter Data Retriever

      INFO  [2016-06-29 09:07:06,401][main] (PerfRunHelper.java:208)   - Successfully killed process Windows Perf Counter Data Retr

      iever

      INFO  [2016-06-29 09:07:06,401][main] (PerfRunHelper.java:214)   - All processes have exited.

      INFO  [2016-06-29 09:07:06,401][main] (PerfRunMonitor.java:57)   - Perfrun is completed - ending monitor thread

      INFO  [2016-06-29 09:07:06,869][Thread-9] (PerfCounterDBSender.java:72)   - Finished processing all perf counter records

      INFO  [2016-06-29 09:07:07,727][Thread-7] (JmeterResultDBSender.java:81)   - Finish processeing all Jmeter perf result sample

      s.

      Exception in thread "main" org.postgresql.util.PSQLException: ERROR: division by zero

        Where: SQL statement "UPDATE test_runs

                      SET TPS_average=(

                                   totalSamples/totalseconds

                               )

                      WHERE id=runId"

      PL/pgSQL function sp_update_test_run_stats(integer) line 116 at SQL statement

              at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)

              at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998)

              at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)

              at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)

              at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)

              at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:362)

              at com.tableausoftware.test.tools.ResultProcessor.PostgresDBHelper.updateTestRunStats(PostgresDBHelper.java:238)

              at com.tableausoftware.test.tools.ResultProcessor.ResultProcessor.signalRunCompleted(ResultProcessor.java:188)

              at com.tableausoftware.test.tools.perfRunHarness.Main.runOneTest(Main.java:261)

              at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:138)

       

       

      C:\tabjolt-master>

       

      Does anyone have a clue as to what that error could be?  I am doing a basic install and have configured only the vizpool.csv file to have my target visualization and the servertestconfig.yaml file to have the correct hostUri.

      Thanks for all your support.