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

(-)/home/schizophrenia/workspace/jmeter/src/core/org/apache/jmeter/control/TransactionSampler.java (+6 lines)
Lines 105-110 Link Here
105
    public void addSubSamplerResult(SampleResult res) {
105
    public void addSubSamplerResult(SampleResult res) {
106
        // Another subsample for the transaction
106
        // Another subsample for the transaction
107
        calls++;
107
        calls++;
108
        
109
        // Set Response code of transaction
110
        if (noFailingSamples == 0) {
111
        	transactionSampleResult.setResponseCode(res.getResponseCode());
112
        }
113
        
108
        // The transaction fails if any sub sample fails
114
        // The transaction fails if any sub sample fails
109
        if (!res.isSuccessful()) {
115
        if (!res.isSuccessful()) {
110
            transactionSampleResult.setSuccessful(false);
116
            transactionSampleResult.setSuccessful(false);

Return to bug 54985