Bug 61900

Summary: Report Generator : Report generation fails if separator is a regex reserved char like '|'
Product: JMeter - Now in Github Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2017-12-13 16:23:44 UTC
Error:
Error generating the report: org.apache.jmeter.report.core.SampleException: Mismatch between expected number of columns:298 and columns in CSV file:28, check your jmeter.save.saveservice.* configuration


Escaping fails due to the fact that it is stored in char with error:
An error occurred: Delimiter '\|' must be of length 1.
Comment 1 Philippe Mouawad 2017-12-23 15:31:40 UTC
Author: pmouawad
Date: Sat Dec 23 15:31:19 2017
New Revision: 1819161

URL: http://svn.apache.org/viewvc?rev=1819161&view=rev
Log:
Bug 61900 - Report Generator : Report generation fails if separator is a regex reserved char like '|'
Bugzilla Id: 61900

Added:
    jmeter/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy
Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/core/SampleMetaDataParser.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Philippe Mouawad 2017-12-23 15:58:59 UTC
Author: pmouawad
Date: Sat Dec 23 15:53:33 2017
New Revision: 1819164

URL: http://svn.apache.org/viewvc?rev=1819164&view=rev
Log:
Bug 61900 - Report Generator : Report generation fails if separator is a regex reserved char like '|'
Fix test
Bugzilla Id: 61900

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy
    
Author: pmouawad
Date: Sat Dec 23 15:53:33 2017
New Revision: 1819164

URL: http://svn.apache.org/viewvc?rev=1819164&view=rev
Log:
Bug 61900 - Report Generator : Report generation fails if separator is a regex reserved char like '|'
Fix test
Bugzilla Id: 61900

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy
Comment 3 Philippe Mouawad 2017-12-23 21:32:44 UTC
Author: pmouawad
Date: Sat Dec 23 17:17:05 2017
New Revision: 1819170

URL: http://svn.apache.org/viewvc?rev=1819170&view=rev
Log:
Bug 61900 - Report Generator : Report generation fails if separator is a regex reserved char like '|'
Improved SampleMetadataParserSpec
Contributed by Graham Russell
This closes #367
Bugzilla Id: 61900

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/report/core/SampleMetadataParserSpec.groovy
Comment 4 The ASF infrastructure team 2022-09-24 20:38:11 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4646