读书人

tusng积累 同步用户有关问题

发布时间: 2012-08-17 02:08:34 作者: rapoo

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>


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.

============================================================================
PS:大体意思是,你的每个会话(session)中只有一个请求(request),所以会话的
持续时间很短,仅仅几毫秒,即使你每秒产生25个用户,用户同步的可能性也很低很低.

读书人网 >开源软件

热点推荐