public class JdbcRequest extends AbstractModelItem implements Assertable, TestRequest, AnimatableItem
Modifier and Type | Class and Description |
---|---|
static class |
JdbcRequest.RequestIconAnimator<T extends JdbcRequest> |
Request.SubmitException
Assertable.AssertionStatus
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
JdbcRequest(JdbcRequestTestStep testStep,
boolean forLoadTest) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public JdbcRequest(JdbcRequestTestStep testStep, boolean forLoadTest)
public void addSubmitListener(SubmitListener listener)
addSubmitListener
in interface Request
public boolean dependsOn(ModelItem modelItem)
public Attachment[] getAttachments()
getAttachments
in interface Request
public String getEncoding()
getEncoding
in interface Request
public String getEndpoint()
getEndpoint
in interface Request
public Operation getOperation()
getOperation
in interface Request
public String getRequestContent()
getRequestContent
in interface Request
public MessagePart[] getRequestParts()
getRequestParts
in interface Request
public MessagePart[] getResponseParts()
getResponseParts
in interface Request
public String getTimeout()
getTimeout
in interface Request
public void removeSubmitListener(SubmitListener listener)
removeSubmitListener
in interface Request
public void setEncoding(String string)
setEncoding
in interface Request
public void setEndpoint(String string)
setEndpoint
in interface Request
public JdbcSubmit submit(SubmitContext submitContext, boolean async) throws Request.SubmitException
submit
in interface Request
Request.SubmitException
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public String getDescription()
getDescription
in interface ModelItem
public String getName()
getName
in interface ModelItem
getName
in interface AnimatableItem
public Settings getSettings()
getSettings
in interface ModelItem
public SubmitListener[] getSubmitListeners()
public JdbcRequestTestStep getTestStep()
getTestStep
in interface TestRequest
getTestStep
in interface Assertable
public WsdlMessageAssertion importAssertion(WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion
in interface TestRequest
public TestAssertion addAssertion(String selection)
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 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 Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface Assertable
public Map<String,TestAssertion> getAssertions()
getAssertions
in interface Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface Assertable
public Interface getInterface()
getInterface
in interface Assertable
public ModelItem getModelItem()
getModelItem
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 setResponse(JdbcResponse response)
public JdbcResponse getResponse()
getResponse
in interface TestRequest
public void initIcons()
protected JdbcRequest.RequestIconAnimator<?> initIconAnimator()
public JdbcRequest.RequestIconAnimator<?> getIconAnimator()
public void setIconAnimator(JdbcRequest.RequestIconAnimator<?> iconAnimator)
public void setIcon(ImageIcon icon)
setIcon
in interface AnimatableItem
public String getPassword()
getPassword
in interface Request
public String getUsername()
getUsername
in interface Request
public String getAuthType()
getAuthType
in interface Request
public boolean isDiscardResponse()
isDiscardResponse
in interface TestRequest
public void setDiscardResponse(boolean discardResponse)
Copyright © 2019. All Rights Reserved.