我有一个场景,如下所示
我使用JMeter记录了场景,它具有动态值,如__VIEWSTATE和___EVENTVALIDATION等,并将它们关联起来。
但在第4步中,在j测量仪中而不是适当的响应主体和下面的消息显示。1|#||4|137|pageRedirect||%2fPerfTesting%2fError.aspx%3faspxerrorpath%3d%2fPerfTesting%2ffi-FI%2fDefault%2fKAXXILA%2fPlanning%2fPlanningMenuWeekView.aspx|
任何建议
发布于 2022-02-21 08:06:32
- associated JMeter Variables are there
- they have correct values (like you extracted the dynamic parameter fully)
- depending on your application and extra step might be required like [URL-encoding](https://www.w3schools.com/tags/ref_urlencode.asp) the parameter or vice versa您可以使用调试采样器和查看结果树侦听器组合来检查这些变量
- URL
- [Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)
- Request body所有的动态参数都必须有适当的关联。如果您将发送相同的请求,您应该得到相同的响应。
https://stackoverflow.com/questions/71202788
复制相似问题