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 2007/03/30 15:49:29 UTC

DO NOT REPLY [Bug 41994] New: - Subresults not handled recursively by ResultSaver

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=41994>.
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=41994

           Summary: Subresults not handled recursively by ResultSaver
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: jens@voss-ahrensburg.de


* Create a Test Plan with an HTTP Request accessing e.g. a frameset with one 
frame referencing a CSS stylesheet. 
* Turn on "Retrieve All Embedded Resources".
* Add a "Save Responses to a file" postprocessor.
* Run the test plan in non-gui mode with jmeter.save.saveservice.subresults=true

The .jtl file will look somethin like this:
<testResults version="1.2">
<httpSample lb="Frameset Request">
  <httpSample lb="http://localhost/frame.html">
    <httpSample lb="http://localhost/style.css">
      <responseFile class="java.lang.String"></responseFile>
      <url>http://localhost/style.css</url>
    </httpSample>
    <responseFile class="java.lang.String">2.html</responseFile>
    <url>http://localhost/frame.html</url>
  </httpSample>
  <responseFile class="java.lang.String">1.html</responseFile>
  <url>http://localhost/frameset.html</url>
</httpSample>
</testResults>

with the <responseFile> tag of the "style.css" url being empty. Moreover, 
no .css file is stored by the ResultSaver, i.e. that class does not store 
suresults recursively.

The supplied patch fixes this.

-- 
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 41994] - Subresults not handled recursively by ResultSaver

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=41994>.
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=41994


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From sebb@apache.org  2007-03-30 09:10 -------
Thanks for the patch - I've applied it to SVN (though I renamed the private 
method as I found it confusing to have two different sampleOccurred() methods).

The fix will be in the nightlies after r524150.

If you get a chance to try that, please update this issue accordingly.
Thanks.

-- 
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 41994] - Subresults not handled recursively by ResultSaver

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=41994>.
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=41994


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




-- 
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 41994] - Subresults not handled recursively by ResultSaver

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=41994>.
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=41994





------- Additional Comments From jens@voss-ahrensburg.de  2007-03-30 06:50 -------
Created an attachment (id=19848)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19848&action=view)
Recursive subresult handling in the ResultSaver


-- 
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