Jmeter是否支持客户端JavaScript [英] Does Jmeter support client side javascript
本文介绍了Jmeter是否支持客户端JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Jmeter是否支持客户端javascript.我可以录制脚本,但是重播日志没有显示任何内容.
Does Jmeter support client side javascript. I am able to record the script but replay log doesn't show anything.
推荐答案
JMeter不是浏览器,而是负载生成工具.它可以产生HTTP流量,但实际上不会解析/执行加载的页面附带的JavaScript.
JMeter is not a browser, it's a load generation tool. It can produce HTTP traffic, but it does not actually parse/execute JavaScript coming with the loaded page.
如果您需要对AJAX应用程序进行负载测试,则可以轻松模拟来自正常浏览器请求和AJAX请求的HTTP流量.
If you need to load test your AJAX application, then you can easily simulate HTTP traffic coming from normal browser requests and from AJAX requests.
对于功能性浏览器测试,我建议使用硒.
For functional browser testing I would recommend using Selenium.
这篇关于Jmeter是否支持客户端JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文