extract or validate the xml response from jenkins

28 views
Skip to first unread message

panneerrselvam natarajan

unread,
Jun 8, 2019, 1:07:10 AM6/8/19
to Jenkins Users
Hi All,

I am using Jenkins (linux server), and sending the RAP content and getting the xml response for my test suite result. I am publishing the test result using test result analyzer.

xml file were created and published thru "Test Result Analyser" . . Now I want to extract the number of passed and failed test cases and communicate thru automatic email.

How to i extract or validate the test result which is available in xml format.

Please guide me


Regards
Panneer




Danny Jacob

unread,
Jun 8, 2019, 3:02:26 AM6/8/19
to jenkins...@googlegroups.com
Write an xml parser function in groovy might help. 
We are doing similar for our test automation set up to make the build unstable by counting number of failures.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Best Regards,
Jacob Dany
contact - +65 90224437

Message has been deleted

panneerrselvam natarajan

unread,
Jun 9, 2019, 10:20:21 AM6/9/19
to Jenkins Users
Thanks Danny Jacob,

It is working fine.

Regards
panneer


On Saturday, June 8, 2019 at 12:02:26 AM UTC-7, Danny Jacob wrote:
Write an xml parser function in groovy might help. 
We are doing similar for our test automation set up to make the build unstable by counting number of failures.

On Sat, 8 Jun 2019 at 1:07 PM, panneerrselvam natarajan <pann...@gmail.com> wrote:
Hi All,

I am using Jenkins (linux server), and sending the RAP content and getting the xml response for my test suite result. I am publishing the test result using test result analyzer.

xml file were created and published thru "Test Result Analyser" . . Now I want to extract the number of passed and failed test cases and communicate thru automatic email.

How to i extract or validate the test result which is available in xml format.

Please guide me


Regards
Panneer




--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages