Forum Discussion

ricka's avatar
ricka
New Contributor
15 years ago

Error with Amazon Cloud Testing

Does anyone actually have Amazon Cloud Testing working? I followed the directions to use the AMI which booted successfully. We are able to connect to the agent in distributed mode. We can even do simple testing with a web page load test. However, we cannot get soapui tests to load successfully on the agent. Every time we try to load and execute them, a ton of error output pours out, including some of the codebase. The exception is provided at the end of this post. Keep in mind we have these same tests running in distributed mode with other computers on our network.

Does distributed mode work with soapui tests yet? Is there a problem with the AMI's version of loadui-agent?

Stack trace:

from type 'java.lang.String' to type 'com.eviware.loadui.api.model.SceneItem'; nested exception is java.lang.NullPointerException
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:40)
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:138)
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:111)
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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy23.convert(Unknown Source)
at com.eviware.loadui.impl.agent.ControllerImpl$SceneAgent.run(ControllerImpl.java:225)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.<init>(SoapUISamplerComponent.java:198)
at com.eviware.loadui.components.soapui.SoapUIBehaviorProvider.loadBehavior(SoapUIBehaviorProvider.java:38)
at com.eviware.loadui.impl.component.ComponentRegistryImpl.loadBehavior(ComponentRegistryImpl.java:136)
at com.eviware.loadui.impl.model.CanvasItemImpl.loadComponent(CanvasItemImpl.java:255)
at com.eviware.loadui.impl.model.CanvasItemImpl.init(CanvasItemImpl.java:137)
at com.eviware.loadui.impl.model.SceneItemImpl.init(SceneItemImpl.java:115)
at com.eviware.loadui.impl.conversion.StringToSceneItemConverter.convert(StringToSceneItemConverter.java:34)
at com.eviware.loadui.impl.conversion.StringToSceneItemConverter.convert(StringToSceneItemConverter.java:25)
at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:393)
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:37)
... 26 more
  • Hi!

    sorry for your troubles and great thanks for posting this, we'll dig into it and get back to you as soon as possible!

    kind regards,

    /Ole
    eviware.com
  • ricka's avatar
    ricka
    New Contributor
    Could you be more specific? Is the problem with loadui, loadui-agent, or the AMI's version of loadui-agent? Also, I see you already have a 1.0.1 beta out. Is the fix in the nightly build for it (loadui or loadui-agent)? If it is not, do you have a rough estimate of when this fix would be available? We are very anxious to get this working and would also love to help or provide feedback if necessary.
  • Hi!

    Unfortunately this is a bug in the loadui-agent in the amazon AMI, so you would either need to replace the agent on a deployed instance AMI with the 1.0.1 snapshot version or wait for the 1.0.1 release next week!

    Sorry to keep you waiting...

    regards!

    /Ole
    eviware.com