Forum Discussion

anu_elias's avatar
anu_elias
Occasional Contributor
16 years ago

Infinite loop of Exception when using loadui agent

Hi,

I have a working testcase in soapui. When i run it on loadui using local ghost agent, the testcase runs fine. But when i run it using an agent I get an infinite loop of exceptions. The loop continues even if I abort the run or delete the agent.

I am using soapUI-Pro-3.6.1 and loadui 1.0.1. The soapui testcase has a datasource step(excel), a groovy script step and a SOAP request step.

I am giving the exception stack below

at com.eviware.loadui.groovy.categories.GroovyOutput.output(GroovyOutput
.java:37)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHel
per.java:781)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:772)
at com.eviware.loadui.groovy.GroovyContextProxy.invokeMethod(GroovyConte
xtProxy.java:278)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHel
per.java:799)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:776)
at com.eviware.loadui.groovy.categories.GroovyOutput.output(GroovyOutput
.java:37)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHel
per.java:781)

Thanks,
Anu

14 Replies

  • anu_elias's avatar
    anu_elias
    Occasional Contributor
    Hi Ole,

    Yes, Is there a way to aggregate the output for each service TPS. I have configured each of the services as a separate testcase within the project.

    Regarding log, since the display is diabled I am unable to look further into the failures. The logs at the machines which I use as agents also does not give much information. I am passing the response error code back from soapui as a property. Is there any way to retrieve the properties of each request when running on distribution mode.

    Thanks for all the help,
    Anu
  • Hi Anu,

    this is not supported out of the box but it should be easy to create a custom component that does this for you... let me ponder over this over the holidays and I'll see what I can come up with!

    regards,

    /Ole
    eviware.com
  • anu_elias's avatar
    anu_elias
    Occasional Contributor
    Hi Ole,

    Thanks a lot for that .

    Also with respect to the logging query, when I run a testcase in 2 agents, i am getting all failures from one of the agents. How do I debug the reason. The table log display is disabled for distributed mode. And the local log does not provide much information regarding the request or response. Please tell me a work around for this also.

    Thanks for all the support,
    Anu
  • Hi Anu,

    try configuring a log file for the TableLog component (in its configuration dialog), it will be created on each agent and you should be able to see the logged errors there instead.

    Does that help?

    regards!

    /Ole
    eviware.com