«
Prev
»
Next
Spring / Spring Webflux Interview questions
Difference between the Web client and Web Test Client?
| WebClient | WebTestClient |
| Web client acts as a reactive client who performs non-blocking HTTP requests. | Webtestclient also acts as a reactive client that can be used in tests.. |
| It can handle reactive streams with backpressure. | It can bind directly to WebFlux application by applying mock request and response objects. |
| It can take advantage of JAVA 8 Lambdas. | It can connect to any server over an HTTP connection. |
More Related questions...
Comments & Discussions