Overview
This guide covers the process for testing cXML Punchout using the Postman for Chrome tool. There are add-ons available for other browsers, but this guide will show examples using Postman.
...
- Punchout URL (i.e. https://yoursite.com.au/punchout.aspx)
- Username
- Password
- Sample Punchout Setup Request file (see sample at the end of this article)
- API testing app / browser add-on:
- Postman (Chrome) - https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en
- Poster (Firefox) - https://addons.mozilla.org/en-US/firefox/addon/poster/
Step-by-step guide
- Open Postman.
- Enter the URL in the URL request box.
- Set the request type to 'POST'.
- Paste the sample Punchout Setup Request XML into the 'Body' dialogue box as raw data. You can find the code at the end of this article.
- Replace the #USERNAME# with your username.
- Replace the #PASSWORD# with your password.
- Click 'Send' (top right of browser window).
- If the request is successful, you will get a '200 OK' response code in the response dialogue box.
- If this is the case, you can continue on testing within your ERP system.
- If you get a blank response dialogue box (even if the status returns '200 OK'), check that the URL, your username, and password are all correct.
- If you still get a blank response, contact your supplier for further assistance.
Sample Punchout Setup Request
...