Looking for groovy equivalent code to perform below actions to avoid
performance overload when below code is called bu each thread before send
DOB

load("jsencrypt.js");

var DOB = "12/03/1990";
var publicKey =
"64886a70d01010105000382020a003082020a02820201009d865a469cd1672a01";
var encrypt = new JSEncrypt.JSEncrypt();
encrypt.setPublicKey(publicKey);
var encrypted = encrypt.encrypt(password);
log.info("Encryped " + encrypted);


PS: jsencrypt.js is placed in bin folder of Jmeter installations



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to