Package | Description |
---|---|
org.springframework.ws.test.client |
Provides a testing framework for client-side Web service testing.
|
Modifier and Type | Method and Description |
---|---|
static RequestMatcher |
RequestMatchers.anything()
Expects any request.
|
static RequestMatcher |
RequestMatchers.connectionTo(String uri)
Expects a connection to the given URI.
|
static RequestMatcher |
RequestMatchers.connectionTo(URI uri)
Expects a connection to the given URI.
|
RequestMatcher |
RequestXPathExpectations.doesNotExist()
Expects the XPath expression to not exist.
|
RequestMatcher |
RequestXPathExpectations.evaluatesTo(boolean expectedValue)
Expects the XPath expression to evaluate to the given boolean.
|
RequestMatcher |
RequestXPathExpectations.evaluatesTo(double expectedValue)
Expects the XPath expression to evaluate to the given double.
|
RequestMatcher |
RequestXPathExpectations.evaluatesTo(int expectedValue)
Expects the XPath expression to evaluate to the given integer.
|
RequestMatcher |
RequestXPathExpectations.evaluatesTo(String expectedValue)
Expects the XPath expression to evaluate to the given string.
|
RequestMatcher |
RequestXPathExpectations.exists()
Expects the XPath expression to exist.
|
static RequestMatcher |
RequestMatchers.payload(org.springframework.core.io.Resource payload)
Expects the given
Resource XML payload. |
static RequestMatcher |
RequestMatchers.payload(Source payload)
Expects the given
Source XML payload. |
static RequestMatcher |
RequestMatchers.soapEnvelope(org.springframework.core.io.Resource soapEnvelope)
Expects the given
Resource XML SOAP envelope. |
static RequestMatcher |
RequestMatchers.soapEnvelope(Source soapEnvelope)
Expects the given
Source XML SOAP envelope. |
static RequestMatcher |
RequestMatchers.soapHeader(QName soapHeaderName)
Expects the given SOAP header in the outgoing message.
|
static RequestMatcher |
RequestMatchers.validPayload(org.springframework.core.io.Resource schema,
org.springframework.core.io.Resource... furtherSchemas)
Expects the payload to validate against the given XSD schema(s).
|
Modifier and Type | Method and Description |
---|---|
ResponseActions |
ResponseActions.andExpect(RequestMatcher requestMatcher)
Allows for further expectations to be set on the request.
|
ResponseActions |
MockWebServiceServer.expect(RequestMatcher requestMatcher)
Records an expectation specified by the given
RequestMatcher . |
Copyright © 2020 Pivotal Software. All rights reserved.