I have written an HttpUnit plugin for my testing framework ( http://jameleon.sf.net ) and it works great.
Recently, I added a new feature that logs all of the responses and shows the overal test results in an HTML formatted page. If the test failed, then it shows a link to the page where the error occured.
In the process of doing this, I found that everytime getCurrentPage() is called my listener's reponseReceived() method is called.
Am I calling the API wrong by asking for the current page or is there supposed to be caching on that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have written an HttpUnit plugin for my testing framework ( http://jameleon.sf.net ) and it works great.
Recently, I added a new feature that logs all of the responses and shows the overal test results in an HTML formatted page. If the test failed, then it shows a link to the page where the error occured.
In the process of doing this, I found that everytime getCurrentPage() is called my listener's reponseReceived() method is called.
Am I calling the API wrong by asking for the current page or is there supposed to be caching on that?