[Tsung] how can i creat a loop of request?

Matteo mcanato at gmail.com
Mon May 26 14:01:10 CEST 2008


I solved this problem by changing the ack attribute in the #ts_request (in
the ts_config_myplugin.erl) from parse to no_ack.

Thanks to all man!
Tsung is a great tool!

M.Canato




On Mon, May 26, 2008 at 9:26 AM, Matteo <mcanato at gmail.com> wrote:

> great, it works!
>
> but now i've the LAST problem....... when for the last 2 minutes i've got
> to send some data to the server, but in this case the server doesn't send me
> anything (it's not a problem, it's the protocol). This is an example of my
> protocol:
>
> Client -> "login"
> "OK 1" <- server
>
> client -> "req1"
> "OK 2" <- server
>
> client -> "req3"
> "OK 3" <- server
>
> LOOP FOR 2 MINUTES (here the server is programmed to receive only)
> client -> "req4"
> client -> "req5"
> client -> "req6"
> END LOOP
>
> So i've to modify the function parse/2, but i'm not able to find the way in
> order to send only. Any suggests?
> Regards,
> M.Canato
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080526/8f681a07/attachment.html


More information about the Tsung-users mailing list