If you are using Spring, you can use spring-mock.jar. It has Mock HttpRequest, HttpResponse and HttpSession objects.
Else, if you want to go with a plain vanilla approach, create a mock HttpSession yourself.
Here is a sample code I had used before using spring-mock:
Hope this helps.