I have everything set up as above: the Event and Target. My entire script is:
log.info testStepResult.getClass()
I now run a test that has two steps: a JDBC and AMF. The script log says:
Thu Sep 19 07:26:47 PDT 2013:INFO:class com.eviware.soapui.impl.wsdl.teststeps.JdbcTestStepResult
Thu Sep 19 07:26:47 PDT 2013:INFO:class com.eviware.soapui.impl.wsdl.teststeps.AMFTestStepResult
Of course the workaround (confirmed working) is:
if(testStepResult instanceof com.eviware.soapui.impl.wsdl.teststeps.AMFTestStepResult) ...
at the start of my script.
But this seems like the Target functionality is not right?