Forum Discussion

somename's avatar
somename
New Contributor
13 years ago

How to handle UnknownHostException?

Hi
I want to smoothly skip the tests if the host does not exist. Is there any way I can add a step to assert a connection being opened to a host?
Please let me know the options.

Thanks
No RepliesBe the first to reply