Contributions
Propety Layout for custom component
Hi! I try to made display a numeric property on my layout with a textfied, but because my property is numeric the default layout display is a potentiometer. createProperty('host', String, '127.0.0.1') createProperty('port', Integer, 8649) ... layout() { property( property:host, label:'Host') property( property:port, label:'Port') } I try to read on the MIG layout site, but that don't help me. Ok I found a workaround by changing the type of the port property by String, but I would like to know if I have other way, like using widget. Where I could find the a widget list and propeties? Do you use a tool to generate your layout? I try to read the groovy code for the soapui mockService, but it is not available on the folder script-components. Where I could found this build in component? By the way, do you have more examples or doc for layout? ;-) A lot of questions!13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes2CommentsRe: [Resolved] Problem to launch loadUi 1.5 on Windows
The C:\Users\danny paradis\.loadui\keystore.jks does'nt exist. But the folder exist with this folders (controller-cache, fileStorage, logs, results, runner-cache) The install was made by an other user (with admin right) because I don't have rigth to install soft on my computer. I will ask to this admin to copy the files on my folder... (I will comme back with feedback) By the way, do you have a zip of the install for windows? I see one for the agent but not found for the loadui? bye Danny13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes0Comments[Resolved] Problem to launch loadUi 1.5 on Windows
First I love use soapUi! The next step for me is to use loadUI. But after intall on windows vista (I follow the step), I try to launch it with loadUI.bat and I could only see the splash screen!!! In the java console I saw those errors: ---------------------------------------------- Java Web Start 1.6.0_25 Utilisation de la version JRE 1.6.0_25-b06 Java HotSpot(TM) Client VM Répertoire d'accueil de l'utilisateur = C:\Users\danny paradis ---------------------------------------------------- c: effacer la fenêtre de la console f: finaliser les objets de la file d'attente de finalisation g: libérer la mémoire h: afficher ce message d'aide m: imprimer le relevé d'utilisation de la mémoire o: déclencher la consignation p: recharger la configuration du proxy q: masquer la console r: recharger la configuration des politiques s: vider les propriétés système et déploiement t: vider la liste des threads v: vider la pile des threads 0-5: fixer le niveau de traçage à <n> ---------------------------------------------------- java.io.FileNotFoundException: C:\Users\DANNYP~1\AppData\Local\Temp\a31c544fa84a4e038a75a0987379277549484\proxy.pac (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source) at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source) at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source) at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source) at com.sun.javaws.Main.initializeExecutionEnvironment(Main.java:1144) at com.sun.javaws.Main.continueInSecureThread(Main.java:195) at com.sun.javaws.Main$1.run(Main.java:110) at java.lang.Thread.run(Unknown Source) Launching loadUI Build: loadUI-Dist-2011-06-13-[3] 2011/06/13 20:56 log4j:WARN No appenders could be found for logger (com.eviware.loadui.fx.WindowControllerImpl). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Configuring log4j from [C:\Program Files\eviware\loadUI-1.5.0\soapui-log4j.xml] 11:44:19,869 WARN [SoapUI] Missing folder [C:\Program Files\eviware\loadUI-1.5.0\.\ext] for external libraries 11:44:21,847 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\danny paradis\soapui-settings.xml] 11:44:25,622 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program Files\eviware\soapUI-Pro-3.5.1\bin\scripts] 11:44:27,813 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include 11:44:27,930 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema 11:44:27,940 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace 11:44:27,943 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd 11:44:27,947 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime 11:44:27,951 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime 11:44:27,955 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envelope/ 11:44:27,964 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encoding/ 11:44:27,967 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-envelope 11:44:27,975 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-encoding ShellTUI: No standard input...exiting. -> Framework started! Exception in thread "SpringOsgiExtenderThread-10" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpClientProvider' defined in URL [bundle://31.0:0/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'validatorHttpsClient' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validatorHttpsClient' defined in URL [bundle://31.0:0/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.eclipse.jetty.client.HttpClient com.eviware.loadui.http.HttpClientFactory.createHttpsClient()] threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpClientProvider' defined in URL [bundle://31.0:0/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'validatorHttpsClient' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validatorHttpsClient' defined in URL [bundle://31.0:0/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.eclipse.jetty.client.HttpClient com.eviware.loadui.http.HttpClientFactory.createHttpsClient()] threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:167) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ... 14 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validatorHttpsClient' defined in URL [bundle://31.0:0/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.eclipse.jetty.client.HttpClient com.eviware.loadui.http.HttpClientFactory.createHttpsClient()] threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 28 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.eclipse.jetty.client.HttpClient com.eviware.loadui.http.HttpClientFactory.createHttpsClient()] threw exception; nested exception is java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ... 37 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at com.eviware.loadui.http.HttpClientFactory.createHttpsClient(HttpClientFactory.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ... 38 more Caused by: java.io.FileNotFoundException: C:\Users\danny paradis\.loadui\keystore.jks (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.jetty.util.resource.FileResource.getInputStream(FileResource.java:274) at org.eclipse.jetty.http.ssl.SslContextFactory.getKeyStore(SslContextFactory.java:872) at org.eclipse.jetty.http.ssl.SslContextFactory.createSSLContext(SslContextFactory.java:757) at org.eclipse.jetty.http.ssl.SslContextFactory.doStart(SslContextFactory.java:199) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.client.HttpClient.doStart(HttpClient.java:465) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at com.eviware.loadui.http.HttpClientFactory.createHttpsClient(HttpClientFactory.java:38) ... 43 more Could you help me to fix that? Danny13 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.6KViews0likes4CommentsRe: Trouble with Demo Listener Example
I received this response from support. It works fine with the update! ;-) bye --------------------------------------------------- Hello, You are not implementing listener class correctly, methods should be: public void beforeRun( TestCaseRunner testRunner, TestCaseRunContext runContext ) public void afterRun( TestCaseRunner testRunner, TestCaseRunContext runContext ) not public void beforeRun(TestRunner testRunner, TestRunContext runContext) public void afterRun(TestCaseRunner testRunner, TestRunContext runContext) Please see, API docs in Developers corner on www.soapui.org. I guess this since our documentation was wrong. We fixed it. Sorry for inconvenience. Let me know does this helps, robert1.7KViews0likes0CommentsExtend soapUi to export report
Hi all, I want extend soapUi Class to export xml project result to my personal system. But, the javadoc don't contain a lot of detail to help me to start. My project description: 1) I want add an action in the contextual menu of the project icon. (I found how with this page: http://www.soapui.org/Developers-Corner ... oapui.html) 2) I think that, I can write a class in the package com.eviware.soapui.actions that extend the AbstractSoapUIAction. and link it to the action.xml. And after generate a jar on the ...\soapUI-Pro-3.5.1\bin\ext folder. 3)Now I want your help to write my class. Where I can found a Context of soapUI with the right object to export report (xml and pdf) on a temp folder? Any examples could be appreciate ;-) Bye Danny14 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes0Comments