Any tutorial to parse xml response in jython extension tool? or any library best to use with soatest
There is no one recommended library for parsing XML within a Jython Extension Tool in SOAtest. I did a quick search and found that a commonly recommended library is a python library called ElementTree (see https://stackoverflow.com/questions/1912434/how-do-i-parse-xml-in-python). Jython is a Java implementation of Python, and it added support for ElementTree in Jython 2.5 which is the version that ships with SOAtest. See http://www.jython.org/docs/_sources/library/xml.etree.elementtree.txt.
Jython can access Java libraries such as JAXP
@jakubiak how to include ElemenTree ? do i have to add any library?
No, you only have to add the correct import at the top of your script, as described in the stackoverflow link I posted:
I am trying to use ElementTree on Extension Tool using Jython but I am running into this error - ImportError: No module named xml
My SOATest version is 9.10 and I assumed that ElementTree would be supported. Is there anything else I need to do?
Got the answer, had to install jython.