DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40772

           Summary: JTL files loading not working properly
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I've working with jmeter and I noticed a small problem when loading
jtl files back into a listener. The problem relates to empty tokens in
the jtl. 

I'm working with JMeter 2.2, JDBC Samplers and Summary report. The jtl
file looks this way and was created with the Summary Report listener

1160833236328,62,Prepared update,,,Grupo de Hilos 1-1,text,true
1160833236406,0,Prepared Select,,,Grupo de Hilos 1-1,text,true
1160833236406,31,Callable Query,,,Grupo de Hilos 1-1,text,true
1160833236437,16,Callable update,,,Grupo de Hilos 1-1,text,true
1160833236453,0,Prepared update,,,Grupo de Hilos 1-1,text,true


Notice the ",,," part.  Well, when I try to load this jtl file to the same
listener it says it cannot load it. I traced the problem to the StringTokeniker
used in OldSaveService.java at line 142. StringTokenizer silently ignores
empty tokens and the result is that the JTL is not parsed right.

The workaround is to configure the listener to not save the response code nor
the message but I think that the JTL parsing should support the empty fields as
it provides a better user experience. (so the user is not forced to deal with
strange errors when it tries to load the file he just generated a second 
before).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to