Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAJOR Update (not yet finished): New configuration system using an XM…
…L file. This requires xmerl-0.15 SVN Revision: 123
- Loading branch information
1 parent
a25bab1
commit 65af9b8
Showing
25 changed files
with
1,200 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
%%% | ||
%%% Copyright © IDEALX S.A.S. 2003 | ||
%%% | ||
%%% Author : Nicolas Niclausse <nicolas.niclausse@IDEALX.com> | ||
%%% Created: 03 Dec 2003 by Nicolas Niclausse <nicolas.niclausse@IDEALX.com> | ||
%%% | ||
%%% This program is free software; you can redistribute it and/or modify | ||
%%% it under the terms of the GNU General Public License as published by | ||
%%% the Free Software Foundation; either version 2 of the License, or | ||
%%% (at your option) any later version. | ||
%%% | ||
%%% This program is distributed in the hope that it will be useful, | ||
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
%%% GNU General Public License for more details. | ||
%%% | ||
%%% You should have received a copy of the GNU General Public License | ||
%%% along with this program; if not, write to the Free Software | ||
%%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. | ||
%%% | ||
|
||
-vc('$Id$ '). | ||
-author('nicolas.niclausse@IDEALX.com'). | ||
|
||
-record(config, { | ||
name, | ||
loglevel = ?WARN, | ||
monitoring = none, | ||
controller, %% controller machine | ||
clients=[], %% client machines | ||
|
||
server, %% server to test | ||
arrivalphases =[], %% arrival process specs | ||
thinktime, %% default thinktime specs | ||
sessions=[], | ||
session_tab, | ||
curthink, %% temporary var (current request think) | ||
curid = 0 %% temporary var (current request id) | ||
}). | ||
|
||
-record(client, | ||
{host, | ||
weight = 1, | ||
maxusers, | ||
ip = [] | ||
}). | ||
-record(server, | ||
{host, | ||
port, | ||
type | ||
}). | ||
-record(session, | ||
{ id, | ||
popularity, | ||
type, | ||
messages_ack = parse, | ||
persistent = false, | ||
size | ||
}). | ||
|
||
-record(arrivalphase, | ||
{phase, | ||
duration, | ||
unit, | ||
number, %% ? | ||
intensity, | ||
maxnumber | ||
}). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.