From the course: Building Real-Time Web Apps with Spring Boot and WebSockets

Unlock the full course today

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

Test the message broker

Test the message broker

From the course: Building Real-Time Web Apps with Spring Boot and WebSockets

Start my 1-month free trial

Test the message broker

- [Instructor] While creating and configuring our Chat App server-side components we should be practicing some test-driven development along the way. In this video we will walk through a J unit integration test that has already been written to simulate a client sending messages to the chat server and the major server-side components responding appropriately. Writing an integration test at this point is gonna help us get instant feedback that all of our configuration implementation is working as expected. So let's get started on that test. To begin, I'll point out that our test already exists and it's located in the src/test/Java directory tree. And in the chat package. So what I'm going to do is open up the chat server integration test and then double-click on the editor so that we can maximize and walk through a few things that are already done for you. But I just wanna point these out so you're aware. For the purposes of this exercise we won't go into too much depth on how to write…

Contents