Test that the server gave a particular response code.
Test that the server gave a particular response code. If the response is not a 200, call the errorFunc with the msg
the String to report as an error
the error reporting thing.
Test that the server gave a response.
Test that the server gave a response. If the server failed to respond, call the errorFunc with the msg
the String to report as an error
the error reporting thing.
Test the response as a 200.
Test the response as a 200. If the response is not a 200, call the errorFunc with the msg
the String to report as an error
the error reporting thing.
Test that the server response does not contain a node with a particular label as a direct child.
Test that the server response does not contain a node with a particular label as a direct child. If the response does contain valid xml and does contain the node, call the errorFunc with the msg
the label for the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response does not contain a particular node as a direct child with the exact attributes and children.
Test that the server response does not contain a particular node as a direct child with the exact attributes and children. If the response does contain valid xml and does contain the exact node, call the errorFunc with the msg.
the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response does not contain a node with a particular label anywhere in the xml.
Test that the server response does not contain a node with a particular label anywhere in the xml. If the response does contain valid xml and does contain the node, call the errorFunc with the msg
the label for the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response does not contain a particular node anywhere in the xml with the exact attributes and children.
Test that the server response does not contain a particular node anywhere in the xml with the exact attributes and children. If the response does contain valid xml and does contain the exact node, call the errorFunc with the msg.
the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response contains a node with a particular label as a direct child.
Test that the server response contains a node with a particular label as a direct child. If the response does not contain valid xml or does not contain the node, call the errorFunc with the msg
the label for the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response contains a particular node as a direct child with the exact attributes and children.
Test that the server response contains a particular node as a direct child with the exact attributes and children. If the response does not contain valid xml or does not contain the exact node, call the errorFunc with the msg.
the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response contains a node with a particular label anywhere in the xml.
Test that the server response contains a node with a particular label anywhere in the xml. If the response does not contain valid xml or does not contain the node, call the errorFunc with the msg
the label for the XML node to search for in the response
the String to report as an error
the error reporting thing.
Test that the server response contains a particular node anywhere in the xml with the exact attributes and children.
Test that the server response contains a particular node anywhere in the xml with the exact attributes and children. If the response does not contain valid xml or does not contain the exact node, call the errorFunc with the msg.
the XML node to search for in the response
the String to report as an error
the error reporting thing.
The base URL for all requests
The base URL for all requests
The response body as a UTF-8 encoded String
The content type header of the response
Perform an HTTP DELETE with a newly minted httpClient
Perform an HTTP DELETE with a newly minted httpClient
the URL to make the request on
the parameters to pass
Perform an HTTP DELETE
Perform an HTTP DELETE
- the URL to append to the baseUrl
- any additional headers to include with the request
- the request parameters to include with the request
the Response has a filter method for chaining in a for comprehension.
the Response has a filter method for chaining in a for comprehension. Note that the filter method does *NOT* have to return a Boolean, any expression (e.g., an assertion)
the Response has a foreach method for chaining in a for comprehension
the Response has a foreach method for chaining in a for comprehension
Perform an HTTP GET with a newly minted httpClient
Perform an HTTP GET with a newly minted httpClient
the URL to make the request on
the parameters to pass
Perform an HTTP GET
Perform an HTTP GET
- the URL to append to the baseUrl
- any additional headers to include with the request
- the request parameters to include with the request
The response headers
The response headers
Perform an HTTP POST with a newly minted httpClient
Perform an HTTP POST with a newly minted httpClient
the URL to make the request on
the bytes to POST to the server
the content type of the message
Perform an HTTP POST with a newly minted httpClient
Perform an HTTP POST with a newly minted httpClient
the URL to make the request on
the XML to POST to the server
Perform an HTTP POST with a newly minted httpClient
Perform an HTTP POST with a newly minted httpClient
the URL to make the request on
the parameters to pass
Perform an HTTP POST with a pile of bytes in the body
Perform an HTTP POST with a pile of bytes in the body
- the URL to append to the baseUrl
- any additional headers to include with the request
- the pile of bytes to POST to the target server
- the content type of the pile of bytes
Perform an HTTP POST with an XML body
Perform an HTTP POST with an XML body
- the URL to append to the baseUrl
- any additional headers to include with the request
- the xml to post
Perform an HTTP POST
Perform an HTTP POST
- the URL to append to the baseUrl
- any additional headers to include with the request
- the request parameters to include with the request
Perform an HTTP POST with a newly minted httpClient
Perform an HTTP POST with a newly minted httpClient
the URL to make the request on
the bytes to POST to the server
the content type of the message
Perform an HTTP PUT with a newly minted httpClient
Perform an HTTP PUT with a newly minted httpClient
the URL to make the request on
the XML to PUT to the server
Perform an HTTP PUT with a pile of bytes in the body
Perform an HTTP PUT with a pile of bytes in the body
- the URL to append to the baseUrl
- any additional headers to include with the request
- the pile of bytes to POST to the target server
- the content type of the pile of bytes
Perform an HTTP PUT with an XML body
Perform an HTTP PUT with an XML body
- the URL to append to the baseUrl
- any additional headers to include with the request
- the xml to post
Perform an HTTP PUT
Perform an HTTP PUT
- the URL to append to the baseUrl
- any additional headers to include with the request
Create the HTTP client for a new get/post request
Create the HTTP client for a new get/post request
Get the body of the response as XML
Get the body of the response as XML
The response to an HTTP request, as long as the server responds with *SOMETHING*