Bug 37117 - setProperty returns existing value not "" as per docs
Summary: setProperty returns existing value not "" as per docs
Status: CLOSED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.1
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 15:04 UTC by Martin West
Modified: 2005-10-18 05:14 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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