ContributionsMost RecentMost LikesSolutionsRe: In soapui pro, unable to run groovy class : class not found (was OK in 2.5)I try in soapUI 2.5 : New testCase + New groovy script + def greet = new soapui.demo.Greet( "Ole", log ) greet.salute() Run : every things are OK. Do the same thing with soapUI pro 3.0.1, this fails : Class not found. I try to modify my 3.0.1 preferences : same problem, the groovy class is not found.In soapui pro, unable to run groovy class : class not found (was OK in 2.5)Hello, I try to build my own groovy class. As it does not work, so I try to use the "greet class". def greet = new soapui.demo.Greet( "Ole", log ) greet.salute() => unable to resolve class soapui.demo.Greet Of course I checked the preferences and I check that the file Greet.grovy file is in the right folder. But where are the compiled java classes ? Does the groovy classes automaticaly loaded every each 5 seconds? Thanks, PHL.Is it possible to read description of a request by groovy ?Hello, SoapUi pro reads the WSDL and proposes to the end user a form to create request and shows the different parameters. I would like to use this information, in order to know: - if the sessionID parameter is used in this webservice ? - if the sessionID parameter is mandatory in this webservice ? And also, in order to have an easy way to create dynamicaly a request that I will be send by soapui. Thanks, PHL.Re: wsdl not being loaded correctlyAre you shre of the four parameters ? Post our WSDL and check that the WSDL says 4 parameters. PHL.How to set by code soap request args ?Hello, I would like to create a groovy scipt like : Webservice1([arg1:toto,arg3:foo,arg10:unused]) Then the groovy script has to : - check that arg1 is defined for Webservice1 (soapui know it, because the form windows shows arg1, arg2, arg3) - then put the value to arg1, - check that arg3 is defined and put the value, - call the soa request (for instance with as step of a testcase). - says : warning the arg2 is undefined, but is mandatory - don't care of arg4 that is an optional argument. - don't care of arg1à that is undefined for this web service Is it possible ? How ? with an easy way, because I have 100 Webservices with 10 arguments (some of them are list of ...) Any pointers ? Thanks, PHL."on error GOTO x (logout)"Hello, With the testcase's options, I can say to Soapui for a testcase (so for all the steps in this testcase) : on error stop, or on error continue. I would like to say : On error goto step x (where x will be a logout request, in order to to be "nice" with the server). What is the simplest way to do that ? PHL.Re: [SOLVED]Problem with HashMap in groovyHello, I use : context.setProperty("MyOwnJavacomplexObject",object) ; and this works perfectly. My object is the right one. So what are the diffrences between : - context.setProperty("MyOwnJavacomplexObject",object) - context.MyOwnJavacomplexObject = object PHL.Re: Reading Data From Excel sheetI know that there is a commercial product : a java library that allows you to read and write excel file. You can add it in soapui and use it. The entry point is http://www.teamdev.com/jexcel/index.jsf. PHL.How to get "where the soap request is used in 1000 testcases ?"Hello, Two years ago, a collegue has tested a webservice : 100 webservices and 1000 testcases. Now, I am new in the projet, ands of course the collegue is not in the company. I can't run the webservice (the server willbe availble in a week). I would like to find which TestCase uses the Soap Request foo ? Any existing way ? How to do that ? My first idea is to parse the soapui project file. Other idea ? If I do it, is it possible to give it to the soapui.org ? How ? Thanks, PHL.Re: webserviceTry to open your p12 file with openssl, so you will sure that you have a P12, at the right format and the password. Chek the java security library or your jvm. I remember a bug according to the JVM version. PHL.