Functions in jmeter - __setProperty and _property

setProperty function is used to set a key value pair where tool is the key and jmeter is the value

${__setProperty(tool,jmeter)}

Then we can use the below property to fetch the value of key tool that we have just set. It will fetch and value and save it in a variable named prop and if no value is found it will save notfound

${__property(tool,prop,notfound)}