Forum Discussion

panishet's avatar
16 years ago

Event Listeners in soapUI

Hi i fallowed below link to run the listeners in soapUI

http://soapui.com/architecture/extensions.html.

we are using soapUI free version. I ran the testcases for eventListener as per below link.its loading configuration file and listerner class as per below output

INFO  [SoapUI] TestCase [TestCase 5] took 992305 nanoseconds.

INFO  [SoapUI] Added [file:/C:/workspace/core/ext/soapui-demo.jar] to classpath

INFO  [DefaultSoapUICore] Adding listeners from [C:\workspace\core\listeners\demo-listeners.xml]

But the Problem is when iam running listener class am not getting the
out put of beforeRun and afterRun

public void beforeRun( TestRunner testRunner, TestRunContext 
runContext )
{
startTime = System.nanoTime();
SoapUI.log("Before==============================");
SoapUI.log("******************"+testRunner.getStartTime());
}


Please helpme on this issue.
  • Hi!

    can you attach your listener .java file and the listener config so we can try to reproduce?

    regards,

    /Ole
    eviware.com