tusng积累 同步用户问题

官方邮件列表中看到的:
Sarah Javier ecrivait le 10.10.2008 11:48:
> Hi Everyone,
>
> I would like to ask what connected means under Counter Statistics?
> Because right now I am testing HTTP support of Tsung on our website. We
> tried reading 1000 usernames and passwords using external file and the
> other one is through reading erl. However, sometimes we only got 4, 1 or
> even 0 connected users. I don't know what is wrong. Can you please help
> me. Please see my config below.
>

> <sessions>
> <session name="auth" probability="100" type="ts_http">
> <transaction name="authenticate">
> <request subst="true">
> <http url="/authenticate" method="POST"
> version="1.1" contents="%%readcsv:user%%"></http>
> </request>
> </transaction>
> </session>
> </sessions>

[color=red]
[b]Your users are doing only a single request in a session. So the session
duration is only a few milliseconds. Even at 25 new users per seconds, the
probability to have more than a few users connected simultaneously is very low.[/b][/color]
============================================================================
[color=green][b]PS:大体意思是,你的每个会话(session)中只有一个请求(request),所以会话的
持续时间很短,仅仅几毫秒,即使你每秒产生25个用户,用户同步的可能性也很低很低.[/b][/color]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值