sebb 2005/06/04 16:17:04 Modified: src/core/org/apache/jmeter/samplers SampleSaveConfiguration.java Log: Save SamplerData in functional mode (as was done in 2.0) Revision Changes Path 1.6 +6 -3 jakarta-jmeter/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java Index: SampleSaveConfiguration.java =================================================================== RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- SampleSaveConfiguration.java 14 May 2005 23:37:30 -0000 1.5 +++ SampleSaveConfiguration.java 4 Jun 2005 23:17:04 -0000 1.6 @@ -155,7 +155,8 @@ dataType = _dataType, encoding = _encoding, assertions = _assertions, subresults = _subresults, responseData = _responseData, samplerData = _samplerData, xml = _xml, fieldNames = _fieldNames, responseHeaders = _responseHeaders, - requestHeaders = _requestHeaders; + requestHeaders = _requestHeaders, + responseDataOnError = _responseDataOnError; private boolean saveAssertionResultsFailureMessage=_saveAssertionResultsFailureMessage; private int assertionsResultsToSave =_assertionsResultsToSave; @@ -329,6 +330,7 @@ s.saveAssertionResultsFailureMessage = saveAssertionResultsFailureMessage; s.delimiter = delimiter; s.printMilliseconds = printMilliseconds; + s.responseDataOnError = responseDataOnError; return s; } @@ -480,7 +482,7 @@ { return responseData || TestPlan.getFunctionalMode() - || (_responseDataOnError && !res.isSuccessful()); + || (responseDataOnError && !res.isSuccessful()); } @@ -498,7 +500,8 @@ */ public boolean saveSamplerData() { - return samplerData; + return samplerData + || TestPlan.getFunctionalMode(); // as per 2.0 branch } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]