public class WsdlTestStepResult extends Object implements TestStepResult
TestStepResult.TestStepStatus
Constructor and Description |
---|
WsdlTestStepResult(WsdlTestStep testStep) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action,
boolean isDefault) |
void |
addMessage(String message) |
void |
addMessages(String[] messages) |
void |
discard()
Can discard any result data that may be taking up memory.
|
ActionList |
getActions()
Returns a list of actions that can be applied to this result
|
Throwable |
getError() |
String[] |
getMessages() |
long |
getSize()
Used for calculating throughput
|
TestStepResult.TestStepStatus |
getStatus() |
TestStep |
getTestStep() |
long |
getTimeStamp() |
long |
getTimeTaken() |
boolean |
isDiscarded() |
void |
setError(Throwable error) |
void |
setSize(long size) |
void |
setStatus(TestStepResult.TestStepStatus status) |
void |
setTimeStamp(long timeStamp) |
void |
setTimeTaken(long timeTaken) |
void |
startTimer() |
void |
stopTimer() |
void |
writeTo(PrintWriter writer)
Writes this result to the specified writer, used for logging.
|
public WsdlTestStepResult(WsdlTestStep testStep)
public TestStepResult.TestStepStatus getStatus()
getStatus
in interface TestStepResult
public void setStatus(TestStepResult.TestStepStatus status)
public TestStep getTestStep()
getTestStep
in interface TestStepResult
public ActionList getActions()
TestStepResult
getActions
in interface TestStepResult
public void addAction(Action action, boolean isDefault)
public Throwable getError()
getError
in interface TestStepResult
public void setError(Throwable error)
public String[] getMessages()
getMessages
in interface TestStepResult
public void addMessage(String message)
public long getTimeTaken()
getTimeTaken
in interface TestStepResult
public void setTimeTaken(long timeTaken)
public long getTimeStamp()
getTimeStamp
in interface TestStepResult
public void setTimeStamp(long timeStamp)
public void setSize(long size)
public long getSize()
TestStepResult
getSize
in interface TestStepResult
public void writeTo(PrintWriter writer)
TestStepResult
writeTo
in interface TestStepResult
public void startTimer()
public void stopTimer()
public void discard()
TestStepResult
discard
in interface TestStepResult
public boolean isDiscarded()
isDiscarded
in interface TestStepResult
public void addMessages(String[] messages)
Copyright © 2019. All Rights Reserved.