From the course: Building Java Microservices with gRPC

Unlock the full course today

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

Test the order service using the client

Test the order service using the client

From the course: Building Java Microservices with gRPC

Start my 1-month free trial

Test the order service using the client

- [Instructor] So now let's run the OrderServer that we wrote This should start the server on 50052 as we have written the code. Yeah, so the OrderServer has started. Let's also make sure that we have multiple records for a particular user ID, so I'm going to just double check that. Okay, so we have one record. We have just one record for the user ID 5, so what I'm going to do is I'm going to quickly add one more so that we have multiple records. So let's increment the order ID, the user ID remains the same. We can change the number of items, we can change the amount, and we can change this date too, okay. So what we will do is, if you look right up, we have used this Chandler's username before to retrieve the user details. We're going to pick this user ID, which is five, and we're going to retrieve orders, and we know that in the order stable we have two records for the user ID five. Okay, so our orders already…

Contents