webpagetest使用-测试过程中参数设置

测试前端性能性能时需要设置一些cookie、useragent等参数
在webpagetest中支持参数, 如图I所示

webpagetest使用-测试过程中参数设置_第1张图片
图I
1、navigate     http://w.58.com/yp/index 必须有,指示参数主题url
2、setUserAgent    MicroMessenger 设置useragent,此为微信端
3、setCookie     http://w.58.com/yp/index     添加cookie
oauth_userinfo=09ce2b9954543190dd8aec4b99d386eb47b8781033d824d7b66f459670b7da8cc39d79845529b5a219857a6025249e0a4861fc1a941e127ed2349d3de79dc885355044b0fedb8858b691c534456a9192e4e992ad0fd0e36f298f95b2f9a266e3edab1a391a4f8ebbfc9f5bdcd900526cea232115057daeadd9edacf61a111c41dbd1818cebb8f1433b488f61e95801adab6bf8c1593afcb154a9b0220c6628504d3aa1c6e3b23734a63cd64ae4478fbcfd38815f167d3b41ff54e97a4e87537bf87ebf0c7dd1863c63202ebaa2b591c5b1908e5fc5a9a8b12484c3bc8d429fa1447c9303702f5bff3173e3d84df57ed48fdb0344d4f255e90d2e694ccb31a4c18cd5d4f738d868848c3086079e6b2a11ff1b329d9995e47337a80ebffecdf697abdf727c35deaa75ac6946bac85a3c48cf5b78239304db668ad979998ab9f7684c64f67c0865dc0cd7d8b4c3e56079af2b0167eaebd3c99882fc4b86f16dd72d6ab93cccdb2cbed82383e8d8a201af573b9a909191b2866334820d0d90f1de3d6ab784271b8761ae7d72652c5a23f946335ed9c4bf05eb4ca78dd6a63978355ad45a714353c2fe81a6a7719966f1e6799e38ceff376835a6e1707e2917a978c34ef7c71a1a104c5758cdb68833503f3ee73f7836261f7749c0ec1da65b01ffae7eb3f5297ce51b5e53926e5877c6a8737e3417af5ef2003fca656ed2db15d756

你可能感兴趣的:(日常笔记)