Contributions
Re: Datagen issue
Hi, One possible solution is to save the value of the variable "initd" into the properities file. Then to use its value into the request. Here is an example: //This initialize the properties file which will be used into the groovy script. def initParams = testRunner.testCase.getTestStepByName( "initParameters" ); //This will save the current value of the "initd" into the propertiesFile "initParameters" initParams.setPropertyValue("initd",String.valueOf(initd)) //This will display into the log the current value of initd log.info("The vallue of the the initd: ${initd} ") I hope that will help you663Views0likes0CommentsPrintln in groovy scrtipt in SoapUi
Hello All I have noticed that this command does not display nothing in SoapUi: println "test phrase". When i use "log.info" - for example log.info ("this is displayed with log info ") - i see the output. So the question is - how to handle this situation? Is the log.info is the only way to see the current value of given variable?10KViews0likes1CommentHow to run SoapUI with different java versions
Hello, All, I have two versions installed on my windows XP. jdk1.5.0_22 and jdk1.6.0_23. But in soapUI system properties here are the fowolling info: java.home=c:\program files\eviware\soapui-3.5\jre java.io.tmpdir=C:\DOCUME~1\emild\LOCALS~1\Temp\ java.library.path=C:\Program Files\eviware\soapUI-3.5/bin java.runtime.name=Java(TM) SE Runtime Environment java.runtime.version=1.6.0_18-b07 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.6 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.6.0_18 How to make SoapUI to use JDK 1.6.0 and all of its classes?17KViews0likes1CommentHow to load multiples properties files
Hello All, I have 2000 sets of parameters, which have to be send to the specific web-method. I have parametrized my request to the web-method and everything is ok for a single properties file. Basically there are 2000 properties files, which must be send one by one to the web-method. How can I load them into the test? May i directly load properties directly from the file system during each iteration of the test-runs? Does somebody have the groovy syntax for something similar or there is a better way? I have mentioned groovy script, because i am using it for passing some custom data during the tests and to handle the data between the test steps.859Views0likes0Comments