public class AutoTestStepFactory extends WsdlTestStepFactory
A factory class to create test steps defined through a plugin. The Test Step class (in the plugin) should define the following static methods to be able to use this factory to create the new instances of the test step
Constructor and description |
---|
AutoTestStepFactory
(PluginTestStep annotation, java.lang.Class<TestStep> testStepClass) |
Type Params | Return Type | Name and description |
---|---|---|
|
WsdlTestStep |
buildTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) It creates an instance of the test step by invoking the static method buildTestStep(WsdlTestCase testCase, TestStepConfig testStepConfig, Boolean forLoadTest) on 'testStepClass'. |
|
boolean |
canCreate() @return invokes canCreate() static method on 'testStepClass', returns true if no such method exists |
|
TestStepConfig |
createNewTestStep(WsdlTestCase testCase, java.lang.String name) It creates an instance of the test step config by invoking the static method createNewTestStep(WsdlTestCase testCase, String name) on 'testStepClass'. |
|
java.lang.Class<?> |
getFactoryType() |
|
void |
setInjector(Injector injector) |
It creates an instance of the test step by invoking the static method buildTestStep(WsdlTestCase testCase, TestStepConfig testStepConfig, Boolean forLoadTest) on 'testStepClass'. If above method is not available then it tries to create the test step instance by invoking a constructor of the 'testStepClass' with arguments (testCase, testStepConfig, forLoadTest).
It creates an instance of the test step config by invoking the static method createNewTestStep(WsdlTestCase testCase, String name) on 'testStepClass'. If above method is not available then it creates TestStepConfig using TestStepConfig.Factory.newInstance()
ReadyAPI functional (soapui-pro) SDK 3.30.0