public class WsdlMockResponseTestStep extends WsdlTestStepWithProperties implements OperationTestStep, PropertyChangeListener, Assertable, PropertyExpansionContainer
| Modifier and Type | Class and Description |
|---|---|
class |
WsdlMockResponseTestStep.InternalInterfaceListener |
class |
WsdlMockResponseTestStep.InternalMockRunListener |
class |
WsdlMockResponseTestStep.InternalProjectListener |
Assertable.AssertionStatus| Modifier and Type | Field and Description |
|---|---|
static String |
STATUS_PROPERTY |
static String |
TIMEOUT_PROPERTY |
RAW_RESPONSE, RESPONSE, RESPONSE_AS_XMLDISABLED_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description |
|---|
WsdlMockResponseTestStep(WsdlTestCase testCase,
TestStepConfig config,
boolean forLoadTest) |
addProperty, addProperty, addTestPropertyListener, deleteProperty, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getProperties, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperties, hasProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValueafterCopy, clone, createPanelBuilder, getLabel, getModelItem, getPropertiesLabel, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabledaddExternalDependencies, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabel, getTestCase, isDisabledgetDescription, getId, getName, getParent, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListeneraddTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValuegetModelItemgetModelItempublic static final String STATUS_PROPERTY
public static final String TIMEOUT_PROPERTY
public WsdlMockResponseTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest)
public void afterLoad()
afterLoad in class AbstractWsdlModelItem<TestStepConfig>public ImageIcon getIcon()
getIcon in interface ModelItemgetIcon in class AbstractWsdlModelItem<TestStepConfig>public void initIcons()
public void resetConfigOnMove(TestStepConfig config)
WsdlTestStepresetConfigOnMove in class WsdlTestStepconfig - the new config to use, will be a copy of the existing one. The
current will be invalidpublic boolean cancel()
cancel in interface TestStepcancel in class WsdlTestSteppublic void prepare(TestCaseRunner testRunner, TestCaseRunContext testRunContext) throws Exception
prepare in interface TestStepprepare in class WsdlTestStepExceptionprotected void initTestMockResponse(TestCaseRunContext testRunContext)
public TestStepResult run(TestCaseRunner testRunner, TestCaseRunContext context)
public void finish(TestCaseRunner testRunner, TestCaseRunContext testRunContext)
finish in interface TestStepfinish in class WsdlTestSteppublic WsdlMockResult getLastResult()
public WsdlMockResponse getMockResponse()
public void setPort(int port)
public String getPath()
public String getHost()
public long getContentLength()
public int getPort()
public String getEncoding()
public void setEncoding(String encoding)
public boolean isMtomEnabled()
public void setMtomEnabled(boolean enabled)
public String getOutgoingWss()
public void setOutgoingWss(String outgoingWss)
public void setQuery(String s)
public String getQuery()
public String getMatch()
public void setMatch(String s)
public String getStartStep()
public void setStartStep(String startStep)
public boolean isRemoveEmptyContent()
public boolean isStripWhitespaces()
public void setRemoveEmptyContent(boolean removeEmptyContent)
public void setStripWhitespaces(boolean stripWhitespaces)
public void setPath(String path)
public void setHost(String host)
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic WsdlMessageAssertion addAssertion(String assertionName)
addAssertion in interface Assertablepublic void addAssertionsListener(AssertionsListener listener)
addAssertionsListener in interface Assertablepublic WsdlMessageAssertion getAssertionAt(int c)
getAssertionAt in interface Assertablepublic int getAssertionCount()
getAssertionCount in interface Assertablepublic void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener in interface Assertablepublic Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus in interface Assertablepublic void removeAssertion(TestAssertion assertion)
removeAssertion in interface Assertablepublic TestAssertion moveAssertion(int ix, int offset)
moveAssertion in interface Assertablepublic String getAssertableContentAsXml()
getAssertableContentAsXml in interface Assertablepublic String getAssertableContent()
getAssertableContent in interface Assertablepublic TestStep getTestStep()
getTestStep in interface Assertablepublic void setName(String name)
setName in class WsdlTestSteppublic WsdlInterface getInterface()
getInterface in interface Assertablepublic WsdlOperation getOperation()
getOperation in interface OperationTestSteppublic void setInterface(String string)
public void setOperation(String string)
public void release()
release in interface Releasablerelease in class AbstractWsdlModelItem<TestStepConfig>public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType in interface Assertablepublic Collection<Interface> getRequiredInterfaces()
getRequiredInterfaces in class WsdlTestSteppublic String getDefaultSourcePropertyName()
WsdlTestStepgetDefaultSourcePropertyName in class WsdlTestSteppublic String getDefaultTargetPropertyName()
WsdlTestStepgetDefaultTargetPropertyName in class WsdlTestSteppublic void beforeSave()
beforeSave in class AbstractWsdlModelItem<TestStepConfig>public long getTimeout()
public void setTimeout(long timeout)
public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
dependsOn in class WsdlTestSteppublic WsdlMessageAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion in interface Assertablepublic List<TestAssertion> getAssertionList()
getAssertionList in interface Assertablepublic List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainerpublic WsdlMessageAssertion getAssertionByName(String name)
getAssertionByName in interface Assertablepublic Map<String,TestAssertion> getAssertions()
getAssertions in interface Assertablepublic String getDefaultAssertableContent()
getDefaultAssertableContent in interface Assertablepublic void resolve(ResolveContext<?> context)
resolve in class AbstractWsdlModelItem<TestStepConfig>Copyright © 2019. All Rights Reserved.