Contributions
Re: Require SOAP Action on a mock response teststep
Hi nmrao, thanks for your reply. Am I correct in my understanding that the log.info will log this in the Script log, but not do any validation on it? Cause that's what it's doing with me.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes1CommentRe: Require SOAP Action on a mock response teststep
Hi msiadak, thanks for your response. I think I did exactly the same as you describe, but SoapUI NG doesn't validate for SOAPAction. What I did was create a new VirtResponse Step, selected the operation and interface, filled the port and path and clicked OK. Next filled the response message. When running the test with an incorrect SOAPAction, the step still validates and no error is returned to sender. Is there some setting or property I can change to make my SoapUI NG work the same as yours?7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes0CommentsRequire SOAP Action on a mock response teststep
For mock services there is a property "Require SOAP Action" I can set, to ensure the service consumer sends the proper SOAP action. For amock response teststep I can't find that property. Is there an easy way to make sure in a mock response teststep that: a header SOAPAction is sent this SOAPAction header equals the soap action of the selected action in this step Bothcan be done with a validation, but then I would have to find and fill the correct soapaction (and type the header) manually for every step. It would be much easier and less error prone to do that when the correct soap action is read from the selected action for the teststep. Is there a way to do that?7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes5Comments