public class RestRequestStepResult extends WsdlTestStepResult implements ResponseAssertedMessageExchange, AssertedXPathsContainer, MessageExchangeTestStepResult
TestStepResult.TestStepStatus
ASSERTEDXPATHSCONTAINER_PROPERTY
Constructor and Description |
---|
RestRequestStepResult(HttpTestRequestStepInterface step) |
addAction, addMessage, addMessages, getError, getMessages, getSize, getStatus, getTestStep, getTimeStamp, getTimeTaken, isDiscarded, setError, setSize, setStatus, setTimeStamp, setTimeTaken, startTimer, stopTimer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getTimeTaken, isDiscarded
getError, getMessages, getSize, getStatus, getTestStep, getTimeStamp, getTimeTaken, isDiscarded
public RestRequestStepResult(HttpTestRequestStepInterface step)
public Operation getOperation()
getOperation
in interface MessageExchange
public ModelItem getModelItem()
getModelItem
in interface MessageExchange
getModelItem
in interface ResultContainer
public String getRequestContent()
getRequestContent
in interface MessageExchange
public void setRequestContent(String requestContent)
public HttpResponse getResponse()
getResponse
in interface MessageExchange
public ActionList getActions()
TestStepResult
getActions
in interface TestStepResult
getActions
in class WsdlTestStepResult
public void setResponse(HttpResponse response)
public String getDomain()
public void setDomain(String domain)
public String getEncoding()
public void setEncoding(String encoding)
public String getEndpoint()
getEndpoint
in interface MessageExchange
public void setEndpoint(String endpoint)
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
public void discard()
TestStepResult
discard
in interface TestStepResult
discard
in class WsdlTestStepResult
public void writeTo(PrintWriter writer)
TestStepResult
writeTo
in interface TestStepResult
writeTo
in class WsdlTestStepResult
public StringToStringMap getProperties()
getProperties
in interface MessageExchange
public String getProperty(String name)
getProperty
in interface MessageExchange
public Attachment[] getRequestAttachments()
getRequestAttachments
in interface MessageExchange
public StringToStringsMap getRequestHeaders()
getRequestHeaders
in interface MessageExchange
public Attachment[] getResponseAttachments()
getResponseAttachments
in interface MessageExchange
public String getResponseContent()
getResponseContent
in interface MessageExchange
public String getRequestContentAsXml()
getRequestContentAsXml
in interface MessageExchange
public String getResponseContentAsXml()
getResponseContentAsXml
in interface MessageExchange
public StringToStringsMap getResponseHeaders()
getResponseHeaders
in interface MessageExchange
public long getTimestamp()
getTimestamp
in interface MessageExchange
public AssertedXPath[] getAssertedXPathsForResponse()
getAssertedXPathsForResponse
in interface ResponseAssertedMessageExchange
public void addAssertedXPath(AssertedXPath assertedXPath)
addAssertedXPath
in interface AssertedXPathsContainer
public MessageExchange[] getMessageExchanges()
getMessageExchanges
in interface MessageExchangeTestStepResult
public byte[] getRawRequestData()
getRawRequestData
in interface MessageExchange
public byte[] getRawResponseData()
getRawResponseData
in interface MessageExchange
public Attachment[] getRequestAttachmentsForPart(String partName)
getRequestAttachmentsForPart
in interface MessageExchange
public Attachment[] getResponseAttachmentsForPart(String partName)
getResponseAttachmentsForPart
in interface MessageExchange
public boolean hasRawData()
hasRawData
in interface MessageExchange
public boolean hasRequest(boolean b)
hasRequest
in interface MessageExchange
public boolean hasResponse()
hasResponse
in interface MessageExchange
Copyright © 2019. All Rights Reserved.