Contributions
Not able to fetch node value of XML element
Hi folks, Need your help, I am fairly aware of XPath and how to fetch node value of XML element value via XPath in SoapUI. But for below SoapUI response, I am not getting expected result. Response XML ========= <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <n:addResponse xmlns:n="http://www.parasoft.com/wsdl/calculator/"> <n:Result xsi:type="xsd:float">11.0</n:Result> </n:addResponse> </soap:Body> </soap:Envelope> XPath expression used ================ declare namespace n='http://www.parasoft.com/wsdl/calculator/'; declare namespace soap='http://schemas.xmlsoap.org/soap/envelope/'; //soap:Body/n:addResponse/n:Result Result ====== <n:Result xsi:type="xsd:float" xmlns:n="http://www.parasoft.com/wsdl/calculator/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">11.0</n:Result> Please guide.1.4KViews0likes2CommentsRe: Where to place my .jar in SoapUI directory
found another link 'http://forum.soapui.org/viewtopic.php?f=1&t=22753' here it suggests to post jar in 'bin/ext'.. i did that used import keyword to get data from jar.. still it does not work for me... It's urgent for me.. guidance on this would be highly appreciated Thanks4.8KViews0likes0CommentsRe: Where to place my .jar in SoapUI directory
Thanks for suggestion but i mostly surfed all links before raising this post and sadly either I could not understand or it just not had answer to my query. Searched more and and it seems my earlier opinion was correct to place jar file in 'lib' folder. Also it does not look like coding error aswell. May be i am missing some more required setup.4.8KViews0likes0CommentsWhere to place my .jar in SoapUI directory
Hi, Looking forward to access java code using SoapUI (free version), but failing to do so. Listing below the 'java code + Groovy Script' and steps i followed, it would be great if I can be guided on this 1. Create code in java using eclipse package com.sumit; public class access { public String access1(){ return "Sumit Baliyan"; } } 2. Created jar of it 3. Copied jar file in 'lib' folder of SoapUI 4. Now Launched SoapUI 5. Write below code in Groovy Test Step import com.sumit.* access ac = new access() def b = ac.access1() log.info b 6. Run code and I get this error groovy.lang.MissingMethodException: No signature of method: Script8.access() is applicable for argument types: (com.sumit.access) values: [com.sumit.access@cc0596] Note: When i access same jar file in another java program using eclipse it works fine, below is the java code to use jar file code import com.sumit.access; public class HelloWorld { public static void main(String[] args) { access ac = new access(); String b = ac.access1(); System.out.println(b); } }5.3KViews0likes7CommentsData Driven Testing
Hi Was looking forward to data driven testing using SoapUI. Surfed and found its is possible in SoapUI by using groovy scripting and in SoapUI pro it will be just selecting some options. Since, for now i am looking for solution in SoapUI version and Not Pro. It would be great if the any pre-requisite to set it would be shared also the groovy script that could accomplish this task. Thanks Sumit Baliyan730Views0likes1Comment[Resolved] Transaction Testing
Friends, I have been using SoapUI for SOAP based wsdl testing, where we provide input XML and look for the output XML. Recently we started using LoadUI for load testing individual web services. Now we have a requirement where we look to test transactional webservice i.e. where one service after getting executed calls another web service and send some data to it for processing. I surfed around and found the possible way is to create test case of such scenario in soapui itsel, so need guidance on how to get this done. Thanks Sumit1.1KViews0likes2Comments