2

我正在使用 jmeter 测试我的网站(称为 google anlytics),我的所有响应都正常,我什至可以看到响应数据,但 google anlytics 没有显示任何内容。
这是否意味着我的请求失败了?

这是测试计划

 Test Plan 
   Thread Group
       http header Manager
       http cache manager
       Sample Request to my website
   View Results Tree
4

2 回答 2

3

JMeter 不是浏览器,因此它不会在 html 页面中执行 javascript,通常 google 分析调用是:

所以这不是一个真正的问题。

查看您的测试计划,它包含在负载测试期间不正常的元素,因为它们消耗大量资源,例如查看结果树:

于 2012-12-23T21:50:15.543 回答
0

In general it is also considered a poor performance practice to include third party items where you do not have direct written permission to test from the site owners. If you do find an error in Google Analytics just who would you report it to and what would be your reconciliation path to ensure that it is fixed prior to your release?

于 2012-12-24T16:17:35.543 回答