Rajana
4 years agoOccasional Contributor
How to use "CryptoJS" through groovy scripting in SoapUI
I am using the code to generate hash key in SoapUi open source :
def authHash = CryptoJS.enc.Base64.stringify(CryptoJS.HmacSHA256(CryptoJS.enc.Utf8.parse(stringToSign), CryptoJS.enc.Base64.parse(testRunner.testCase.testSuite.getPropertyValue("SignKey"))));
Its throwing the below error : groovy.lang.missingPropertyException:No such property : CryptoJS for class . How to handle this issue .