public class WsdlTestRequestStep extends WsdlTestStepWithProperties implements OperationTestStep, PropertyChangeListener, PropertyExpansionContainer, Assertable, HttpRequestTestStep, Securable
Modifier and Type | Class and Description |
---|---|
class |
WsdlTestRequestStep.InternalInterfaceListener |
class |
WsdlTestRequestStep.InternalProjectListener |
Assertable.AssertionStatus
RAW_RESPONSE, RESPONSE, RESPONSE_AS_XML
DISABLED_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlTestRequestStep(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, setPropertyValue
afterCopy, createPanelBuilder, finish, getLabel, getModelItem, getPropertiesLabel, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabled
addExternalDependencies, afterLoad, dependsOn, getConfig, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish, getLabel, getTestCase, isDisabled
getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
getModelItem
public WsdlTestRequestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest)
public WsdlTestStep clone(WsdlTestCase targetTestCase, String name)
WsdlTestStep
clone
in class WsdlTestStep
targetTestCase
- step we were cloned frompublic String getInterfaceName()
public String getOperationName()
public void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<TestStepConfig>
public void resetConfigOnMove(TestStepConfig config)
WsdlTestStep
resetConfigOnMove
in class WsdlTestStep
config
- the new config to use, will be a copy of the existing one. The
current will be invalidpublic ImageIcon getIcon()
getIcon
in interface ModelItem
getIcon
in class AbstractWsdlModelItem<TestStepConfig>
public WsdlTestRequest getTestRequest()
getTestRequest
in interface SamplerTestStep
public void setName(String name)
setName
in class WsdlTestStep
public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
public TestStepResult run(TestCaseRunner runner, TestCaseRunContext runContext)
public WsdlMessageAssertion getAssertionAt(int index)
getAssertionAt
in interface Assertable
public int getAssertionCount()
getAssertionCount
in interface Assertable
public WsdlTestRequest getHttpRequest()
getHttpRequest
in interface HttpRequestTestStep
public boolean cancel()
cancel
in interface TestStep
cancel
in class WsdlTestStep
public Collection<Interface> getRequiredInterfaces()
getRequiredInterfaces
in class WsdlTestStep
public String getDefaultSourcePropertyName()
WsdlTestStep
getDefaultSourcePropertyName
in class WsdlTestStep
public String getDefaultTargetPropertyName()
WsdlTestStep
getDefaultTargetPropertyName
in class WsdlTestStep
public boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
dependsOn
in class WsdlTestStep
public void beforeSave()
beforeSave
in class AbstractWsdlModelItem<TestStepConfig>
public String getDescription()
getDescription
in interface ModelItem
getDescription
in class AbstractWsdlModelItem<TestStepConfig>
public void setDescription(String description)
setDescription
in class AbstractWsdlModelItem<TestStepConfig>
public void setOperation(WsdlOperation operation)
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface PropertyExpansionContainer
public TestAssertion addAssertion(String type)
addAssertion
in interface Assertable
public void addAssertionsListener(AssertionsListener listener)
addAssertionsListener
in interface Assertable
public TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion
in interface Assertable
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface Assertable
public String getAssertableContent()
getAssertableContent
in interface Assertable
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface Assertable
public TestAssertion getAssertionByName(String name)
getAssertionByName
in interface Assertable
public List<TestAssertion> getAssertionList()
getAssertionList
in interface Assertable
public Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface Assertable
public Interface getInterface()
getInterface
in interface Assertable
public WsdlOperation getOperation()
getOperation
in interface OperationTestStep
public TestStep getTestStep()
getTestStep
in interface Assertable
getTestStep
in interface SamplerTestStep
public void removeAssertion(TestAssertion assertion)
removeAssertion
in interface Assertable
public TestAssertion moveAssertion(int ix, int whereTo)
moveAssertion
in interface Assertable
public void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener
in interface Assertable
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public void prepare(TestCaseRunner testRunner, TestCaseRunContext testRunContext) throws Exception
prepare
in interface TestStep
prepare
in class WsdlTestStep
Exception
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public void resolve(ResolveContext<?> context)
resolve
in class AbstractWsdlModelItem<TestStepConfig>
Copyright © 2019. All Rights Reserved.