com.eviware.soapui.impl.wsdl.teststeps
Class RestRequestStepResult
java.lang.Object
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepResult
com.eviware.soapui.impl.wsdl.teststeps.RestRequestStepResult
- All Implemented Interfaces:
- AssertedXPathsContainer, MessageExchange, MessageExchangeTestStepResult, ResponseAssertedMessageExchange, ResultContainer, TestStepResult
public class RestRequestStepResult
- extends WsdlTestStepResult
- implements ResponseAssertedMessageExchange, AssertedXPathsContainer, MessageExchangeTestStepResult
TestStepResult for a WsdlTestRequestStep
- Author:
- ole.matzura
Methods inherited from class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepResult |
addAction, addMessage, addMessages, getError, getMessages, getSize, getStatus, getTestStep, getTimeStamp, getTimeTaken, isDiscarded, setError, setSize, setStatus, setTimeStamp, setTimeTaken, startTimer, stopTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestRequestStepResult
public RestRequestStepResult(HttpTestRequestStep step)
RestRequestStepResult
public RestRequestStepResult(RestTestRequestStep step)
getOperation
public Operation getOperation()
- Specified by:
getOperation
in interface MessageExchange
getModelItem
public ModelItem getModelItem()
- Specified by:
getModelItem
in interface MessageExchange
getRequestContent
public java.lang.String getRequestContent()
- Specified by:
getRequestContent
in interface MessageExchange
setRequestContent
public void setRequestContent(java.lang.String requestContent)
getResponse
public HttpResponse getResponse()
getActions
public ActionList getActions()
- Description copied from interface:
TestStepResult
- Returns a list of actions that can be applied to this result
- Specified by:
getActions
in interface TestStepResult
- Overrides:
getActions
in class WsdlTestStepResult
setResponse
public void setResponse(HttpResponse response)
getDomain
public java.lang.String getDomain()
setDomain
public void setDomain(java.lang.String domain)
addProperty
public void addProperty(java.lang.String key,
java.lang.String value)
getEncoding
public java.lang.String getEncoding()
setEncoding
public void setEncoding(java.lang.String encoding)
getEndpoint
public java.lang.String getEndpoint()
setEndpoint
public void setEndpoint(java.lang.String endpoint)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
discard
public void discard()
- Description copied from interface:
TestStepResult
- Can discard any result data that may be taking up memory. Timing-values
must not be discarded.
- Specified by:
discard
in interface TestStepResult
- Overrides:
discard
in class WsdlTestStepResult
writeTo
public void writeTo(java.io.PrintWriter writer)
- Description copied from interface:
TestStepResult
- Writes this result to the specified writer, used for logging.
- Specified by:
writeTo
in interface TestStepResult
- Overrides:
writeTo
in class WsdlTestStepResult
getProperties
public StringToStringMap getProperties()
- Specified by:
getProperties
in interface MessageExchange
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty
in interface MessageExchange
getRequestAttachments
public Attachment[] getRequestAttachments()
- Specified by:
getRequestAttachments
in interface MessageExchange
getRequestHeaders
public StringToStringMap getRequestHeaders()
- Specified by:
getRequestHeaders
in interface MessageExchange
getResponseAttachments
public Attachment[] getResponseAttachments()
- Specified by:
getResponseAttachments
in interface MessageExchange
getResponseContent
public java.lang.String getResponseContent()
- Specified by:
getResponseContent
in interface MessageExchange
getRequestContentAsXml
public java.lang.String getRequestContentAsXml()
- Specified by:
getRequestContentAsXml
in interface MessageExchange
getResponseContentAsXml
public java.lang.String getResponseContentAsXml()
- Specified by:
getResponseContentAsXml
in interface MessageExchange
getResponseHeaders
public StringToStringMap getResponseHeaders()
- Specified by:
getResponseHeaders
in interface MessageExchange
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp
in interface MessageExchange
getAssertedXPathsForResponse
public AssertedXPath[] getAssertedXPathsForResponse()
- Specified by:
getAssertedXPathsForResponse
in interface ResponseAssertedMessageExchange
addAssertedXPath
public void addAssertedXPath(AssertedXPath assertedXPath)
- Specified by:
addAssertedXPath
in interface AssertedXPathsContainer
getMessageExchanges
public MessageExchange[] getMessageExchanges()
- Specified by:
getMessageExchanges
in interface MessageExchangeTestStepResult
getRawRequestData
public byte[] getRawRequestData()
- Specified by:
getRawRequestData
in interface MessageExchange
getRawResponseData
public byte[] getRawResponseData()
- Specified by:
getRawResponseData
in interface MessageExchange
getRequestAttachmentsForPart
public Attachment[] getRequestAttachmentsForPart(java.lang.String partName)
- Specified by:
getRequestAttachmentsForPart
in interface MessageExchange
getResponseAttachmentsForPart
public Attachment[] getResponseAttachmentsForPart(java.lang.String partName)
- Specified by:
getResponseAttachmentsForPart
in interface MessageExchange
hasRawData
public boolean hasRawData()
- Specified by:
hasRawData
in interface MessageExchange
hasRequest
public boolean hasRequest(boolean b)
- Specified by:
hasRequest
in interface MessageExchange
hasResponse
public boolean hasResponse()
- Specified by:
hasResponse
in interface MessageExchange
Copyright © 2005-2008 eviware.com. All Rights Reserved.