Unanswered question

How to use CryptoJS HMAC SHA256 in neoload

Service Client:

The request URL is signed with token as private key using CryptoJS.HmacSHA256 and the signature is
then encoded to Base64 string. The encoded signature is added along with the Login to the request
header ‘Authentication’.
For login authentication we need to convert token into above format.

Nrusingh P.
Nrusingh P.

Nrusingh P.

75 / 100


You should be able to execute that JS code in NeoLoad. Download the two JS's to encrypt and encode your message and create them as JS library in NeoLoad from menu "Edit-->JS libraries

Then from a NeoLoad Javascript, call those crypto methods to use them.

You can find some examples on the Internet like from here