Forum Discussion

Defender's avatar
Defender
Contributor
14 years ago

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
  • Hi!

    Thanks for this, should be working ok in the upcoming nightly build of 4.0.0-SNAPSHOT

    regards!

    /Ole
    eviware.com
  • Hi!

    I'm using Build soapui-pro-daily-2011-06-14-[1], Build Date 2011/06/14 02:31, but I can see this defect unfixed. Could you please clarify this?
  • Hi!

    Could you please indicate the build where this defect is fixed?
  • Defender wrote:
    Hi!

    Could you please indicate the build where this defect is fixed?

    Give me an hour Defender, I'll look into this!

    /Henrik@eviware
  • Sorry, I don get this:
    You can see the values for parametrized headers are "application/xml".

    I get the correct application/json instead.

    I'll ask Ole about this since he seemed to know more about this issue.


    Sorry to keep you waiting

    Henrik
    eviware support