When Yaak receives a malformed XML response from the server it is shown as well formed in the YaakUI. This results in the tester seeing a response that never actually happened.
e.g.
Server sends (note the missing </root>):
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<0>
<id>57ab8bfa-dcad-4649-9442-3b13010e852d</id>
<username>Damaris76</username>
</0>
Yaak UI shows (note the addition of </root>):
<?xml version="1.0" encoding="UTF-8"?>
<root>
<0>
<id>57ab8bfa-dcad-4649-9442-3b13010e852d</id>
<username>Damaris76</username>
</0>
</root>
I have a Mockoon mock API here https://github.com/eviltester/thingifier/tree/master/docs/mockapis/mockoon/fromhell
Which can be used to replicate the issue using GET /malformed/xml

Please authenticate to join the conversation.
Needs Triage
Feedback
Bug
About 1 year ago

Alan Richardson
Get notified by email when there are changes.
Needs Triage
Feedback
Bug
About 1 year ago

Alan Richardson
Get notified by email when there are changes.