Forum Discussion

djangofan's avatar
djangofan
Contributor
11 years ago

How do I dynamically alter SOAP REQUEST packets?

How do I dynamically alter SOAP request packets? I have either SOAP XML input or POST XML input defined in my test case step but I want to be able to place the current time stamp within a particular node of the request (not the header) before I send the request. Is this possible to do? OR, is it possible to have a "SOAP request template" and dynamically fill in parameter values (using Groovy?) within the request before sending the request? If so, how do I accomplish it?

I've done this sort of thing using pure Java code before but I am hoping SoapUI has something built-in that can do this? If this feature existed, it would save me time and perhaps make the tests easier to understand for other people.