Jmeter脚本中的内部服务器错误

Jmeter脚本中的内部服务器错误,jmeter,Jmeter,我试图为我们的PEGA应用程序创建Jmeter脚本,但每次回复脚本都会由于以下问题而失败 有人能帮忙吗 Thread Name: Thread Group 1-1 Sample Start: 2016-08-12 08:38:58 IST Load time: 604 Connect Time: 0 Latency: 603 Size in bytes: 4267 Headers size in bytes: 1774 Body size in bytes: 2493 Sample Count:

我试图为我们的PEGA应用程序创建Jmeter脚本,但每次回复脚本都会由于以下问题而失败

有人能帮忙吗

Thread Name: Thread Group 1-1
Sample Start: 2016-08-12 08:38:58 IST
Load time: 604
Connect Time: 0
Latency: 603
Size in bytes: 4267
Headers size in bytes: 1774
Body size in bytes: 2493
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 500
Response message: Internal Server Error

Response headers:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Set-Cookie: Pega-RULES=H79D7E64B2C531F36AE825FC87DA355F5; Version=1; Comment="PegaRULES session tracking"; Path=/prweb

您很可能缺少标题或cookie

我建议您尝试使用JMeter测试脚本记录器记录流量,以避免丢失任何头

见:

这样您就不会错过任何标题或cookie

然后查看需要使用后处理器和变量(${varName})进行变量化的内容