Serverless test support example

I created a REST application using Serverless framework in Java, now I want to test my endpoint. Can somebody explain me how to implement the tests ?
Many thanks