Javascript – How to parse in Postman body response from XML format
Using POST request in Postmat I received a body response as XML data like this. <?xml version='1.0' encoding='UTF-8'?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:getAuthenticationTokenResponse xmlns:ns2="http://some_url.com" xmlns:ns3="http://some_url.com"> <return>111222333</return> </ns2:getAuthenticationTokenResponse> </S:Body> </S:Envelope> And I need to get somehow value 111222333 as a collection variable.…