Spring Boot Microservice - JUnit Test Issue. Can you help me urgently if you don't mind?

Stack Overflow
Spring Boot Microservices - Spring Security - ServiceTest and Contr...
I have a problem in running any test method in service test and controller test in one of the spring boot microservices (order service). After I completed service and controller , I tried to write ...
GitHub
AopTestUtils.getUltimateTargetObject results in stack overflow for ...
Security configuration class @Configuration @EnableGlobalMethodSecurity(prePostEnabled = true) public class SecurityConf { @Bean public AuthenticationManager authenticationManagerBean(Authenticatio...
Stack Overflow
@SpringBootTest annotation resulting in StackOverflowError
I would like to test some services in my application, but when I use @SpringBootTest annotation, they result in StackOverflowError. To start with, I am using JUnit5 and I tried to create some basic...
5 Replies
JavaBot
JavaBot•3y ago
Hey, @direct_x_34! Please remember to /close this post once your question has been answered!
direct_x_34
direct_x_34OP•3y ago
Stack Overflow
Spring Boot Microservice - JUnit Controller Test - Malformed Jwt Ex...
I have a problem about running any test of service regarding spring boot microservice. The issue is located at OrderControllerTest of order service. After running all services up, I tried to run an...
direct_x_34
direct_x_34OP•3y ago
I revised and added some codes in this part at the last midnight. I got 404 because /authenticate/login cannot be found. Cause it is defined in auth service. How can I do that? Here is the link: https://stackoverflow.com/questions/74737014/spring-boot-microservice-junit-controller-test-cannot-call-another-service-m
Stack Overflow
Spring Boot Microservice - JUnit Controller Test - Cannot call anot...
I have a problem about running any test of service regarding spring boot microservice. The issue is located at OrderControllerTest of order service. After running all services up, I tried to run an...
direct_x_34
direct_x_34OP•3y ago
As /authenticate/login belongs to auth service, I got 404 Not found. How can I call it from OrderControllerTest in order service? I tried this url ->http://AUTH-SERVICE/authenticate/login but I got 404 Not Found. How can I fix it? @everyone
JavaBot
JavaBot•3y ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.
Want results from more Discord servers?
Add your server