Modifying existing Headers in REST request using Event Handlers
Hello,
Currently I have an Event Handler that uses RequestFilter.filterRequest to add a Handler to only certain Test Cases.
My question is how to Modify existing headers in a REST request using Event Handlers. Specifically - How would I use an Event Handler to Delete this header, and or Modify the Value of this header.
I have tried to use the soapui/api (http://www.soapui.org/apidocs/overview-summary.html) to find classes that I can use, however I am new to it and am unable to find what I am looking for.
If you do answer this question can you please provide a link to how you found the answer in the api/docs?
Thank you
Please refer to message 4 in this thread https://community.smartbear.com/t5/SoapUI-Pro/Reg-Changing-the-header-dynamically/td-p/121441
It says that it removes (deletes) header and then modifies the header to what you need for each request.