# $Id$

# server IP  and port (several IP separated by a ":" can be entered: it
# will be distributed across all clients beam)
SERVER_ADR=127.0.0.1
SERVER_PORT=80

# usually, 'gen_tcp'; other values: 'ssl' and 'gen_udp'
SERVER_PROTOCOL=gen_tcp

# type of client
# possible values: jabber_online, jabber_unique, jabber_offline, jabber_auth,
#	   			   jabber_roster, jabber_dynamic
#	   			   ts_http
CLIENT_TYPE=ts_http


# HTTP specifics options:
# HTTP version
HTTP_VERSION=1.1
# filename of the session's description
HTTP_REQ_FILENAME=%prefix%/etc/http.txt

# type of acknoledgment, 'global' means clients start to send messages
# when all of them are connected (for each beam), 'local' means they
# wait for a response from the server ("auth ok" for ex.), 'no_ack'
# means they didn't wait for a response. 'parse' means that the
# client parse the response to know when the response is over.
# for HTTP, use parse.
MESSAGES_ACK=parse

# mean client intearrival (in sec, can be a float) for ex. a value of
# 0.01 sec will lead to 100 new clients every second (on average).
INTERARRIVAL=0.1

# number of message/request sent by each client during a session.
# not used for HTTP (see HTTP_REQ_FILENAME instead)
MESSAGES_NUMBER=10

# average elapsed time between two messages/requests sent by a client, in sec.
MESSAGES_INTERARRIVAL=120

# Total number of clients (distributed across all machines)
NCLIENTS=20

# list of client machines (hostname or IP), separated by a ":"
MACHINES=localhost
# tsunami controller
CONTROLLER=localhost

# config file access (needed to copy dynamically generated config
# files to remote machines). Possible values are: nfs or scp. 
# Not used if a machine is localhost
FILE_ACCES=nfs

# monitoring (full,light or none). Use 'full' is you want to have a
# full dump of all the traffic (warning: use more RAM, and can use a
# lot of disk space). Using 'light', you will have only the first bytes of
# every packets, and 'none' will log nothing at all.
# for HTTP, none is enough.
MONITORING=none

# periodic dump of the statistics about response time, etc. (in msec)
DUMPSTATS_INTERVAL=10000

# logfile name
LOG_FILE=%prefix%/log/idx-tsunami.log

# verbosity level: 7 mean lots of debugging info; 4 by default. min = 0
DEBUG_LEVEL=4

# erlang cookie.
COOKIE=tsunami

###
### Jabber specific parameters
###
# JABBER_DOMAIN=mydomain.com

# used by jabber_roster
# size of the roster to be set (must be a multiple of 2)
# N_ROSTER_CLIENTS=6
