Skip to content

pradipmudi/messaging-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

messaging-client

Created the app using Spring boot Web-Socket and unit test created using Junit4

Project Dependencies:

Please find the dependencies in 'pom.xml' :

        <dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-websocket</artifactId>
	</dependency>
	
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-reactor-netty</artifactId>
	</dependency>

To Run the Application:

  • Extract and Simply Load the Project in any IDE as a Spring Project
  • Run The "com.vocera.ws.api.MessagingClientApplication.java" class as a Java Application or Spring Boot Application
  • Open 2 or more different windows and login as a different user and you are good to go

To Run The unit Test:

Go to "src/test/java"

  • And Run the "com.vocera.ws.api.MessagingClientApplicationTests.java" class as a "JUnit Test"

Note: Make sure you have configured the project as JUnit4 unit test