Contributions
JDBC Datasource defaults to row 1 instead of row 0
This is more a bug report than a question, but I'm not sure how to report defects. Anybody have any ideas how? I noticed that when I create a new JDBC datasource, the default Start Row in the settings defaults to 1 instead of 0. This means the datasource doesn't fetch the first item of data in the DB. For the datasource dialog, the setting is buried in the setting dialog where it's not obvious (whereas for, say, an Excel datasource it is on the main dialog, and obvious). This had me puzzled for a while until I worked out what was happening. I mentioned it to a colleague and he realized that that was the cause of an issue that had been bugging him for a while, so it ks obviously causing issues. Shouldn't a new JDBC datasource default to a Start Row of 0?Solved7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes3CommentsCalling one groovy library method from another groovy library method
We are starting to think about building up our store of common groovy libraries. If I have two classes and want to call a method from class 2 from a method in class 1, having called the class 1 method in a Groovy script, how can I do this? Currently I get a compilation error. Would I need to import class 2 into class 1?7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes2Comments- 7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes0Comments
Re: Remove property from Properties step
To remove all properties from the Properties step in a test case: def targetStep = testRunner.testCase.getTestStepByName("Properties"); for(prop in targetStep.getProperties()){ targetStep.removeProperty(prop.getKey()); }7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews1like2CommentsValue != null in Message Content Assertion
Hi all, I am using the Message Content Assertion dialog to assert on an object in a response. I basically just want to assert it is not null. Easy in script, but how do I do it in the dialog "Expected Value" field? See image attached. Regards7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes1CommentRe: REST Request keeps changing, does not save correctly
I'm currently on 1.9.0-m-SNAPSHOT and haven't seen the issue recur. I started the project in the open-source version, then moved it into ReadyAPI half way through, and this caused inconsistencies in the project file (according to Smartbear). They're digging in to that, but it may or may not have been a source of the problem.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes0CommentsRe: Plugins for offline device
Unfortunately, after trying this, it does not appear to work. This appears to hold true for most plugins I've tried, except the GIT plugin which worked okay, weirdly. I'm currently using Ready! API 1.9.0-m-SNAPSHOT 1/. I have tried dropping the JAR files into a local directory and installing them using the Plugin Manager. This always throws an error "com.eviware.soapui.plugins.MissingPluginClassException: No plugin class found in C:\Users\Test04\Downloads\soapui-groovy-console-plugin-1.0-plugin.jar" 2/. Dropping the JARs directly into .soapui/plugins directory causes SOAPUI to fail to load. The following is dumped during the startup process, but SOAPUI halts: 13:56:35,143 WARN [PluginLoader] No plugin classes found in JAR file C:\Users\Test04\.soapui\plugins\soapui-emailteststep-plugin-1.0-plugin.jar 13:56:35,152 ERROR [PluginManager] Couldn't resolve plugin dependency order. This may impair plugin functionality. com.eviware.soapui.plugins.MissingPluginClassException: No plugin class found in C:\Users\Test04\.soapui\plugins\soapui-emailteststep-plugin-1.0-plugin.jar at com.eviware.soapui.plugins.PluginLoader.a(PluginLoader.java:120) at com.eviware.soapui.plugins.PluginLoader.b(PluginLoader.java:323) at com.eviware.soapui.plugins.PluginDependencyResolver.<init>(PluginDependencyResolver.java:43) at com.eviware.soapui.plugins.PluginManager.loadPlugins(PluginManager.java:102) at com.eviware.soapui.SoapUIProCore.loadPlugins(SoapUIProCore.java:307) at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:148) at com.eviware.soapui.SoapUIProCore.init(SoapUIProCore.java:294) at com.eviware.soapui.SoapUIProCore.<init>(SoapUIProCore.java:222) at com.eviware.soapui.SoapUIUserInterfaceProCore.<init>(SoapUIUserInterfaceProCore.java:26) at com.eviware.soapui.SoapUIUserInterfaceProCore$$FastClassByGuice$$5232b4e6.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89) at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:98) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73) at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:147) at com.google.inject.internal.Initializer.injectAll(Initializer.java:92) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:173) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217) at com.netflix.governator.guice.LifecycleInjector.createChildInjector(LifecycleInjector.java:254) at com.netflix.governator.guice.LifecycleInjector.createInjector(LifecycleInjector.java:321) at com.netflix.governator.guice.LifecycleInjector.createInjector(LifecycleInjector.java:275) at com.smartbear.ready.ui.ReadyApiMain.main(ReadyApiMain.java:70)8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0Comments- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0Comments