加密 Response 数据并将其发送到 Next Request 。我怎么能在 JMeter 中做到这一点?

Encrypt Response data and send it to the Next Request . How can i do this in JMeter?

我需要加密 Guid(突出显示的一个),然后将其发送到下一个请求主体。

您需要使用 JSON Extractor 获取 guid 例如 guid 变量

然后使用__digest函数加密(例如SHA1)

${__digest(SHA1,${guid},,,)}

The digest function returns an encrypted value in the specific hash algorithm with the optional salt, upper case and variable name.

使用哪个algorithm加密?根据您的要求,解决方案可能有所不同:

  1. 使用__base64Encode() custom function
  2. 使用__digest() function
  3. __groovy() function与您的自定义加密算法实现结合使用