Ask Your Question
3

Is it not possible to send a request body to an integration testing method in Spring Boot JUnit, and is the issue related to objectMapper.writeValueAsString?

asked 2021-11-15 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-24 20:00:00 +0000

bukephalos gravatar image

It is possible to send a request body to an integration testing method in Spring Boot JUnit using various methods such as MockMvc or RestAssured. The issue might not be related to objectMapper.writeValueAsString but could be related to other factors such as incorrect request mapping, incorrect data type, insufficient authorization, or incorrect configuration of the test environment.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-15 11:00:00 +0000

Seen: 11 times

Last updated: Feb 24 '23