how to write custom function in jmeter