[Tsung] Reading External File for ts_http

Muhamad Fadli Ishak fadliishak at gmail.com
Mon Jan 28 16:28:32 CET 2008


Finally got it to work.

We made two changes. There were:

1) Erl Script from
user(Pid) to user({Pid,DynData})

2) Change Erl Script from
"login_id=" ++ Username ++"&login_pwd=" ++ Passwd.
to
"login_id=" ++ Username ++"&login_pwd=" ++ Passwd.


I dont think the first point is the problem. If it is then the manual should
be corrected as well.


What we did was, displaying the value retrieved from the file.

<request subst="true"><http
url='/dologin.php?random=%%ts_user_server:get_unique_id%%&amp;log=%%readcsv:user%%'
version='1.1'
contents='%%readcsv:user%%&amp;skin=lightblue'
content_type='application/x-www-form-urlencoded'
method='POST'></http></request>




More information about the Tsung-users mailing list