I have to write Groovy script log in to a text file, I am able to write request and response of any Soap step using "context.expand". suggest me a way to write Groovy request and response as text file.
to write test request and response I am using def request = context.expand('${SoapRequest#Request}') new File ("D:/RequestFile.txt").write(request)
Aucun commentaire:
Enregistrer un commentaire