Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28426

JMeterCSV always reports 100% 0f errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • performance-plugin
    • None

      I have chosen Publish Performance test result report as Post Build action with JMeterCSV as Performance report and my output is also marked for csv but it always mark the build as failure where as there is no failure in the jtl file
      Please find the output of log file below

      Waiting for possible shutdown message on port 4445
      summary + 16 in 13s = 1.2/s Avg: 1204 Min: 374 Max: 3353 Err: 0 (0.00%) Active: 3 Started: 3 Finished: 0
      summary + 144 in 29.4s = 4.9/s Avg: 1133 Min: 341 Max: 2648 Err: 0 (0.00%) Active: 8 Started: 8 Finished: 0
      summary = 160 in 42.4s = 3.8/s Avg: 1140 Min: 341 Max: 3353 Err: 0 (0.00%)
      summary + 275 in 30s = 9.2/s Avg: 1158 Min: 332 Max: 2616 Err: 0 (0.00%) Active: 10 Started: 10 Finished: 0
      summary = 435 in 72.4s = 6.0/s Avg: 1151 Min: 332 Max: 3353 Err: 0 (0.00%)
      summary + 297 in 30s = 9.9/s Avg: 1178 Min: 317 Max: 2718 Err: 0 (0.00%) Active: 10 Started: 10 Finished: 0
      summary = 732 in 102s = 7.1/s Avg: 1162 Min: 317 Max: 3353 Err: 0 (0.00%)
      summary + 298 in 30s = 10.0/s Avg: 1121 Min: 339 Max: 2454 Err: 0 (0.00%) Active: 10 Started: 10 Finished: 0
      summary = 1030 in 132s = 7.8/s Avg: 1150 Min: 317 Max: 3353 Err: 0 (0.00%)
      summary + 289 in 30s = 9.7/s Avg: 1109 Min: 317 Max: 2416 Err: 0 (0.00%) Active: 8 Started: 10 Finished: 2
      summary = 1319 in 162s = 8.1/s Avg: 1141 Min: 317 Max: 3353 Err: 0 (0.00%)
      summary + 160 in 31.1s = 5.1/s Avg: 1121 Min: 342 Max: 2397 Err: 0 (0.00%) Active: 2 Started: 10 Finished: 8
      summary = 1479 in 193s = 7.6/s Avg: 1139 Min: 317 Max: 3353 Err: 0 (0.00%)
      summary + 10 in 7s = 1.4/s Avg: 1187 Min: 366 Max: 2356 Err: 0 (0.00%) Active: 0 Started: 10 Finished: 10
      summary = 1489 in 200s = 7.4/s Avg: 1139 Min: 317 Max: 3353 Err: 0 (0.00%)
      Tidying up ... @ Fri May 15 15:30:38 UTC 2015 (1431703838129)
      ... end of run
      Performance: Percentage of errors greater or equal than 0% sets the build as unstable
      Performance: Percentage of errors greater or equal than 0% sets the build as failure

      Performance: Recording JMeterCsv reports '*.jtl'
      Performance: Parsing JMeter report file '/home/Mayank/.jenkins/jobs/Load_Testing/builds/4/performance-reports/JMeterCSV/test.jtl'.
      test.jtl has an average of: 1139
      Performance: File test.jtl reported 100.0% of errors [FAILURE]. Build status is: FAILURE

      Build step 'Publish Performance test result report' changed build result to FAILURE
      Finished: FAILURE

      I setup these option in my jmeter.properties file

      jmeter.save.saveservice.data_type=true
      jmeter.save.saveservice.label=true
      jmeter.save.saveservice.response_code=true
      jmeter.save.saveservice.output_format=csv
      jmeter.save.saveservice.successful=true
      jmeter.save.saveservice.thread_name=true

            manolo Manuel Carrasco
            mayanktk20 Mayank Saini
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: