Forum Discussion

sac8g's avatar
16 years ago

How to test Web Service connectivity in Groovy?

Hi,

How can I test Web service connectivity in Groovy script (or Java) before running the actual tests?
The actual problem is for each request I get "connection timeout" or "connection refused" errors which appears for each iteration.

The idea is to check service availability and to fail the test if the web service is down for whatever reason.

Thanks in advance.
No RepliesBe the first to reply