CaryB
12 years agoContributor
[Resolved] Capturing request xml with property names
I'm stumped with a custom action I wrote to save the SOAP requests/responses. It works fine with one exception. I make use of a number of global properties and the values are being saved instead of the property names. The problem this poses is that the tests are to be shared (hence the logic behind the properties in the first place). The idea is that as long as everyone has the same properties defined they can run the tests w/o having to change things like system credentials.
So what I need to figure out is how to save ${my_password} to the file instead of secret_password.
Currently, I'm using
I've tried the getRawRequestData() method but that isn't what I need either.
Any ideas?
So what I need to figure out is how to save ${my_password} to the file instead of secret_password.
Currently, I'm using
XmlHolder xml = new XmlHolder(wsdlTestStepResult.getRequestContentAsXml());
I've tried the getRawRequestData() method but that isn't what I need either.
Any ideas?