I did a workaround and it worked fine.

Added another BSF sampler ( BeanShell) before that and mentioned like

    vars.put ("reservationid", "${reservationid_1}");

then the next BSF post processor ( java script) 

     var handShakeKeyForDynamicUrls = CryptoJS.SHA1(
"/reservation/${reservationid}" +"abcdeeee"+"12345678"); 

    handShakeKeyForDynamicUrls =
handShakeKeyForDynamicUrls.toString(CryptoJS.enc.Base64); 

    vars.put("handShakeKeyForDynamicUrls", handShakeKeyForDynamicUrls);



--
View this message in context: 
http://jmeter.512774.n5.nabble.com/parameter-parsed-to-SHA1-in-BSF-processor-javascript-of-jmeter-throws-error-tp5718381p5718383.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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

Reply via email to