public class RestTestRequestStep extends WsdlTestStepWithProperties implements RestTestRequestStepInterface, Securable
| Modifier and Type | Class and Description | 
|---|---|
| class  | RestTestRequestStep.InternalInterfaceListener | 
| class  | RestTestRequestStep.InternalProjectListener | 
Assertable.AssertionStatusRAW_RESPONSE, RESPONSE, RESPONSE_AS_XMLDISABLED_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description | 
|---|
| RestTestRequestStep(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, cancel, clone, createPanelBuilder, finish, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabled, setNameaddExternalDependencies, afterLoad, dependsOn, getConfig, 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, waitclone, getDefaultTargetPropertyName, getTestCase, setDescription, setNamecancel, finish, getLabel, isDisabledgetId, getName, getParent, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListeneraddTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValuegetModelItemgetModelItempublic RestTestRequestStep(WsdlTestCase testCase, TestStepConfig config, boolean forLoadTest) throws RestRequestStepFactory.ItemDeletedException
public void beforeSave()
beforeSave in interface HttpTestRequestStepInterfacebeforeSave in class AbstractWsdlModelItem<TestStepConfig>public String getDescription()
getDescription in interface ModelItemgetDescription in class AbstractWsdlModelItem<TestStepConfig>public RestRequestStepConfig getRequestStepConfig()
getRequestStepConfig in interface RestTestRequestStepInterfaceprotected RestTestRequest buildTestRequest(boolean forLoadTest)
public String getService()
getService in interface RestTestRequestStepInterfacepublic String getResourcePath()
getResourcePath in interface RestTestRequestStepInterfaceprotected String createDefaultRawResponseContent()
protected String createDefaultResponseXmlContent()
protected String createDefaultRequestContent()
public Collection<Interface> getRequiredInterfaces()
getRequiredInterfaces in class WsdlTestSteppublic RestMethod getRestMethod()
getRestMethod in interface RestTestRequestStepInterfacepublic RestResource getResource()
getResource in interface RestTestRequestStepInterfacepublic Operation getOperation()
getOperation in interface OperationTestSteppublic void release()
release in interface HttpTestRequestStepInterfacerelease in interface Releasablerelease in class AbstractWsdlModelItem<TestStepConfig>public void resetConfigOnMove(TestStepConfig config)
WsdlTestStepresetConfigOnMove in interface HttpTestRequestStepInterfaceresetConfigOnMove in class WsdlTestStepconfig - the new config to use, will be a copy of the existing one. The
               current will be invalidpublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpublic boolean dependsOn(AbstractWsdlModelItem<?> modelItem)
dependsOn in interface HttpTestRequestStepInterfacedependsOn in class WsdlTestSteppublic void setRestMethod(RestMethod method)
public RestTestRequest getTestRequest()
getTestRequest in interface HttpTestRequestStepInterfacegetTestRequest in interface SamplerTestSteppublic Interface getInterface()
getInterface in interface Assertablepublic ImageIcon getIcon()
getIcon in interface ModelItemgetIcon in class AbstractWsdlModelItem<TestStepConfig>public TestStep getTestStep()
getTestStep in interface AssertablegetTestStep in interface SamplerTestSteppublic void resolve(ResolveContext<?> context)
resolve in interface HttpTestRequestStepInterfaceresolve in class AbstractWsdlModelItem<TestStepConfig>public void prepare(TestCaseRunner testRunner, TestCaseRunContext testRunContext) throws Exception
prepare in interface TestStepprepare in class WsdlTestStepExceptionpublic List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainerpublic AbstractHttpRequest<?> getHttpRequest()
getHttpRequest in interface HttpRequestTestSteppublic TestAssertion addAssertion(String type)
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 TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType in interface Assertablepublic TestAssertion getAssertionByName(String name)
getAssertionByName in interface Assertablepublic List<TestAssertion> getAssertionList()
getAssertionList in interface Assertablepublic Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus in interface Assertablepublic void removeAssertion(TestAssertion assertion)
removeAssertion in interface Assertablepublic void removeAssertionsListener(AssertionsListener listener)
removeAssertionsListener in interface Assertablepublic TestAssertion moveAssertion(int ix, int offset)
moveAssertion in interface Assertablepublic Map<String,TestAssertion> getAssertions()
getAssertions in interface Assertablepublic WsdlMessageAssertion getAssertionAt(int index)
getAssertionAt in interface Assertablepublic int getAssertionCount()
getAssertionCount in interface Assertablepublic String getDefaultAssertableContent()
getDefaultAssertableContent in interface Assertablepublic String getDefaultSourcePropertyName()
WsdlTestStepgetDefaultSourcePropertyName in interface HttpTestRequestStepInterfacegetDefaultSourcePropertyName in class WsdlTestSteppublic TestStepResult run(TestCaseRunner runner, TestCaseRunContext runContext)
Copyright © 2019. All Rights Reserved.