Contributions
Re: Urgent Help
you are missing namespace in xpath try something like import com.eviware.soapui.support.XmlHolder def holder = new XmlHolder(messageExchange.responseContentAsXml); def node = holder.getNodeValue("//*[local-name() = 'Messages ']//*[local-name() = 'Message'][1]//*[local-name() = 'Type']/text()"); log.info(node);775Views0likes0CommentsRe: Multiple projects with the soapui plugin.
Hi, No I didn't. The reason why is because I coundn't trace results for particular results. As you said "Configure this parameter to use the 2 output directories where soapui stores xml junit files" -> this is ok for XML junit files ("Maven surefire reports"). But I needed also reports (*.txt) produced by SoapUI. Now I have a situation with > 2100 tests divided into submodules and Jenkins work pretty well with them12 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes0CommentsRe: add REST Request to Test for resources with the same path
Not sure I get you... Why you need more resources with same name? I thought path is important here. If your requests fails, try check option "Normalize Forward slashes" in SoapUI preferences-> HTTP Settings12 years agoPlace ReadyAPI QuestionsReadyAPI Questions983Views0likes0CommentsRe: Managing variables in a http request
Yes, you can create regular java .jar file, add it into classpath and restart soapui. See http://www.soapui.org/Developers-Corner/extending-soapui.html for details(you don't need to activate listeners or actions,just create your custom methods).1.1KViews1like0CommentsCloned REST interface resources
I have defined interface with some Resource path, and some parameters inside. Default [/service_endoint?param1=sample1¶m2=sample2] containing method named e.g. "MethodA" I have another Resource which is cloned from previous one, but with different parameters inside clonedDefault [/service_endoint?paramA=sampleA¶mB=sampleB] containing method named "MethodA" too Then I've created testsuite, testcase and teststep in it. In the testsstep is defined in "Resource/Method scroll menu": Default -> MethodA. I was in situation when I needed change "Default -> MethodA" to "clonedDefault -> MethodA". When I run test, it pass ok using "clonedDefault -> MethodA". When I save project, everything is OK. Then I close SoapUI, start it and in mentioned teststep is "Default -> MethodA" again. I couldn't find that resources has to have uniqe Resources path. Solution was simple - I've added additional "/" before path, so my resource looks like clonedDefault [//service_endoint?paramA=sampleA¶mB=sampleB], but it took me much time to find this behaviour.12 years agoPlace ReadyAPI QuestionsReadyAPI Questions985Views0likes0CommentsPlaceholder for Groovy scripts
Hello, Since I have project, which is hard to test with standard assertions provided by SoapUI, I need to create a lot of "Custom Script" ones. Placing such scripts (methods) in TestCase or TestSuite is unpractical, same as have stored them in external file(s). Is there any other way to store them at one place a and use only calls of them in assertions/setup scripts? It may reduce project size finaly, improve readability, and maybe performance too12 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.6KViews0likes1CommentMultiple [In]Valid HTTP Status Codes
It would be nice to have native support for multiple "[In]Valid HTTP Status Codes" assertions for teststep (same behaviour as assertions like "Contains", "XPath Match", "Script Assertion", ...) I can simulate this feature by created Script Assertion (each with different prefix/sulfix in name) with code bellow, but I'm afraid it's too much memory consuming, while it use groovy everytime. def responseStatus = messageExchange.responseStatusCode; assert ( (responseStatus == 200) || .... || ( responseStatus == 404 ) )12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes0Comments