I am trying to compare the JWT value returned by an API call to the expected valid value in JMeter. To do this, I need to generate the expected value in the pre-processor (either the BSF pre-processor or the Bean shell pre-processor), and then compare it with the value retrieved from the call response. Has anyone created something like this before? I am currently using http://jwt.io/ to manually generate the expected values, but would like to dynamically generate these values in JMeter.
source
share