View | Details | Raw Unified | Return to bug 59008
Collapse All | Expand All

(-)src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java (-1 / +3 lines)
Lines 1616-1622 Link Here
1616
        }
1616
        }
1617
        if (isImageParser() && (SampleResult.TEXT).equals(res.getDataType()) && res.isSuccessful()) {
1617
        if (isImageParser() && (SampleResult.TEXT).equals(res.getDataType()) && res.isSuccessful()) {
1618
            if (frameDepth > MAX_FRAME_DEPTH) {
1618
            if (frameDepth > MAX_FRAME_DEPTH) {
1619
                res.addSubResult(errorResult(new Exception("Maximum frame/iframe nesting depth exceeded."), new HTTPSampleResult(res)));
1619
                HTTPSampleResult errSubResult = new HTTPSampleResult(res);
1620
                errSubResult.removeSubResults();
1621
                res.addSubResult(errorResult(new Exception("Maximum frame/iframe nesting depth exceeded."), errSubResult));
1620
            } else {
1622
            } else {
1621
                // Only download page resources if we were not redirected.
1623
                // Only download page resources if we were not redirected.
1622
                // If we were redirected, the page resources have already been
1624
                // If we were redirected, the page resources have already been

Return to bug 59008