Removing "contextPath" in the createFilterInvocation method when calling "DummyRequestCreator.createInstance(contextPath, method, contextPath + uri)" .
The variable uri already has the contextPath, so we end-up having the context path duplicated.