Forum Discussion

tapwaterbuffalo's avatar
8 years ago

Trying to develop a SoapUI OS plugin with the @PluginTestStep annotation

Good afternoon!

 

I'm trying to develop a plugin using the new plugin API with the @PluginTestStep annotation.

 

I keep getting an "Object is not an instance of declaring class" when I try to provide my own buildTestStep/createNewTestStep/canCreate methods.

 

I think this is because SoapUI's plugin annotation handler AutoTestStepFactory class might have the wrong arguments for all three occurences of its method.invoke - I think perhaps the first argument should be the object which to call the method from, rather than simply passing along the arguments. 

 

I'm not sure if this is an actual bug or a misunderstanding on my part. The samples I found don't bother declaring the methods so default to the exception handler which injects default names/configurations.

No RepliesBe the first to reply