You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2006/10/17 08:48:56 UTC

DO NOT REPLY [Bug 40772] New: - JTL files loading not working properly

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: jmeter-dev@jakarta.apache.org
        ReportedBy: ruben.laguna@gmail.com


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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 40772] - JTL files loading not working properly

Posted by bu...@apache.org.
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





------- Additional Comments From ruben.laguna@gmail.com  2006-10-16 23:51 -------
Created an attachment (id=19010)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19010&action=view)
Patch to support empty tokens in jtl files 

Uses a wrapper around StringTokenizer 

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 40772] - JTL files loading not working properly

Posted by bu...@apache.org.
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


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cristian.opincaru@gmail.com




------- Additional Comments From sebb@apache.org  2007-07-06 05:49 -------
*** Bug 42800 has been marked as a duplicate of this bug. ***

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org