From the course: Building Java Microservices with gRPC

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Test the user service

Test the user service

From the course: Building Java Microservices with gRPC

Start my 1-month free trial

Test the user service

- [Instructor] The last part of this demo is now, to test that user service. For this, we're going to use a tool called BloomRPC. It's a GUI tool. The link has been provided on the slide. You can download it as an app and then get started for using it. So let's go to the IDE. Let's do a couple of more things. We are going to quickly put one info statement that the server did start. So that we can do here. And we'll look on line 24. And say logger.info. And say server started on port five, 5-0-0-5-1. Let's also modify the exception message on line 33. I was not very happy with it. So I'm just going to say server shut down interrupted because that was the exception that we got. Okay, so now let's go ahead and run this class so that the server gets started. So I'm going to run this. And once it runs, it should spring up saying that the server did get started on port 5-0-0-5-1. There we go. So now we have the…

Contents