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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8800

FileReporter can not 'analyze' JDBC results files

           Summary: FileReporter can not 'analyze' JDBC results files
           Product: JMeter
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently, there is a StringTokenizer which parses for ',' and ' '
(space). This is fine for HTTP results, but does not work for JDBC
results, which are formatted as follows:

-----
        
# Sample data created by null

#       URL                    Milliseconds

select * from stocks where stocksymbol = 'ek'; 123
-----

(In this case, the '*' generates a NumberFormatException)

I will submit a suggested patch shortly. Rather than change the
format of the results file (so that the FileReporter can parse
the output results in a context-sensitive way), I will just
loop until the end of the line, and assume that the last number
parsed is the actual result.

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

Reply via email to