apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.27k stars 2.09k forks source link

Jmeter 2.8's listeners don't load run results saved in CSV format #2960

Closed asfimport closed 11 years ago

asfimport commented 11 years ago

vpry (Bug 54052): PRELIMINARY STEPS:

  1. Launch jmeter 2.8
  2. Create a test plan and add a thread to it.
  3. Add any listener to the thread

STEPS TO REPRODUCE:

  1. Try to load CSV run results generated by jmeter 2.7 or 2.8 to analyze them.

ACTUAL RESULTS: You get an error: "Error Loading results file - See log file" and nothing is loaded at all.

The message in log file:

>> 2012/10/25 15:28:01 INFO - jmeter.save.CSVSaveService: \srv-qa\QA-Projects\byggeprojekt\Performance Testing\Runs\Stage 2\1 - 2 (Normal) - Valid\STEPS1-3.csv does not appear to have a valid header. Using default configuration. 2012/10/25 15:28:01 WARN - jmeter.save.CSVSaveService: Error parsing field 'bytes' at line 1 java.lang.NumberFormatException: For input string: "" 2012/10/25 15:28:01 WARN - jmeter.reporters.ResultCollector: Problem reading JTL file: \srv-qa\QA-Projects\byggeprojekt\Performance Testing\Runs\Stage 2\1 - 2 (Normal) - Valid\STEPS1-3.csv <<<

ADDITIONAL INFO: Jmeter 2.7 loads the file successfully and there is no such error for XML run results

Severity: blocker OS: All

asfimport commented 11 years ago

@milamberspace (migrated from Bugzilla): Bugzilla is not a support forum.

Please subscribe to the "Apache JMeter User" mailing list and post there.

See: http://jmeter.apache.org/mail2.html

asfimport commented 11 years ago

vpry (migrated from Bugzilla): It is not a support request! It is a Jmeter BUG description which I hope you will fix.

PS I don't need from you any explanations concerning jmeter's functionality

asfimport commented 11 years ago

@milamberspace (migrated from Bugzilla):

Works fine for me with JMeter vanilla (2.7 and 2.8) + Save in CSV.

It is not a bug for me.

JMeter (2.7 and 2.8) don't save their results in CSV format by default. You have change some properties on your JMeters, and they have some differences.

Please double-check jmeter.properties and/or user.properties

Please switch to user mailing.

asfimport commented 11 years ago

vpry (migrated from Bugzilla): thanks after changing jmeter properties it started to load CSV files correctly