public class AutoTestStepFactory extends WsdlTestStepFactory implements SoapUIFactory
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 |
---|---|---|
|
public 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'. |
|
public boolean |
canCreate()
|
|
public 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'. |
|
public java.lang.Class<?> |
getFactoryType() |
|
public 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.57.0