title: JSON web token generator for JMeter
body: <p>I'm trying to compare JWT value returned by an API call to an expected valid value in JMeter. For this, I need to generate the expected value in a pre-processor (either the BSF pre-processor or the Bean shell pre-processor) and then compare it to the extracted from the call response value.
  Has anyone created anything similar before?
  I currently use <a href="http://jwt.io/" rel="nofollow">http://jwt.io/</a> to manually generate the expected values, but would like to dynamically generate these values in JMeter.</p>