Store request/response files in local directory with Groovy teststep in soapUI

前端 未结 5 810
挽巷
挽巷 2021-02-09 14:07

Through a groovy teststep in soapUI i want all request and response files to be stored in a local directory with system date.

The groovy teststep in soapUI:



        
5条回答
  •  礼貌的吻别
    2021-02-09 14:27

    Try to use SoapUI's tools to select the value of whatever you want. Right click on the groovy editing area, choose Get Data --> your test suite --> your test case --> your test step --> response. This will get you the entire response. You can also dive deeper into the response with this method.

提交回复
热议问题