XML extraction not working

Apidog has a built-in library for converting XML to JSON. You can do this:

var parseString = require(‘xml2js’).parseString;
var xml = pm.response.text()
parseString(xml, function (err, json) {
console.log(json);
});

Apidog has a built-in library for converting XML to JSON. You can do this:

var parseString = require(‘xml2js’).parseString;
var xml = pm.response.text()
parseString(xml, function (err, json) {
console.log(json);
});

Thank you, that is working.

So do I understand the auto conversation is not working currently?

And also the “smartly extract XML” from content is not working too?


Can somebody check on this?

Thank you for your feedback.We will log this issue.

Thank you. So if I understand this correctly currently is this a bug?

Do we know when this bug expected to be fixed?

I assume the cause of the issue are the XML namespaces, but with complex XML that is common.

Ping me if need help to reproduce

Hi Bence good day. Thanks for your reply. The above mentioned bug is already logged and our development team is also occupied with issues like this. We will keep you posted and will ask if any other information is required from your end.