Forum Discussion

hbjastad's avatar
hbjastad
Contributor
8 years ago

onMockRunn​erStart is called twice

Hi,

 

I created a new project based on WSDL and tried to create a Virt for one of the operations. I then create a new event handler for MockRunListener.onMockRunnerStart, which simply logs that it's being called:

 

log.info "onMockRunnerStart"

 

The result in the script console is this:

Fri Jul 15 09:39:25 CEST 2016:INFO onMockRunnerStart
Fri Jul 15 09:39:25 CEST 2016:INFO onMockRunnerStart

 

I expected onMockRunnerStart to be called once when I start the Virt...

Is this a known bug? A deliberate implementation? Or something I have misunderstood?

 

Looking for similar posts...could this be a side effect of https://community.smartbear.com/t5/SoapUI-Open-Source/Stop-creating-SoapUICore-twice-on-startup/m-p/108276

 

(Recreated from https://community.smartbear.com/t5/SoapUI-NG/onMockRunnerStart-is-called-twice/m-p/123108)

6 Replies