Skip to main content
3 of 3
added 145 characters in body

Out of the box JMeter can use __digest() function to return encrypted value using algorithms:

  • MD2
  • MD5
  • SHA-1
  • SHA-224
  • SHA-256
  • SHA-384
  • SHA-512

But there are no AES support by default. To be able work with it follow this steps:

  1. Check this question to find out how to deal with AES in Java: Java aes encrypt decrypt example
  2. Add JSR223 Sampler to JMeter Test Plan, choose Java Beanshell Engine in it's Language option and use The Java Power to crypt your JSON.
  3. Check more information about advanced usage of BeanShell