ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
cfg.loadtest.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";
10 
11 // web server host name
12 $web_host = "scott.local";
13 
14 // complete path of ilias web directory (no trailing /)
15 $iliaswebdir = "/htdocs/ilias_3_10_x";
16 
17 // relative path of ilias web directory in web server web space
18 // no preceding or trailing /
19 $iliasrelwebdir = "ilias_3_10_x";
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 = "loadtest310x";
29 
30 
31 
32 // test programme
33 $tests = array(
34  array(
35  "title" => "First Test",
36  "testplan" => "/htdocs/ilias_3_10_x/Services/LoadTest/jmx/test1.jmx",
37  "jtlfile" => "/htdocs/ilias_3_10_x/Services/LoadTest/results/test1.jtl",
38  "threads" => "1",
39  "loops" => "1",
40  "ramp_up" => "1",
41  "parameter" => array(
42  "usercsv" => "/htdocs/ilias_3_10_x/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/user.csv",
43  "catcsv" => "/htdocs/ilias_3_10_x/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/cat.csv",
44  "crscsv" => "/htdocs/ilias_3_10_x/Services/LoadTest/data/cat_200_crs_300_file_40_cal_30_news_1/crs.csv"
45  )
46  )
47  );
48 
49 ?>