Bug 37117

Summary: setProperty returns existing value not "" as per docs
Product: JMeter - Now in Github Reporter: Martin West <martin.2.west>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 2.1   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Martin West 2005-10-17 15:04:46 UTC
setProperty appears to return the existing value as per its java counterpart,
not "" as the documentation states, and hence cannot be used just anywhere.
Comment 1 Sebb 2005-10-17 19:35:41 UTC
Thanks for the report.

I've added an optional 3rd parameter so that one can return the original value 
if required, but the default is now to return "" as documented.
Comment 2 Martin West 2005-10-18 13:14:06 UTC
thanks
Comment 3 The ASF infrastructure team 2022-09-24 20:37:35 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1621