|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpResponse
The result of an HTTP request in a Virtual User (VU) script. This object contains the actual data that will be stored
in the transaction (see getInfo()) as well as the result for any content verification (if one was provided
when the request was made).
| Method Summary | |
|---|---|
java.lang.String |
getBody()
Returns the response body if and only if the corresponding request asked for text validation to occurr. |
java.lang.String |
getCharSet()
Returns the response character set if and only if the corresponding request asked for text validation to occurr. |
java.lang.String |
getContentType()
Returns the response content type if and only if the corresponding request asked for text validation to occurr. |
java.lang.String |
getErrorMessage()
Returns descriptive text of any error that occurred while making the HTTP request. |
java.lang.String |
getHeader(java.lang.String name)
Returns the value of the specific response header, or null if no header exists in the response. |
TransactionStepObject |
getInfo()
Returns the actual information that will be stored in to the core data collected as part of the overall transaction. |
boolean |
isContentMatched()
Returns true if the content was verified to be in the resulting HTTP response. |
| Method Detail |
|---|
boolean isContentMatched()
TransactionStepObject getInfo()
java.lang.String getBody()
java.lang.String getCharSet()
java.lang.String getContentType()
java.lang.String getErrorMessage()
java.lang.String getHeader(java.lang.String name)
name - the header name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||