woolfel 2005/05/14 07:23:06
Modified: src/protocol/http/org/apache/jmeter/protocol/http/sampler
WebServiceSampler.java
Log:
made a slight change so that in the case of an IOException, we let it
continue. In the case
of MalformedURLException or MessageException, it means the sampler won't be
able to
send a request, so it should stop.
peter
Revision Changes Path
1.23 +10 -3
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
Index: WebServiceSampler.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- WebServiceSampler.java 14 May 2005 04:36:26 -0000 1.22
+++ WebServiceSampler.java 14 May 2005 14:23:06 -0000 1.23
@@ -578,12 +578,19 @@
RESULT.setSuccessful(false);
}
catch (MalformedURLException exception){
+ // keep this debug, since a bad URL, means the
+ // soap driver can't get to it anyways
log.debug(exception.getMessage());
}
catch (IOException exception){
- log.debug(exception.getMessage());
+ // if the Webservice is unable or the stream
+ // is null for some reason we can continue
+ log.warn(exception.getMessage());
}
catch (MessagingException exception){
+ // keep this one debug, since it means soap isn't
+ // able to parse the document, so it can't continue
+ // anyways
log.debug(exception.getMessage());
}
return RESULT;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]