Hi, I am facing a problem wherein the my test using HttpUnit are taking more time to complete than the JUnit Test cases. I am using WebConversation to get the response for a request and then compare the request against a predefined text: Response res = WebConverstaion.getResponse(request).
Where following code takes lesser time: PostMethod pm = new PostMethod("http...") HttpClient.execute(PostMethod).
Can anzbody help me in this regard. Any help will me in this regard.
Hi, The problem is i have used HttpUnit Testing to test the code. Now it is taking more time compared to Junit. So i need to explain why HttpUnit is taking more time.Is it documented somewhere that HttpUnit is slower than Unit.
Take a look at its source code to see what happens behind the curtain - it's open source, after all!
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus