Annotation Interface AutoConfigureWebTestClient


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Inherited @ImportAutoConfiguration @PropertyMapping("spring.test.webtestclient") public @interface AutoConfigureWebTestClient
Annotation that can be applied to a test class to enable a WebTestClient.
Since:
4.0.0
See Also:
  • Element Details

    • timeout

      @PropertyMapping(skip=ON_DEFAULT_VALUE) String timeout
      The timeout duration for the client (in any format handled by Duration.parse(CharSequence)).
      Returns:
      the web client timeout
      Default:
      ""