Hello,
to test my program against webpages, which change quite often, I need to mock the answers. I've found FakeWeb for Ruby, which would be a good starting point. Unfortunately, there seems to be no library, which provides similar functionality for Java.
So, my question is: How can I "record" requests and response pairs and "replay" them later, so that my application always receives the same webpages. To make things even more difficult, it should work for PUT and GET methods too.
Thanks in advance for any answer.
Regards, Daniel