ContributionsMost RecentMost LikesSolutionsRe: external groovy script failsHi, I downloaded and installed the latest night build, now it works. Thanks, Danielexternal groovy script failsHi, I am running an external groovy script from a REST test step. This script returns a String which is used as a request parameter, like this: ${=com.muzicall.Rbt4AllApiSignatureGenerator.sign("${#Project#ochPrivateKey}", request, context, log)} As you can see, the script's input is by means of three parameters - request, context, log. When I run this test step (The REST request) I get the following exception in the SOAPUI log: Thu Jul 08 14:30:50 IDT 2010:ERROR:Error evaluating script groovy.lang.MissingPropertyException: No such property: request for class: Script1 at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:49) at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:241) at Script1.run(Script1.groovy:1) 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.model.propertyexpansion.resolvers.EvalPropertyResolver.doEval(EvalPropertyResolver.java:145) at com.eviware.soapui.model.propertyexpansion.resolvers.EvalPropertyResolver.resolveProperty(EvalPropertyResolver.java:124) at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expand(PropertyExpander.java:159) at com.eviware.soapui.model.propertyexpansion.PropertyExpander.expandProperties(PropertyExpander.java:92) at com.eviware.soapui.impl.wsdl.submit.filters.HttpRequestFilter.filterHttpRequest(HttpRequestFilter.java:87) at com.eviware.soapui.impl.wsdl.submit.filters.RestRequestFilter.filterRestRequest(RestRequestFilter.java:39) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterAbstractHttpRequest(AbstractRequestFilter.java:39) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:31) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:132) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122) at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:75) at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:208) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:778) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:206) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:137) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Here is the script Class and Method definitions: class Rbt4AllApiSignatureGenerator { public static String sign(String key, RestRequestInterface request, PropertyExpansionContext context, Logger log) {Re: Important: Maven plugin is bad or can't be downloadedHi Ole, There is still an issue. I think that the coverage plugin can't be found now. Here's the output of a build I ran just now to check: Started by user anonymous Updating http://svn1/muzicall/qa/soapUI/trunk/AutoTests/Fox Auto Tests At revision 6493 no change for http://svn1/muzicall/qa/soapUI/trunk/AutoTests/Fox Auto Tests since the previous build [workspace] $ /opt/hudson/hudson_home/tools/maven_2.2.1/bin/mvn soapui-pro:test -Dsoapui.scripting.library=/opt/SoapUI/scripts [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - com.muzicall:FoxAutoTests:jar:0.0.1-SNAPSHOT [INFO] task-segment: [soapui-pro:test] [INFO] ------------------------------------------------------------------------ Downloading: http://artifactory:8080/artifactory/repo/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.pom [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:pom:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://www.eviware.com/repository/maven2//eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.pom [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:pom:3.5.1' in repository eviwarePluginRepository (http://www.eviware.com/repository/maven2/) Downloading: http://www.eviware.com/repository/maven2/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.pom [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:pom:3.5.1' in repository eviwareRepository (http://www.eviware.com/repository/maven2) Downloading: http://artifactory:8080/artifactory/private-internal-repository/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.pom [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:pom:3.5.1' in repository deploymentRepo (http://artifactory:8080/artifactory/private-internal-repository) Downloading: http://artifactory:8080/artifactory/repo/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.pom [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:pom:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://artifactory:8080/artifactory/repo/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.jar [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:jar:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://www.eviware.com/repository/maven2//eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.jar [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:jar:3.5.1' in repository eviwarePluginRepository (http://www.eviware.com/repository/maven2/) Downloading: http://www.eviware.com/repository/maven2/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.jar [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:jar:3.5.1' in repository eviwareRepository (http://www.eviware.com/repository/maven2) Downloading: http://artifactory:8080/artifactory/private-internal-repository/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.jar [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:jar:3.5.1' in repository deploymentRepo (http://artifactory:8080/artifactory/private-internal-repository) Downloading: http://artifactory:8080/artifactory/repo/eviware/soapui-coverage-xmlbeans/3.5.1/soapui-coverage-xmlbeans-3.5.1.jar [INFO] Unable to find resource 'eviware:soapui-coverage-xmlbeans:jar:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) eviware:soapui-coverage-xmlbeans:jar:3.5.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=eviware -DartifactId=soapui-coverage-xmlbeans -Dversion=3.5.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=eviware -DartifactId=soapui-coverage-xmlbeans -Dversion=3.5.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1 2) eviware:soapui-coverage-xmlbeans:jar:3.5.1 ---------- 1 required artifact is missing. for artifact: eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1 from the specified remote repositories: central (http://artifactory:8080/artifactory/repo), eviwareRepository (http://www.eviware.com/repository/maven2), deploymentRepo (http://artifactory:8080/artifactory/private-internal-repository), eviwarePluginRepository (http://www.eviware.com/repository/maven2/), snapshots (http://artifactory:8080/artifactory/repo) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Wed Jun 23 10:16:46 BST 2010 [INFO] Final Memory: 10M/89M [INFO] ------------------------------------------------------------------------ Recording test results Finished: FAILURE As you can see it complains about the artifact "soapui-coverage-xmlbeans" (probably required by the plugin). Regards, MikeComplex project creates many unnecessary tmp filesHi, I'm running SoapUI Pro 3.5.1 (build: daily-2010-04-18-[1], but it also happens for the distro build). The OS is Windows Vista Business SP. 2 64bit. I think the JRE is the on installed from the exe (JRE 6u18). The problem we have (not only on my computer) is that the soapUI Pro creates hundreds of tmp xml files in the composite project. Here's a screenshot to illustrate the problem: Regards, MikeRe: Add a "load data" sub-menu to the "Run TestCase" stepThanks Ole!Important: Maven plugin is bad or can't be downloadedHi, We are running the tests automatically in hudson using the maven-soapui-pro plugin. Up until recently it was working fine, but now that you switched site (I soppose) it stopped. Here is the complete Hudson output: Started by user anonymous Updating http://svn1/muzicall/qa/soapUI/trunk/AutoTests/Fox Auto Tests At revision 6427 no change for http://svn1/muzicall/qa/soapUI/trunk/AutoTests/Fox Auto Tests since the previous build [workspace] $ /opt/hudson/hudson_home/tools/maven_2.2.1/bin/mvn soapui-pro:test -Dsoapui.scripting.library=/opt/SoapUI/scripts [INFO] Scanning for projects... Downloading: http://artifactory:8080/artifactory/repo/eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.pom [INFO] Unable to find resource 'eviware:maven-soapui-pro-plugin:pom:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://www.eviware.com/repository/maven2//eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.pom 0/13K 2/13K 3/13K 5/13K 7/13K 9/13K 10/13K 13/13K 13/13K 13K downloaded (maven-soapui-pro-plugin-3.5.1.pom) [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.pom - IGNORING Downloading: http://artifactory:8080/artifactory/repo/eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.jar [INFO] Unable to find resource 'eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://www.eviware.com/repository/maven2//eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.jar 0/15K 2/15K 3/15K 4/15K 6/15K 7/15K 9/15K 10/15K 11/15K 13/15K 14/15K 15/15K 15K downloaded (maven-soapui-pro-plugin-3.5.1.jar) [WARNING] Unable to get resource 'eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1' from repository eviwarePluginRepository (http://www.eviware.com/repository/maven2/): Error transferring file: Connection refused [INFO] Cannot find mojo descriptor for: 'soapui-pro:test' - Treating as non-aggregator. [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - com.muzicall:FoxAutoTests:jar:0.0.1-SNAPSHOT [INFO] task-segment: [soapui-pro:test] [INFO] ------------------------------------------------------------------------ Downloading: http://artifactory:8080/artifactory/repo/eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.jar [INFO] Unable to find resource 'eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1' in repository central (http://artifactory:8080/artifactory/repo) Downloading: http://www.eviware.com/repository/maven2//eviware/maven-soapui-pro-plugin/3.5.1/maven-soapui-pro-plugin-3.5.1.jar [WARNING] Unable to get resource 'eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1' from repository eviwarePluginRepository (http://www.eviware.com/repository/maven2/): Error transferring file: Connection refused [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=eviware -DartifactId=maven-soapui-pro-plugin -Dversion=3.5.1 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=eviware -DartifactId=maven-soapui-pro-plugin -Dversion=3.5.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1 from the specified remote repositories: central (http://artifactory:8080/artifactory/repo), eviwarePluginRepository (http://www.eviware.com/repository/maven2/), snapshots (http://artifactory:8080/artifactory/repo) eviware:maven-soapui-pro-plugin:maven-plugin:3.5.1 from the specified remote repositories: central (http://artifactory:8080/artifactory/repo), eviwarePluginRepository (http://www.eviware.com/repository/maven2/), snapshots (http://artifactory:8080/artifactory/repo) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 2 seconds [INFO] Finished at: Mon Jun 21 14:57:11 BST 2010 [INFO] Final Memory: 3M/38M [INFO] ------------------------------------------------------------------------ Recording test results Finished: FAILURE Regards, MikeAdd recursive logging for test casesHi, Many times we are using Test Cases as functions to group common functionality, or to define test case templates for different cases where only a few properties change. This is working very well for us, but when a case which calls other cases fails, you can only see the history & log for the "primitive" steps (Test Request, REST Test Request and so on) but you can't see the history for a "Run TestCase" step which makes it very difficult to find out what went wrong. Regards, MikeAdd a "load data" sub-menu to the "Run TestCase" stepHi, It would be useful to have a sub-menu in the "Run TestCase" step editor, with which you could insert properties from the case/suite/project etc. Something like this: Regards, MikeRe: pom.xml contents duplicated many times inside settings.xmlHi, This also happens in other files, for example this settings.xml file from a Test Suite: <?xml version="1.0" encoding="UTF-8"?> <con:testSuite name="Functions" id="e8043872-077a-40c6-827b-a6551c25cb60" xmlns:con="http://eviware.com/soapui/config"> <con:description/> <con:settings/> <con:runType>SEQUENTIAL</con:runType> <con:properties/> <con:reportParameters/> <con:testSuite name="Functions" id="e8043872-077a-40c6-827b-a6551c25cb60"> <con:description/> <con:settings/> <con:runType>SEQUENTIAL</con:runType> <con:properties/> <con:reportParameters/> </con:testSuite> </con:testSuite> Re: Maven plugin: globalProperties and projectPropertiesThanks a lot! This helped. Daniel