Defender
14 years agoContributor
SoapUI does not replace header with customized one
Perform the following actions:
1. Create any resource then POST (or PUT) method then valid request.
2. Create "Content-Type" & Accept parameters with "Header" type for resource of step 1. Fill in them with "application/json" values.
3. Run the request. Verify the RAW tab for the request.
You can see the values for parametrized headers are "application/xml".
4. Delete "application/xml" values from "Accept" & "Media Type" dropdowns. Redo step 3.
You can see correct "application/json" value for Accept header but blank value for Content-Type header.
Verified on Build soapui-pro-3.6.2-daily-2011-05-13-[1], Build Date 2011/05/13 02:25
1. Create any resource then POST (or PUT) method then valid request.
2. Create "Content-Type" & Accept parameters with "Header" type for resource of step 1. Fill in them with "application/json" values.
3. Run the request. Verify the RAW tab for the request.
You can see the values for parametrized headers are "application/xml".
4. Delete "application/xml" values from "Accept" & "Media Type" dropdowns. Redo step 3.
You can see correct "application/json" value for Accept header but blank value for Content-Type header.
Verified on Build soapui-pro-3.6.2-daily-2011-05-13-[1], Build Date 2011/05/13 02:25