Contributions
Update Definition using groovy
Hi, All, I have a project which holds multiple test suites. Currently if i need to Update the WSDL definition I do it manually. however, I want to be able to do this using the Load Script at the project level. so when I run my tests via a batch file I can be sure they run against the latest definition 1) is it possible to do this? 2) I only know basic groovy how do I script this? Thanks in advance Ryan1.2KViews0likes1CommentDDT Driver Getting data from specific row VBscript
Hi, I'm trying to use the DDT driver to grab some login details from an xlsx file but I'm having issues when using While Not DDT.CurrentDriver.EOF Here is my code Sub GetUsername_Password Dim Driver ' Creates a driver Set Driver = DDT.ExcelDriver("C:\LoginDetails\loginDetails.xlsx", "Sheet1",true) While Not DDT.CurrentDriver.EOF DDT.CurrentDriver.Next If DDT.CurrentDriver.Value("Permissions")= "Write" Then log.Message "Found" else log.Message "Not found" End If WEnd DDT.CloseDriver(DDT.CurrentDriver.Name) End Sub Basically Iwant to do the following: Open up the excel file find thecolumn "Permissions" Locate the cell"Write" output the username and password for "write" - I havent added this part yet The problem I'm having is that when i run this I get an error stating 'Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record' If I comment Out the line 'While Not DDT.CurrentDriver.EOF ' it finds thecell "Write", but it wont then find the cell "Read" if I want it to. How do I code it so It will find any cell in the permissions column when i specify it in the If statement? Apologies if I have made any obvious mistakes I'm new to vbs. I've attached my sample file Please help Thanks, RyanSolved1.3KViews0likes1CommentContains assertion using Regex failing
Hi, I'm trying to implement some assertions using regex but I cannot get it working properly in my soap response I have an element which looks like this: <UploadResult>BOPS201511001CDIS-7</UploadResult> All I want to do is locate the element and validate the data inside it. my regex to match the datais: ((BOPS)+(\d{4})+(\d{2})+(\d{3})+(CDIS)+-+(\d{1,3})) The issue is I'm not quite sure how to implement this properly. I've tried to use the Contains assertion but it fails. with error missing tolken in response I'm happy to use the 'Contains' assertion or script assertion. Any help would be greatly appreciated Thanks RyanSolved2.1KViews0likes4CommentsElement in request failing validation again regex
I am testing a simple webservice which looks up a VRM in a database and returns vehicle details. The WSDL checks the pattern of the VRM using regex.If I check the VRM against the regex using an online tool I get a match but ifI validate the request in SoapUI I get the following message 'string value 'AA06AAA' does not match pattern for type VRM in type of element the regex is ^[A-Z0-9]{1,10}$ Has anyone else had similar problems? is there a way to see what exactly what SoapUI is validating against? Thanks1.4KViews0likes3CommentsSetting HTTP endpoint based on Soap Response
I am calling a soap service which returns a url in a node in the response. I want to call this url using an HTTP request. whats the best way to set the HTTP end point to the url in the soap response? I'm using SoapUI 5.2.0 Help would be greatly appreciatedSolved1.4KViews0likes2Commentsfailed to load class org.slf4j.impl.staticloggerbinder error launching testrunner from command line
I'm trying to launch testrunner.bat from the command line for the first time but I keep getting the error: failed to load class org.slf4j.impl.staticloggerbinder my command is C:\Program Files\SmartBear\SoapUI-5.2.0\bin>testrunner.bat - FCSV -R"Project Report" - fC:\SoapUI Reports C:\SoapUI Project\test-soapui-project.xml soapui-errors.log reprts the following 015-09-04 13:19:05,809 ERROR [errorlog] java.lang.ClassNotFoundException: com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory java.lang.ClassNotFoundException: com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.eviware.soapui.plugins.LoaderBase.loadAutoFactories(LoaderBase.java:96) at com.eviware.soapui.plugins.LoaderBase.loadFactories(LoaderBase.java:64) at com.eviware.soapui.plugins.PluginLoader.loadPluginFactories(PluginLoader.java:129) at com.eviware.soapui.plugins.PluginLoader.loadPlugin(PluginLoader.java:92) at com.eviware.soapui.plugins.PluginLoader.loadPlugin(PluginLoader.java:42) at com.eviware.soapui.plugins.PluginManager.doInstallPlugin(PluginManager.java:127) at com.eviware.soapui.plugins.PluginManager.access$600(PluginManager.java:38) at com.eviware.soapui.plugins.PluginManager$LoadPluginsTask.computeSequentially(PluginManager.java:406) at com.eviware.soapui.plugins.PluginManager$LoadPluginsTask.compute(PluginManager.java:363) at com.eviware.soapui.plugins.PluginManager$LoadPluginsTask.compute(PluginManager.java:368) at com.eviware.soapui.plugins.PluginManager$LoadPluginsTask.compute(PluginManager.java:351) at java.util.concurrent.RecursiveTask.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.execTask(Unknown Source) at java.util.concurrent.ForkJoinPool.scan(Unknown Source) at java.util.concurrent.ForkJoinPool.work(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Can anyone help me and explain what I need to do please? Thanks4.9KViews0likes5Comments