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 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 headers
The XML for the body
A response returned from an HTTP request. Responses can be chained and tested in a for comprehension: