本文介绍了Jmeter记录器运行时无法浏览ASP.NET网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题几乎说明了一切.当我运行HTTP(S)测试脚本记录器时,一个特定页面变得无响应-当我单击某些内容时,它只会重新加载.记录器本身运行良好,正在记录每个步骤.而且问题与代理无关.我已经成功记录了同一网站的其他页面.当我不录制时,没有任何问题.

The title pretty much says it all. When I'm running HTTP(S) Test Script Recorder, one particular page becomes unresponsive - when I click on something it just reloads. The recorder itself is working fine, it is recording every step. And the problem is not proxy related. I've successfully recorded other pages of the same website. When I'm not recording, there are no problems.

这是一个.NET 3.5项目.该页面本身具有很多形式,文件上传等,但是据我所知,它不应该干扰录制,甚至不会干扰浏览页面.在调试项目时,不会遇到断点,因此我认为某些东西在到达服务器之前就丢失了.

It's a .NET 3.5 project.The page itself has a lot of forms, file uploads, etc, but as far as I know, it should not interfere with recording or even more - with browsing the page. When debugging the project, no breakpoints are hit, so I assume that something gets lost before reaching the server.

我尝试过的浏览器:尝试过FF,Chrome,Edge,IE.尝试在本地和在线记录网络.一样.玩(带有已安装的证书)(没有安装)无济于事.

Browsers that I've tried: tried FF, Chrome, Edge, IE. Tried recording the web locally and online. Same thing. Played around (reinstalled and whatnot) with certificates, didn't help.

有人遇到过这样的问题吗?可以采取什么措施解决此问题?我更想找到解决方案,而不是解决方法(blazemeter,坏男孩).任何帮助将不胜感激.

Has anyone encountered such a problem? What could be done to fix this? I'm more interested in finding the solution, than a way around (blazemeter, badboy). Any help would be very appreciated.

我尝试使用blazemeter进行录制,并且可以正常工作.但是当查看视图结果树时,我注意到请求路径和参数没有改变,即使在HTTP Request Sampler中它们是不同的.所以还没有解决办法

I tried recording with blazemeter and it worked. But when looking at view results tree I noticed that the request path and parameters don't change, even when in the HTTP Request Sampler they are different. So there's no solution yet

推荐答案

事实证明,在测试脚本记录器HTTP采样器设置"中选择类型:Java"就足够了.我怀疑该问题与文件上载有关.

It turns out that in Test Script Recorder HTTP Sampler Settings choosing Type: Java was all that was needed. I suspect that the issue was related to file upload being involved.

这篇关于Jmeter记录器运行时无法浏览ASP.NET网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 14:27