Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by numberuno (Initiate)
on Apr 26, 2012 at 09:40 UTC ( [id://967285]=note: print w/replies, xml ) Need Help??


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

thanks appreciated your help.2 things here, when I executed the script with the same sample you have provided, I got this errors:

Name "main::DATA" used only once: possible typo at d:\xml test\NewTria +l.pl line 10. not well-formed (invalid token) at line 1, column 4, byte 4 at C:/stra +wberry/perl/vendor/lib/XML/Parser.pm line 187 at d:\xml test\NewTrial.pl line 54

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

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

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

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

      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

Log In?
Username:
Password:

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

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

    No recent polls found