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

(-)src/components/org/apache/jmeter/visualizers/RequestViewRaw.java (+1 lines)
Lines 87-92 Link Here
87
            }
87
            }
88
            if (sb.length() > 0) {
88
            if (sb.length() > 0) {
89
                sampleDataField.setText(sb.toString());
89
                sampleDataField.setText(sb.toString());
90
                sampleDataField.setCaretPosition(1);
90
            } else {
91
            } else {
91
                // add a message when no request data (ex. Java request)
92
                // add a message when no request data (ex. Java request)
92
                sampleDataField.setText(JMeterUtils
93
                sampleDataField.setText(JMeterUtils
(-)src/components/org/apache/jmeter/visualizers/SamplerResultTab.java (+1 lines)
Lines 334-339 Link Here
334
                statsBuff.append(JMeterUtils.getResString("view_results_assertion_failure_message")).append(assertionResult.getFailureMessage()).append(NL); //$NON-NLS-1$
334
                statsBuff.append(JMeterUtils.getResString("view_results_assertion_failure_message")).append(assertionResult.getFailureMessage()).append(NL); //$NON-NLS-1$
335
                statsDoc.insertString(statsDoc.getLength(), statsBuff.toString(), null);
335
                statsDoc.insertString(statsDoc.getLength(), statsBuff.toString(), null);
336
            }
336
            }
337
            stats.setCaretPosition(1);
337
        } catch (BadLocationException exc) {
338
        } catch (BadLocationException exc) {
338
            stats.setText(exc.getLocalizedMessage());
339
            stats.setText(exc.getLocalizedMessage());
339
        }
340
        }

Return to bug 59975