jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62540] New: Regression on Dashboard generation in nightly build as of 15 july 2018
Date Sun, 15 Jul 2018 20:47:01 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62540

            Bug ID: 62540
           Summary: Regression on Dashboard generation in nightly build as
                    of 15 july 2018
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Related to Bug 62426 , a regression has been introduced on Report Generation by
:
http://svn.apache.org/viewvc?view=revision&revision=1835351

To reproduce , put in user.properties:
jmeter.save.saveservice.print_field_names=true
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.timestamp_format=dd/MM HH:mm:ss


Make a test, and then try generating
jmeter -p <jmeter_home>/bin/jmeter.properties -q user.properties -g results.csv
-o reportFolder

This is due to early computing of Sample while normalization has not yet
happened.


2018-07-15 22:41:52,208 ERROR o.a.j.JMeter: An error occurred:
org.apache.jmeter.report.core.SampleException: Error in sample at line:1
converting field:timeStamp at column:0 to:long, fieldValue:'28/06 15:23:47'
    at org.apache.jmeter.report.core.Sample.getData(Sample.java:138)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Sample.getData(Sample.java:156)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Sample.getPossibleValue(Sample.java:83)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Sample.<init>(Sample.java:72)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at
org.apache.jmeter.report.core.CsvSampleReader.nextSample(CsvSampleReader.java:192)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at
org.apache.jmeter.report.core.CsvSampleReader.<init>(CsvSampleReader.java:135)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at
org.apache.jmeter.report.core.CsvSampleReader.<init>(CsvSampleReader.java:87)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at
org.apache.jmeter.report.processor.CsvFileSampleSource.<init>(CsvFileSampleSource.java:113)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at
org.apache.jmeter.report.dashboard.ReportGenerator.generate(ReportGenerator.java:211)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.JMeter.start(JMeter.java:522)
[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:1.8.0_161]
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:1.8.0_161]
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_161]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
    at org.apache.jmeter.NewDriver.main(NewDriver.java:245)
[ApacheJMeter.jar:4.1-SNAPSHOT.20180715]
Caused by: org.apache.jmeter.report.core.ConvertException: Unable to convert
"28/06 15:23:47" to "java.lang.Long"
    at org.apache.jmeter.report.core.Converters$5.convert(Converters.java:102)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Converters$5.convert(Converters.java:95)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Converters.convert(Converters.java:172)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Sample.getData(Sample.java:134)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    ... 14 more
Caused by: java.lang.NumberFormatException: For input string: "28/06 15:23:47"
    at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
~[?:1.8.0_161]
    at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_161]
    at java.lang.Long.valueOf(Long.java:803) ~[?:1.8.0_161]
    at org.apache.jmeter.report.core.Converters$5.convert(Converters.java:100)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Converters$5.convert(Converters.java:95)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Converters.convert(Converters.java:172)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    at org.apache.jmeter.report.core.Sample.getData(Sample.java:134)
~[ApacheJMeter_core.jar:4.1-SNAPSHOT.20180715]
    ... 14 more

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message