python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
400 Bad Request Error in the Unit Test with Multipart File and WebTestClient Object
I am trying to create a unit test with webTestClient POST for my controller. In the API, I have a multipartfile and two String parameter. However, I couldn't catch the request in the API although I ha...
avargun
Votes: 0
Answers: 0
Having multiple request IPs in Spring WebTestClient
I'm introducing Bucket4J in my Spring Web application. A basic test setup can be found here:
https://github.com/MarcGiffing/bucket4j-spring-boot-starter-examples/blob/master/bucket4j-spring-boot-star...
nykon
Votes: 0
Answers: 1
WebTestClient throws "No qualifying bean ... as autowire candidate"
I currently wrote a put request I wanted to test via WebTestClient. I followed some tutorials and adapted my case to it. Testing the request results in an error:
"NOSuchBeanDefinitionException: N...
letsgetraw
Votes: 0
Answers: 1