This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Framework 6.1.12! |
Testing
To test code that uses the WebClient
, you can use a mock web server, such as the
OkHttp MockWebServer. To see an example
of its use, check out
WebClientIntegrationTests
in the Spring Framework test suite or the
static-server
sample in the OkHttp repository.