Open donche129 opened 11 months ago
Fixed a typo in the behavior description to make it clear the response is somehow returning only <?xml version='1.0'?>
instead of the complete XML. @mefellows apologies if there was any confusion!
Thanks @donche129!
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
Able to set the expected response
Content-Type
header toapplication/xml
and be able to match the response to valid xml with the complete data.Actual behaviour
When setting the interactions expected response
Content-Type
header toapplication/xml
, the returned response from the pact mock server is always only<?xml version='1.0'?>
and does not include the rest of the xml data.Steps to reproduce
Example repo here: https://github.com/donche129/pact-xml-issue
Example test code:
Relevant log files