Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Anonymous Monk
on Apr 26, 2012 at 12:44 UTC ( [id://967333]=note: print w/replies, xml ) Need Help??


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

I got this errors: ... not well-formed (

This means you did not use the download link, you should use it, How does 'Select Code to Download' Work?

Name "main::DATA" used only once: possible typo ...

This means you did not have __END__ or __DATA__ section but still used  \*DATA in the program, in other words, you did not run the program I posted

secondly, I am executing Jmeter on commandline so the results are individual xml files, I have to read through all and filter those values.

I understood :)

  • Comment on Re^3: trouble,, need help! (parsing apache jmeter xml, preparing html report)
  • Download Code

Replies are listed 'Best First'.
Re^4: trouble,, need help! (parsing apache jmeter xml, preparing html report)
by numberuno (Initiate) on Apr 26, 2012 at 15:00 UTC
    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?

      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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://967333]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found