woolfel 2004/03/09 06:55:39
Modified: src/protocol/http/org/apache/jmeter/protocol/http/sampler
HTTPSampler.java
Log:
when there's an IOException, the URL should still be set. Found this
difference in the process of writing the monitor. I use the URL as
the unique key for each individual serverpanel.
peter lin
Revision Changes Path
1.88 +3 -2
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
Index: HTTPSampler.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- HTTPSampler.java 22 Feb 2004 19:21:41 -0000 1.87
+++ HTTPSampler.java 9 Mar 2004 14:55:39 -0000 1.88
@@ -1164,6 +1164,7 @@
catch (IOException e)
{
res.sampleEnd();
+ res.setURL(url);
return errorResult(e, url.toString(), res.getTime());
}
finally
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]