Skip to content

Provide a property that configures webclient/webtestclients default timeout globally #34711

@nightswimmings

Description

@nightswimmings

I think, WebClient/WebTestClient(Builder) should be able to configure defaults through properties, especially timeout and especially for WebTestClient, since its a setup most people would tune in order to being able to debug for long time and not get a connection exception.

Kind of @AutoConfigureWebTestClient(timeout = "10000"), but through properties on a global scope.

My apologies if such a setup exists, I could not find it in issues nor spring-boot-properties docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions