|
本帖最后由 云层 于 2012-1-30 13:14 编辑
云层本年度最后一轮共享,包含Silverlight脚本开发及WAP应用Iphone4脚本开发,剩下的时间需要好好整理一下书中的一些细节,应该会有段时间AFK了
多的废话不说了,下面的内容都 节选《性能测试进阶指南2》,主要代码如下:
- web_url("sl_snapshot.php_4", "URL=http://vip.stock.finance.sina.com.cn/quotes_service/view/sl_snapshot.php?symbol=sz000001&sec_code=276dedc7c5cd4271942937139caedb31&rdm=92c87bdd-f0af-4ec1-bbc0-3b399321bc3f",
- "Resource=0",
- "RecContentType=text/xml",
- "Referer=",
- "Snapshot=t16.inf",
- "Mode=HTML",
- LAST);
- web_url("sl_snapshot.php_5", "URL=http://vip.stock.finance.sina.com.cn/quotes_service/view/sl_snapshot.php?symbol=sz000001&sec_code=276dedc7c5cd4271942937139caedb31&rdm=eca534f6-f8dc-4c8c-87e7-8f8c8a6ffab3",
- "Resource=0",
- "RecContentType=text/xml",
- "Referer=",
- "Snapshot=t17.inf",
- "Mode=HTML",
- LAST);
- web_url("sl_minline.php_2", "URL=http://vip.stock.finance.sina.com.cn/quotes_service/view/sl_minline.php?%20symbol=sz000001&sec_code=33aa11f6c0b93eb603ac964a506d8a06",
- "Resource=0",
- "RecContentType=text/xml",
- "Referer=",
- "Snapshot=t18.inf",
- "Mode=HTML",
- LAST);
复制代码
- send buf0 523
- "GET /?from=sinacn HTTP/1.1\r\n"
- "User-Agent: Opera/9.80 (Windows NT 6.0; U; zh-cn) Presto/2.2.15 Version/10"
- ".00\r\n"
- "Host: 3g.sina.com.cn\r\n"
- "Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png"
- ", image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1\r\n"
- "Accept-Language: zh-CN,zh;q=0.9,en;q=0.8\r\n"
- "Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1\r\n"
- "Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0\r\n"
- "Cookie: mode=10081149-c; stat=0909281221019411528549; la=10081149-3\r\n"
- "Cookie2: $Version=1\r\n"
- "Connection: Keep-Alive\r\n"
- "\r\n"
复制代码
老规矩你懂得:
|
|