Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty HTML report if source csv contains labels with quotes #4953

Closed
asfimport opened this issue Dec 18, 2018 · 2 comments
Closed

Empty HTML report if source csv contains labels with quotes #4953

asfimport opened this issue Dec 18, 2018 · 2 comments

Comments

@asfimport
Copy link
Collaborator

logox01 (Bug 63016):
Creating a html report from a csv file that contains labels with quotes (") leads to an empty html report.

Example testplan:

Testplan
-Thread Group
--Debug Sampler "Test"

Example report.csv:

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,grpThreads,allThreads,Latency,Encoding,Hostname,IdleTime
1545134163000,0,"Debug Sampler ""Test""",200,OK,TG-1,text,true,,1000,1,1,0,UTF-8,localhost,0

Create html report:

jmeter.bat -g report.csv -o htmlReport

After opening the html report, the browser comes up with the following error:
Uncaught SyntaxError: Unexpected identifier (dashboard.js:170)

Best regards

Severity: normal
OS: All

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Tue Dec 18 21:26:45 2018
New Revision: 1849239

URL: http://svn.apache.org/viewvc?rev=1849239&view=rev
Log:
#4953 - Empty HTML report if source csv contains labels with quotes

Also Add toString methods for easier debug
Contributed by UbikLoadPack support
#4953

Modified:
jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/JsonizerVisitor.java
jmeter/trunk/src/core/org/apache/jmeter/report/processor/ListResultData.java
jmeter/trunk/src/core/org/apache/jmeter/report/processor/MapResultData.java
jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java
jmeter/trunk/xdocs/changes.xml

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Wed Jan 16 22:27:32 2019
New Revision: 1851488

URL: http://svn.apache.org/viewvc?rev=1851488&view=rev
Log:
#4953 : Empty HTML report if source csv contains labels with quotes.

Fix wrong display in Response Time Overview
#4953

Modified:
jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant