While load testing the login module in jmeter, using X-Amz-Target AWSCognitoIdentityProviderService.RespondToAuthChallenge, how is the value for PASSWORD_CLAIM_SIGNATURE parameter assigned in the script.

  • What is the algorithm for generating that?
  • How to use amplify-js library for generating the value for PASSWORD_CLAIM_SIGNATURE in jmeter?

1 Answer 1


The recommended scripting option for JMeter is Groovy language therefore I would rather recommend using AWS SDK for Java from the JSR223 Test Elements rather than trying to use amplify-js (whatever it is)

You can check aws-cognito-java-desktop-app for example code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.