ContributionsMost RecentMost LikesSolutionsRe: java.lang.ClassNotFoundException on Win 7Maybe there is problem because my Win 7 is virtual? Can anybody help me? I don't know what to do.Re: java.lang.ClassNotFoundException on Win 7 testKrzysztofBober wrote: Install java 6 jdk and set JAVA_HOME - it should works fine. I did it, but nothing has been changed.Re: java.lang.ClassNotFoundException on Win 7 testKrzysztofBober wrote: tom_13 wrote: I have created JAVA_HOME variable with C:\Program Files\Java\jre6, but it does not help. try jdk , not jre I have tried it too, it doesn't help. And I have not jdk folder, there is only jre6.Re: java.lang.ClassNotFoundException on Win 7I have created JAVA_HOME variable with C:\Program Files\Java\jre6, but it does not help.java.lang.ClassNotFoundException on Win 7Hi, I cannot run script on soapUI 3.5.1 on Win 7 I got an error on running: import groovy.sql.Sql from groovy step. There is an error: java.lang.ClassNotFoundException: java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at groovy.sql.Sql.loadDriver(Sql.java:467) at groovy.sql.Sql.newInstance(Sql.java:293) at groovy.sql.Sql$newInstance.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:137) at Script1.run(Script1.groovy:15) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:93) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:51) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runSetupScript(WsdlTestCase.java:850) at com.eviware.soapui.impl.wsdl.panels.testcase.WsdlTestCaseDesktopPanel$SetupScriptGroovyEditorModel$1.actionPerformed(WsdlTestCaseDesktopPanel.java:571) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) This script successful executed on soapUI 3.5.1 on Win XP SP3 Thanks.Set Global Properties by groovyHi all, I know how get global properties (def user = context.expand( '${user}' )) But I got a problem when tried to set it! Help please. How to SET global properties by groovy script?Re: [SOLVED]Problem with HashMap in groovyI have changed map to array on the first level and now it's workingRe: cannot run testrunnerI tried to use soupUI 3.0.1 and got the same error. TestRunner doesn't run. Verssion of java on my PC is 1.6.0_07. Os is Win XP SP2.[SOLVED]Problem with HashMap in groovyI need get HashMap from one script to another. I save it to the context in the first script : def map = new HashMap() map [...] = ... context.mapTestData = map Then get it in second script def curMap = new HashMap() curMap = context.mapTestData My map has three levels and it is a problem, becouse if I show all map ( log.info curMap ) I receive Fri Oct 02 16:56:25 EEST 2009:INFO:{1={extra_parameter=null, ..., expexted=[{line_name=Line_Main, exp_charging=14}, {line_name=Common_Main, exp_charging=34}], ..., loc_area_ident=null}} But if I write log.info curMap[1] or log.info curMap['1'] I get NULL, I don't understend why it working so Can anybody help me, I need to get map from second level P.S I'm using soapUI 2.5.1Re: [SOLVED]Compare ResponseTry do this from groovy after run step1 and step2: def responseStep1 = context.expand( '${Step1 name#Response}' ) def responseStep2 = context.expand( '${Step2 name#Response}' ) if (!responseStep1.equals(responseStep2) ) testRunner.fail("Responses is not equal")