https://bz.apache.org/bugzilla/show_bug.cgi?id=58606

            Bug ID: 58606
           Summary: using the method of setSampleLabel( String s ) in
                    Class SampleResult, FYI:s contain \” character. the
                    output in jtl file will double the \" character
           Product: JMeter
           Version: 2.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

the code in the class extended AbstractJavaSamplerClient:

String cmd = "test\"test"
SampleResult sr = new SampleResult();
System.out.println("debug1:"+ cmd);
sr.setSampleLabel("debug2:" +cmd);


run the jmeter.sh with -l debug.jtl:

the screen will print:
debug1:test"test

and the output in debug.jtl is:
debug2:test""test 

FYI:the output have double " charactor.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to