预约看房响应数据"对象移到此处"在JMeter中测试ASP点网 [英] Request showing Response data "Object moved to here" in Jmeter Testing asp dot net

查看:485
本文介绍了预约看房响应数据"对象移到此处"在JMeter中测试ASP点网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当执行JMeter的脚本在ASP记录点网网页,该请求被给定为在脚本POST请求但是在结果中它显示为具有2请求的节点​​,第一个是具有POST请求但响应该数据要求显示为对象移到这里。后续重定向选项启用。第二个要求是要正确的页面和发布数据,但该请求给出GET。有没有通过该对象移到这里/响应code 302可避免任何其他的方法?

While executing jmeter script recording in asp dot net webpage, the request is given as POST request in script but in results it shown as a node having 2 request, the first one is having "POST" request but the response data for that request appears as "Object moved to here". The follow redirected option is enabled. The second request is going to the correct page and posting the data but the request is given as GET. Is there any other methods by which the Object moved to here/Response code 302 can be avoided?

增加了对视图状态和事件验证后的处理器,并在其中使用的后处理器请求的屏幕截图。

Added the screenshots for View state and Event validation post processors and the request in which the post processors are used.

附截图。









推荐答案

你可能缺少一个页眉或隐藏的形式提取。

You are probably missing the extraction of either a header or hidden form .

通常对于天冬氨酸它的ViewState,检查这个博客:

Usually for Asp it's viewstate , check this blog :

我在你的登录请求__ViewStateEncrypted看,确实也variabilize呢?

I see in your login request a __ViewStateEncrypted, did you also variabilize it ?

由JMeter的比较记录登录登录看到的差异。

Compare a login recorded with login by jmeter to see the differences.

另外一种可能性,尝试登录从Httpclient4切换到Java实现。

One other possibility, try for login switching from Httpclient4 to Java implementation.

这篇关于预约看房响应数据"对象移到此处"在JMeter中测试ASP点网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆