These are troubles i have faced when using JMeter Xpath extractor. I have an xml which contains an attribute with the CDATA value which is a valid xml too. My scope is to parse the CDATA xml within one iteration. I found out that i won't be able to parse the CDATA held in primary xml using the same JMeter XPath extractor. So i have decided to extract the CDATA value using the JMeter XPath extract and further process this value inside a beanshell post process script where i would extract a required value from the CDATA held xml. But i have no clues how to use the Xpath extractor inside the beanshell. Coul anyone, please, post an example how to use the XPath inside a beanshell script.