DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37807>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37807





------- Additional Comments From [EMAIL PROTECTED]  2006-01-18 12:52 -------
I made the following change that helped for me.

Version: jakarta-jmeter-2-1.20060113
Class: HTTPSamplerBase
Method: protected HTTPSampleResult downloadPageResources(HTTPSampleResult res,
HTTPSampleResult container, int frameDepth)
Lines: 594 - 605

Before change:
while (urls.hasNext()) {
  Object binURL = urls.next();
  try {
    HTTPSampleResult binRes = sample((URL) binURL, GET, false, frameDepth + 1);
    res.addSubResult(binRes);
    res.setSuccessful(res.isSuccessful() && binRes.isSuccessful());
  } catch (ClassCastException e) {
    res.addSubResult(errorResult(new Exception(binURL + " is not a correct
URI"), res));
    res.setSuccessful(false);
    continue;
  }
}

After change:
while (urls.hasNext()) {
  String binURL = encodeSpaces(urls.next().toString());
  try {
    HTTPSampleResult binRes = sample(new URL(binURL), GET, false, frameDepth + 
1);
    res.addSubResult(binRes);
    res.setSuccessful(res.isSuccessful() && binRes.isSuccessful());
  } catch (MalformedURLException e) {
    res.addSubResult(errorResult(new Exception(binURL + " is not a correct
URI"), res));
    res.setSuccessful(false);
    continue;
  }
}

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to