JUnit Test Case

Hi,

How do I test a browser URL using JUnit? i.e, I want to write a junit test case to verify whether http://www.google.com [as an exmaple, can be any url] is accessible or not.

Thanks,
Kiran

JUnit has no special

JUnit has no special features for testing a URL. However, if you use Google to figure out how to retrieve a URL in Java, you can use JUnit to assert the result of that process.