Showing posts with label ab. Show all posts
Showing posts with label ab. Show all posts

Wednesday, February 23, 2011

用Apache ab模拟用户登录后投注测试

[cc lang="text"] ab -c 50 -n 3000 -C PHPSESSID=we21f3a362ea79f82076c9c79b8109 -p tmp.txt -T application/x-www-form-urlencoded http://localhost/jczq/projectgg/index[/cc]
tmp.txt格式
[cc lang="text"]codes=146|3/147|3/141|3/148|3/145|3/143|3&totalmoney=2&zhushu=1&beishu=1&playid=spf&pass_type=6_1[/cc]