DEV Community

Cover image for How To Parse XML Response in Postman?
Pramod Dutta
Pramod Dutta

Posted on • Edited on

How To Parse XML Response in Postman?

✅Join us - https://sendfox.com/thetestingacademy

In this video, We are discussing about How to Parse a XML Response in Postman.

Code Share : https://codeshare.io/aVxy3z

How To Parse XML Response in Postman

You will learn.

  1. Parse the XML to JSON using var jsonObject = xml2Json(responseBody);
  2. With Json Object You can parse as normal json.

https://stackoverflow.com/questions/42812012/parse-xml-response-to-another-requests-in-postman.

✅✅ More about the API Testing using Postman - https://www.learnapitesting.com

✅ Join Automation NewsLetter -https://sendfox.com/thetestingacademy

✅ Learn Jenkins for QA -
https://bit.ly/learnjenkins-p1

✅ Programming Java -
https://bit.ly/learnjava2020-p1

✅ Test Automation -
https://bit.ly/learnautomation2020

✅ API Testing -
https://www.learnapitesting.com

✅ Cypress Tutorial with LIVE Projects -
https://cypresstutorial.com

--
Be sure to subscribe for more videos like this!

 TheTestingAcademy

Top comments (1)

Collapse
 
lokeshgitacc profile image
lokesh-gitacc

Can you please share a sample code to resolve the below error in postman scripts.
Using "xml2Json" is deprecated. Use "require('xml2js')" instead.