Hi I want to know, how to send a xml with post request, but using a variable not a file, like this
2 20Thanks
Hi I want to know, how to send a xml with post request, but using a variable not a file, like this
2 20Thanks
Hi Gustavo,
What have you tried already? It should be as simple as putting your xml in the data argument of POST On Session
Something like this:
your test case
Create Session appname http://you.app.server
${xml}= Set Variable <root><example></example><example></example></root>
${resp}= POST On Session appname /endpoint data=${xml}
You should also be able to use the XMLLibrary to modify your xml before sending it.
I couldn’t find an example, as it’s been a while since I did this.
Hope that helps,
Dave.