2

好的,我可以将代码片段添加到我的测试页面并传入参数。没问题。如何可视化通过查询字符串传递到我的信标 url 的结果参数?我被跺了跺脚。

如果我在我的测试页面中有:

<script type="text/javascript">
    BOOMR.init({
            beacon_url: "http://localhost/myvisualizationpage.php",
            site_domain: "http://localhost/mytestingpage.php",
            user_ip: "My Virtual Box Bridged IP Address",
            autorun: false
            });
</script>

如何让这个报告(如下)显示在我的“可视化”页面中?

This page took <x> ms to load
Other timers measured: 
t_resp = <x> ms
t_page = <x> ms
Your bandwidth to this server is <x>kbps (±<x>%)
Your latency to this server is <x>±<x>ms
Other parameters:
rt.start = navigation
bw_time = <x>

检查此链接以供参考:http ://hacks.bluesmoon.info/boomerang/doc/howtos/howto-6.html

4

1 回答 1

2

Have a look at howtos.js in the documentation directory: https://developer.akamai.com/tools/boomerang/docs/tutorial-howtos.html

You can create an empty div called results and let howtos.js populate that div with the contents of the beacon.

于 2014-02-07T18:13:30.650 回答