Hi,
I've seen message about saving response data only when sample failed but with no
conclusion.
So I've made this little hack to do it:
C:\jakarta-jmeter-2.0.1_src\jakarta-jmeter-2.0.1\src\core\org\apache\jmeter\save\SaveService.java:
line 689
if (saveResponseData || (!result.isSuccessful()) ) // instead of if
(saveResponseData )
{
config.addChild(getConfiguration(result.getResponseData()));
}
A nice thing will be to have a save option like this in jmeter.properties:
jmeter.save.saveservice.response_data_when_failed=true
Then:
if (saveResponseData || (saveResponseDataWhenFailed &&
!result.isSuccessful()))
{
config.addChild(getConfiguration(result.getResponseData()));
}
What do think about it ?
Rgds,
Franck Arnulfo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]