Im trying to print a value I've extracted from an xml file. i know i can compare with method bodyPath but why i can't print the value I've found e.g
* def username = bodyPath('/Envelope/Body/Users/Username')
* print username
for some reason this doesn't work. is it a compare to return true or false only? or can i also use it for to get a value from an xml file?
Aucun commentaire:
Enregistrer un commentaire