也许
xml2js
const xml2js = require('xml2js'); xml2js.parseString(pm.response.text(), function (err, result) { console.log(result); });