Skip to content

MockServerWebExchange should allow setting a WebSession [SPR-16772] #21312

@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-16772 and commented

I've run into a few testing situations that involve saving something in the WebSession and then trying to retrieve it. This is more complicated than necessary at the moment because MockServerWebExchange does not allow setting the WebSession It would be nice if the WebSession could just be set so that these scenarios could easily be tested.


Affects: 5.0.5

Referenced from: commits 15182b2, eef592d

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions