Update WebserviceUnitTest.groovy
This commit is contained in:
parent
fd69ba1589
commit
9bfe9a406a
|
@ -75,6 +75,7 @@ class WebserviceUnitTest extends GroovyTestCase {
|
|||
assert stories.size() == 5
|
||||
}
|
||||
|
||||
/* see BAEL-3753
|
||||
void test_whenConsumingSoap_thenReceiveResponse() {
|
||||
def url = "http://www.dataaccess.com/webservicesserver/numberconversion.wso"
|
||||
def soapClient = new SOAPClient(url)
|
||||
|
@ -89,6 +90,7 @@ class WebserviceUnitTest extends GroovyTestCase {
|
|||
def words = response.NumberToWordsResponse
|
||||
assert words == "one thousand two hundred and thirty four "
|
||||
}
|
||||
*/
|
||||
|
||||
void test_whenConsumingRestGet_thenReceiveResponse() {
|
||||
def path = "/get"
|
||||
|
@ -149,4 +151,4 @@ class WebserviceUnitTest extends GroovyTestCase {
|
|||
assert e?.response?.statusCode != 200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue