1
Run a script to parse and build xml before and after a request
Source: Kong/insomnia#3534 · opened by @rmclaughlin-nelnet
Is your feature request related to a problem? Please describe. I am currently building an integration with a SOAP XML service. It uses a cumbersone authentication process that I would like to automate with request chaining, but I need to be able to run a script in between each request, and preferably before the first request to parse the response. The initial request requires values to be passed in, but the HTML entities must be encoded, because this is terrible for a human to read it would be nice to run a script before the request that encodes the HTML This is what I am currently doing in postman before the first request to build the xml Then when I get the response I parse the XML like this. Maybe this can be done with request chaining? I don't think I can because the XML I need is inside a string, that is why I do xml2JSON and before I send the next request I have to encode the HTML entities again Last I build two authenticated objects (one for xml, on…
No pledges yet. Be the first to back this.
Comments
Similar requests
Add access to DOMParser or some other XPath utility to Insomnia Designer
1 vote · 0 comments
[Feature Request] Add XPath 2.0 support for XML response filtering
4 votes · 0 comments
Escape XML entities out of XML links before calling browser
1 vote · 0 comments
Consider not smart-previewing response bodies for invalid content-type
3 votes · 0 comments
Allow to upload multiple json at a time when uploading configurations to insomnia
2 votes · 0 comments
No comments yet.