官方邮件列表中看到的:
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]
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]