The integration test would be more representative if it called the real servlet running in a webapp container. We already do this for logging-webapp: https://github.com/kite-sdk/kite-examples-integration-tests/blob/master/logging-webapp/src/test/java/org/kitesdk/examples/logging/webapp/ITLoggingWebapp.java#L118