vendredi 21 septembre 2018

How to test if a Servlet Filter was called

We have an RESTful web service within an embedded Jetty running and I want to write an integration test that confirms that a special Servlet Filter has been called - because this depends of the correct requested URL. In this Servlet Filter a crucial session attribute is set which is important for the procedure that follows. How can I write just an integration test?

Aucun commentaire:

Enregistrer un commentaire