in reply to Re^3: trouble,, need help! (parsing apache jmeter xml, preparing html report)
in thread trouble,, need help!

Am just catching up with perl.. I did not take _END_ earlier. I corrected it but now I see this issue.
no element found at line 1, column 0, byte 0 at C:/strawberry/perl/ven +dor/lib/XML/Parser.pm line 187 at d:\xml test\NewTrial.pl line 53
can I make this to read all xmls in a folder?
  • Comment on Re^4: trouble,, need help! (parsing apache jmeter xml, preparing html report)
  • Download Code

Replies are listed 'Best First'.
Re^5: trouble,, need help! (parsing apache jmeter xml, preparing html report)
by Anonymous Monk on Apr 26, 2012 at 15:13 UTC

    I did not take _END_ earlier. I corrected it but now I see this issue.

    Use the download link, seriously. Or give it a filename ; could you tell it takes filenames?

    can I make this to read all xmls in a folder?

    No

      Hi Sir, I have used the download link, biggest issue here is I have a set of Jmeter results as xmls, I have to read through all of these files and take only values of <httpSample ..... lb="xyz"> , <failure>, <error>, <failureMessage> and create an html report. I have been struggling with this and if you can help it will be grateful! This is the output of Script I downloaded
      /testResults/httpSample/httpSample at NewTrial.pl line 32. /testResults/httpSample/httpSample at NewTrial.pl line 32. YO /testResults/httpSample at NewTrial.pl line 36. <tr><td><p> http://www.apache.org/style/style.css http://www.apache.org/images/asf_logo_wide.gif HTTP Request </p> <td><p> </p></td> <td><p> </p></td></tr>
      Regards!

        I have been struggling with this and if you can help it will be grateful! This is the output of Script I downloaded

        Lets see, I provided you with the missing part to your original script, all you have to do is plug it in. If you can't figure out how, well then you need to read perlintro some more. Sorry.