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_XMLDISABLED_PROPERTYDESCRIPTION_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, propertyRenamedafterCopy, createPanelBuilder, dependsOn, finish, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, prepare, setDisabled, setNameaddExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, getLabel, getTestCase, isDisabled, preparegetChildren, getDescription, getId, getName, getParent, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenergetModelItem, getPropertiesLabelgetModelItemgetModelItemprotected 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)
WsdlTestStepclone in class WsdlTestSteptargetTestCase - step we were cloned frompublic void release()
release in interface Releasablerelease in class AbstractWsdlModelItem<TestStepConfig>public TestStepResult run(TestCaseRunner runner, TestCaseRunContext runContext)
public boolean cancel()
cancel in interface TestStepcancel in class WsdlTestSteppublic String getDefaultSourcePropertyName()
WsdlTestStepgetDefaultSourcePropertyName in class WsdlTestSteppublic TestAssertion addAssertion(String assertionLabel)
addAssertion in interface Assertablepublic void addAssertionsListener(AssertionsListener listener)
addAssertionsListener in interface Assertablepublic TestAssertion cloneAssertion(TestAssertion source, String name)
cloneAssertion in interface Assertablepublic String getAssertableContentAsXml()
getAssertableContentAsXml in interface Assertablepublic String getAssertableContent()
getAssertableContent in interface Assertablepublic WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
public TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType in interface Assertablepublic TestAssertion getAssertionAt(int c)
getAssertionAt in interface Assertablepublic TestAssertion getAssertionByName(String name)
getAssertionByName in interface Assertablepublic int getAssertionCount()
getAssertionCount in interface Assertablepublic List<TestAssertion> getAssertionList()
getAssertionList in interface Assertablepublic void propertyChange(PropertyChangeEvent arg0)
propertyChange in interface PropertyChangeListenerpublic Map<String,TestAssertion> getAssertions()
getAssertions in interface Assertablepublic String getDefaultAssertableContent()
getDefaultAssertableContent in interface Assertablepublic Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus in interface Assertablepublic ImageIcon getIcon()
getIcon in interface ModelItemgetIcon in class AbstractWsdlModelItem<TestStepConfig>public Interface getInterface()
getInterface in interface Assertablepublic TestAssertion moveAssertion(int ix, int offset)
moveAssertion in interface Assertablepublic void removeAssertion(TestAssertion assertion)
removeAssertion in interface Assertablepublic void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener in interface Assertablepublic void assertResponse(SubmitContext context)
public TestProperty addProperty(String name)
addProperty in interface MutableTestPropertyHolderpublic TestProperty removeProperty(String propertyName)
removeProperty in interface MutableTestPropertyHolderpublic boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic Map<String,TestProperty> getProperties()
getProperties in interface TestPropertyHoldergetProperties in class WsdlTestStepWithPropertiespublic TestProperty getProperty(String name)
getProperty in interface TestPropertyHoldergetProperty in class WsdlTestStepWithPropertiespublic TestProperty getPropertyAt(int index)
getPropertyAt in interface TestPropertyHoldergetPropertyAt in class WsdlTestStepWithPropertiespublic int getPropertyCount()
getPropertyCount in interface TestPropertyHoldergetPropertyCount in class WsdlTestStepWithPropertiespublic List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHoldergetPropertyList in class WsdlTestStepWithPropertiespublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHoldergetPropertyNames in class WsdlTestStepWithPropertiespublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHoldergetPropertyValue in class WsdlTestStepWithPropertiespublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderaddTestPropertyListener in class WsdlTestStepWithPropertiespublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderremoveTestPropertyListener in class WsdlTestStepWithPropertiespublic boolean hasProperty(String name)
hasProperty in interface TestPropertyHolderhasProperty in class WsdlTestStepWithPropertiespublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHoldersetPropertyValue in class WsdlTestStepWithPropertiespublic void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHoldermoveProperty in class WsdlTestStepWithPropertiespublic 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)
WsdlTestStepresetConfigOnMove in class WsdlTestStepconfig - 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 AssertablegetTestStep in interface SamplerTestSteppublic boolean isDiscardResponse()
public void setDiscardResponse(boolean discardResponse)
public TestRequest getTestRequest()
getTestRequest in interface SamplerTestStepCopyright © 2019. All Rights Reserved.