import com.eviware.soapui.support.*
def request='''
<Body>
<keyboard1>Qwerty~12-qwerty</keyboard1>
<conversationId1>sfksjkdjf2213123</conversationId1>
</Body>
'''
XmlHolder holder = new XmlHolder(request)
log.info holder.getNodeValue("//keyboard1")
def request='''
<Body>
<keyboard1>Qwerty~12-qwerty</keyboard1>
<conversationId1>sfksjkdjf2213123</conversationId1>
</Body>
'''
XmlHolder holder = new XmlHolder(request)
log.info holder.getNodeValue("//keyboard1")
No comments:
Post a Comment