序..................................................................................1
前言 ...............................................................................3
基本用例
第1章我的页面有多快.................................................. 11
衡量标准 ...............................................................................................................11
综合测试和RUM测试 ............................................................................................12
第2章 什么拖慢了我的页面 ...........................................14
牛刀小试 ...............................................................................................................14
瀑布图分析 ............................................................................................................19
WebPageTest 评级 ..................................................................................................31
第3章缓存调优 ............................................................36
启用重复视图 ........................................................................................................37
缓存分析 ...............................................................................................................39
启发式缓存 ............................................................................................................40
第4章 对比测试 ............................................................42
性能感知 ...............................................................................................................42
幻灯片和视频 ........................................................................................................44
小结 .......................................................................................................................51
第二部分 中级用例
第5章用户仿真 ............................................................55
用户行为分析 ........................................................................................................56
第6章移动测试 ............................................................71
桌面仿真 ...............................................................................................................71
流量定制 ...............................................................................................................74
原生设备 ...............................................................................................................75
第7章条件脚本 ............................................................78
流视图 ...................................................................................................................79
授权 .......................................................................................................................81
第8章单点故障测试 ......................................................85
重定向黑洞 ............................................................................................................87
请求阻塞 ...............................................................................................................92
第三部分高级用例
第9章 WebPageTest API简介......................................97
入门介绍 ...............................................................................................................97
运行测试 ...............................................................................................................99
分析测试结果 ......................................................................................................103
综上所述 .............................................................................................................107
第10章持续集成........................................................108
Node.js包装器 .....................................................................................................108
测试结果中的断言指标 .......................................................................................116
Jenkins集成 .........................................................................................................121
Travis-CI 集成 .....................................................................................................122第11章私有实例.........................................................125
WebPageTest 工作原理 .........................................................................................126
使用AWS 的预配置AMI服务 ...............................................................................127
本地安装 .............................................................................................................130
私有实例特性 ......................................................................................................146
日常管理 .............................................................................................................149
故障诊断 .............................................................................................................151
助力WebPageTest ................................................................................................154
附录A API 输入/输出引用指南.....................................155