public class AMFRequestTestStep extends WsdlTestStepWithProperties implements Assertable, MutableTestPropertyHolder, PropertyChangeListener, SamplerTestStep
Assertable.AssertionStatus
Modifier and Type | Field and Description |
---|---|
static String |
AMF_HEADERS_PROPERTY |
static String |
amfREQUEST |
protected AMFRequestTestStepConfig |
amfRequestTestStepConfig |
static String |
HTTP_HEADERS_PROPERTY |
static String |
REQUEST_PROPERTY |
static String |
RESPONSE_PROPERTY |
static String |
STATUS_PROPERTY |
RAW_RESPONSE, RESPONSE, RESPONSE_AS_XML
DISABLED_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
AMFRequestTestStep(WsdlTestCase testCase,
TestStepConfig config,
boolean forLoadTest) |
addProperty, addProperty, deleteProperty, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, hasProperties, propertyRenamed
afterCopy, createPanelBuilder, dependsOn, finish, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setName
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish, getLabel, getTestCase, isDisabled, prepare
getChildren, getDescription, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
getModelItem, getPropertiesLabel
getModelItem
getModelItem
protected AMFRequestTestStepConfig amfRequestTestStepConfig
public static final String amfREQUEST
public static final String STATUS_PROPERTY
public static final String RESPONSE_PROPERTY
public static final String REQUEST_PROPERTY
public static final String HTTP_HEADERS_PROPERTY
public static final String AMF_HEADERS_PROPERTY
public AMFRequestTestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest)
public AMFRequestTestStepConfig getAMFRequestTestStepConfig()
public WsdlTestStep clone(WsdlTestCase targetTestCase, String name)
WsdlTestStep
clone
in class WsdlTestStep
targetTestCase
- step we were cloned frompublic void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<TestStepConfig>
public TestStepResult run(TestCaseRunner runner, TestCaseRunContext runContext)
public boolean cancel()
cancel
in interface TestStep
cancel
in class WsdlTestStep
public String getDefaultSourcePropertyName()
WsdlTestStep
getDefaultSourcePropertyName
in class WsdlTestStep
public TestAssertion addAssertion(String assertionLabel)
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 WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface Assertable
public TestAssertion getAssertionAt(int c)
getAssertionAt
in interface Assertable
public TestAssertion getAssertionByName(String name)
getAssertionByName
in interface Assertable
public int getAssertionCount()
getAssertionCount
in interface Assertable
public List<TestAssertion> getAssertionList()
getAssertionList
in interface Assertable
public void propertyChange(PropertyChangeEvent arg0)
propertyChange
in interface PropertyChangeListener
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface Assertable
public ImageIcon getIcon()
getIcon
in interface ModelItem
getIcon
in class AbstractWsdlModelItem<TestStepConfig>
public Interface getInterface()
getInterface
in interface Assertable
public TestAssertion moveAssertion(int ix, int offset)
moveAssertion
in interface Assertable
public void removeAssertion(TestAssertion assertion)
removeAssertion
in interface Assertable
public void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener
in interface Assertable
public void assertResponse(SubmitContext context)
public TestProperty addProperty(String name)
addProperty
in interface MutableTestPropertyHolder
public TestProperty removeProperty(String propertyName)
removeProperty
in interface MutableTestPropertyHolder
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public Map<String,TestProperty> getProperties()
getProperties
in interface TestPropertyHolder
getProperties
in class WsdlTestStepWithProperties
public TestProperty getProperty(String name)
getProperty
in interface TestPropertyHolder
getProperty
in class WsdlTestStepWithProperties
public TestProperty getPropertyAt(int index)
getPropertyAt
in interface TestPropertyHolder
getPropertyAt
in class WsdlTestStepWithProperties
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
getPropertyCount
in class WsdlTestStepWithProperties
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
getPropertyList
in class WsdlTestStepWithProperties
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
getPropertyNames
in class WsdlTestStepWithProperties
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
getPropertyValue
in class WsdlTestStepWithProperties
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
addTestPropertyListener
in class WsdlTestStepWithProperties
public void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener
in interface TestPropertyHolder
removeTestPropertyListener
in class WsdlTestStepWithProperties
public boolean hasProperty(String name)
hasProperty
in interface TestPropertyHolder
hasProperty
in class WsdlTestStepWithProperties
public void setPropertyValue(String name, String value)
setPropertyValue
in interface TestPropertyHolder
setPropertyValue
in class WsdlTestStepWithProperties
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface MutableTestPropertyHolder
moveProperty
in class WsdlTestStepWithProperties
public AMFRequest getAMFRequest()
public void setResponse(AMFResponse response, SubmitContext context)
public String getScript()
public void setScript(String script)
public String getAmfCall()
public void setAmfCall(String amfCall)
public String getEndpoint()
public void setEndpoint(String endpoint)
public boolean initAmfRequest(SubmitContext submitContext)
public void setHttpHeaders(StringToStringsMap httpHeaders)
public StringToStringsMap getHttpHeaders()
public void setAmfHeaders(StringToStringMap amfHeaders)
public StringToStringMap getAmfHeaders()
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 XmlBeansPropertiesTestPropertyHolder getPropertyHolderSupport()
public TestStep getTestStep()
getTestStep
in interface Assertable
getTestStep
in interface SamplerTestStep
public boolean isDiscardResponse()
public void setDiscardResponse(boolean discardResponse)
public TestRequest getTestRequest()
getTestRequest
in interface SamplerTestStep
Copyright © 2019. All Rights Reserved.