ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
cfg.loadtest.template.php
Go to the documentation of this file.
1 <?php
2 
3 // copy this file to "cfg.loadtest.php", enter your values,
4 // change to scripts dir and call
5 // > ./run_loadtest ../config/cfg.loadtest.php
6 // from command line
7 
8 // complete path to jmeter directory (no trailing /)
9 $jmeter_base = "/opt/jmeter_2_3_4";
10 
11 // web server host name
12 $web_host = "welles.local";
13 
14 // complete path of ilias web directory (no trailing /)
15 $iliaswebdir = "/htdocs/ilias3";
16 
17 // relative path of ilias web directory in web server web space
18 // no preceding or trailing /
19 $iliasrelwebdir = "ilias3";
20 
21 // ilias client name
22 $client = "loadtest";
23 
24 // ilias db connection credentials
25 $db_host = "localhost";
26 $db_user = "root";
27 $db_pw = "";
28 $db_name = "loadtest";
29 
30 
31 
32 // test programme
33 $tests = array(
34  array(
35  "title" => "First Test",
36  "testplan" => "/htdocs/ilias3/Services/LoadTest/jmx/test1.jmx",
37  "jtlfile" => "/htdocs/ilias3/Services/LoadTest/results/test1.jtl",
38  "threads" => "1",
39  "loops" => "1",
40  "ramp_up" => "1",
41  "parameter" => array(
42  "usercsv" => "/htdocs/ilias3/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/user.csv",
43  "catcsv" => "/htdocs/ilias3/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/cat.csv",
44  "crscsv" => "/htdocs/ilias3/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/crs.csv"
45  )
46  )
47  );
48 
49 ?>