Contributions
Work SoapUI Free Version with Selenium WebDriver
Hi, I'm trying to integrate Selenium Webdriver with SoapUI tool as in my project, there is a test case like need to run a webservice from SoapUI and then get a "zipcode" from the response and it should be passed to the GUI to fetch the list of matched customers. SoapUI Version : 5.3.0 free version Selenium WebDriver : 3.4.0 ChromeDriver: 2.46 Java Version: 1.8 I have tried with different versions of Selenium and related dependant JARs but not able to run the selenium script. Here's the sample script executed viaGroovy Script test stepand throwing the below error message. Sample Selenium script: import java.lang.*; import org.openqa.selenium.*; import org.openqa.selenium.chrome.*; launchBrowser() public void launchBrowser() { System.setProperty("webdriver.chrome.driver", "D:\\SoapUI-5.3.0\\bin\\ext\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); driver.get("https://www.google.com"); log.info("Browser launched successfully."); } ERROR:java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.findExecutable(Ljava/lang/String;)Ljava/lang/String; java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.findExecutable(Ljava/lang/String;)Ljava/lang/String; at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:84) at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:186) at Script1.launchBrowser(Script1.groovy:10) at Script1.run(Script1.groovy:5) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:90) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141) at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Anyone guide me what would be the reason or any dependencies missing? Thanks, Karunagara Pandi G815Views0likes0CommentsHow to work with XPath Match Assertion in SoapUI?
Hi All, I'm a beginner for SoapUI tool. I need to get familiar with Assertions concepts in SoapUI. Its quite understandable 'Contains' and 'Not Contains' assertions. I don't know how to validate my web services ( i.e JSON Format ) using XPath Match assertion. Please guide me to get clear about XPath Match assertion. Thanks in advance!11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes1CommentloadUI agent is not connected within a network
Hi, I have installed a loadUI-Agent 2.1.0 in my computer which is connected in a local area network. And then, I have started the agent. It is running successfully. When I work with loadUIPro 2.1.0, followed the steps. 1. Clicked on the New Agent option from the Component Bar 2. Application asked Agent Name and URL. At the same time, at the bottom of the popup, my machine name is displaying. 3. I added that agent (i.e my machine) in the Agents list 4. Created a VU Scenario with SoapUI Runner and Fixed-rate strategy. Rate=1, Sec=1 This is fine...My question is, Can other machine able to connect my agent (i.e. my machine) as a Remote Agent for them? Or, give me the steps to work with loadUI-Agent within a local area network. Thanks,12 years agoPlace ReadyAPI QuestionsReadyAPI Questions987Views0likes0CommentsWork with datasource with Excel using groovy in SoapUI Pro?
I have worked with Datasource with Excel file in SoapUI Pro 4.5.0 tool. Its working fine while doing manually in SoapUI Pro 4.5.0 tool. But I need to execute this process through the script (Groovy). That means, getting input from excel and assign them to Datasource option. Is it possible? The following URL I have used in my sample. http://www.webservicex.com/CurrencyConvertor.asmx?wsdl Thanks in Advance910Views0likes0CommentsHow do I change the SOAP based services to REST based?
Hi, I have a sample webservice url developed in .NET 3.5 which contains a simple method that will add two numbers. Here's the url. http://localhost:5793/Service1.asmx?wsdl When I create a project in SoapUI Pro 4.5.0, I'm getting the SOAP based services. Could you tell me how to convert SOAP based service to REST based? Thanks in Advance!!!753Views0likes0Commentshow can get the response from JSON format using script?
Hi, I'm using SoapUI Pro 4.5.0 and also a beginner for this tool. I need to get the value from the response (JSON format). Can anyone give me sample code for this? Note: I'm using the REST based service not SOAP based service.3.2KViews0likes3Comments