blob: 512fe87dfcccdded4c600d518a3c5dd193d3fe28 [file] [log] [blame]
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000-2019 Ericsson Telecom AB //
// //
// All rights reserved. This program and the accompanying materials //
// are made available under the terms of the Eclipse Public License v2.0 //
// which accompanies this distribution, and is available at //
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html //
///////////////////////////////////////////////////////////////////////////////
[MAIN_CONTROLLER]
[TESTPORT_PARAMETERS]
*.EPTF_guiPortIf.use_connection_ASPs := "yes"
*.EPTF_guiPortIf.packet_hdr_length_offset := "0"
*.EPTF_guiPortIf.packet_hdr_nr_bytes_in_length := "4"
*.EPTF_guiPortIf.packet_hdr_byte_order := "MSB"
*.EPTF_guiPortIf.server_mode := "no"
*.EPTF_guiPortIf.halt_on_connection_reset := "no"
*.EPTF_CLI_TELNET_PCO.CTRL_PORTNUM := "3457"
*.EPTF_CLI_TELNET_PCO.CTRL_LOGIN_SKIPPED := "yes"
*.EPTF_CLI_TELNET_PCO.CTRL_USERNAME_CLIENT := "ttcn"
*.EPTF_CLI_TELNET_PCO.CTRL_PASSWORD_CLIENT := "ttcn"
*.EPTF_CLI_TELNET_PCO.CTRL_SERVER_PROMPT := "TTCN> "
*.EPTF_CLI_TELNET_PCO.CTRL_MODE := "server"
*.EPTF_CLI_displayTELNET_PCO.CTRL_PORTNUM := "3458"
*.EPTF_CLI_displayTELNET_PCO.CTRL_LOGIN_SKIPPED := "yes"
*.EPTF_CLI_displayTELNET_PCO.CTRL_USERNAME_CLIENT := "ttcn"
*.EPTF_CLI_displayTELNET_PCO.CTRL_PASSWORD_CLIENT := "ttcn"
*.EPTF_CLI_displayTELNET_PCO.CTRL_SERVER_PROMPT := "TTCN> "
*.EPTF_CLI_displayTELNET_PCO.CTRL_MODE := "server"
[MODULE_PARAMETERS]
tsp_EPTF_UIHandler_Authmsg := ""
tsp_xtdp_listen_addr := "127.0.0.1"
tsp_xtdp_listen_port := 11420
tsp_debug_EPTF_CS_Admin_Functions := true
tsp_debug_EPTF_CLL_CSLB_Functions := true
tsp_debug_EPTF_ExecCtrl_Functions := true
tsp_EPTF_LGenBaseDebug := true
tsp_EPTF_LGenBaseDebugTraffic := true
tsp_EPTF_CS_LGenHostnameList := {
$HOSTNAME,
$HOSTNAME
}
// change this to the actual hostname(s), as localhost may not work correctly
//tsp_use_RuntimeGUI := false;
tsp_nof_A_CS_Admins := 1
// set to 0 to disable Stack B
// tsp_nof_B_CS_Admins := 0
// set to 0 to disable Stack B
tsp_CS_Admin_A_HostList := { }
// tsp_CS_Admin_B_HostList := { }
tsp_demoInterval := 10.0
tsp_useLoadBalancing_A := true
// tsp_useLoadBalancing_B := false
// tsp_CS_GUI_Main_Tabbox_WidgetId := "EPTF_Main_tabbox"
tsp_EPTF_GUI_Main_Window_Width := 820.0
tsp_EPTF_GUI_Main_Window_Height := 630.0
tsp_EPTF_GUI_Main_Window_Title := "Central Scheduling demo"
tsp_EPTF_Base_serialStopAllComponents := true
//tsp_use_RuntimeGUI := false
tsp_ExecCtrl_manualControl := false
tsp_EPTF_Var_SyncInterval := 1.0
// also GUI refresh preiod
/*tsp_LoadRegulators := {
{
host := "",
name := "LoadReg",
loadToReach := 12.0
},
{
host := "",
name := "LoadReg2",
loadToReach := 25.0
}
}*/
tsp_LGenBase_EntityGrpDeclarators := {
{
name := "grp0",
eType := "CS_Entity_LGen_A",
eCount := 5
},
{
name := "grp2",
eType := "CS_Entity_Tc_A",
eCount := 10
},
{
name := "grp4",
eType := "CS_Entity_LGen_B",
eCount := 10
},
{
name := "grp3",
eType := "CS_Entity_Tc_B",
eCount := 10
}
}
tsp_LGenBase_Scenarios2Grps := {
{
eGrpName := "grp2",
scenarioNames := {
"scenario_0_declarator2"
}
},
{
eGrpName := "grp3",
scenarioNames := {
"scenario_1_declarator2"
}
}
}
tsp_LGenBase_TcMgmt_ScenarioDeclarators2 := {
{
name := "scenario_0_declarator2",
tcList := {
{
tcName := "TC_A1",
startDelay := 0.0,
cpsToReach := 1.0,
enableEntities := true,
enable := true,
ranges := { },
params := { },
groupFinishConditions := {
nrOfExecStart := 1,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := {
nrOfExecStart := omit,
nrOfSuccesses := omit,
nrOfFails := omit,
customFinishCondition := omit
},
tcFinishActions := { },
entityFinishActions := { }
},
{
tcName := "TC_A2",
startDelay := 0.0,
cpsToReach := 1.0,
enableEntities := true,
enable := true,
ranges := { },
params := { },
groupFinishConditions := {
nrOfExecStart := 1,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := {
nrOfExecStart := omit,
nrOfSuccesses := omit,
nrOfFails := omit,
customFinishCondition := omit
},
tcFinishActions := { },
entityFinishActions := { }
},
{
tcName := "TC_A3",
startDelay := 0.0,
cpsToReach := 1.0,
enableEntities := true,
enable := true,
ranges := { },
params := { },
groupFinishConditions := {
nrOfExecStart := 5,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := {
nrOfExecStart := omit,
nrOfSuccesses := omit,
nrOfFails := omit,
customFinishCondition := omit
},
tcFinishActions := { },
entityFinishActions := { }
}
}
},
{
name := "scenario_1_declarator2",
tcList := {
{
tcName := "TC_B",
startDelay := 0.0,
cpsToReach := 1.0,
enableEntities := true,
enable := true,
ranges := { },
params := { },
groupFinishConditions := {
nrOfExecStart := 1,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := {
nrOfExecStart := omit,
nrOfSuccesses := omit,
nrOfFails := omit,
customFinishCondition := omit
},
tcFinishActions := { },
entityFinishActions := { }
}
}
}
}
tsp_LGenBase_TcMgmt_tcTypeDeclarators2 := {
{
name := "TC_A1",
fsmName := "EPTF_CS_FSM_Tc",
entityType := "CS_Entity_Tc_A",
customEntitySucc := ""
},
{
name := "TC_A2",
fsmName := "EPTF_CS_FSM_Tc",
entityType := "CS_Entity_Tc_A",
customEntitySucc := ""
},
{
name := "TC_A3",
fsmName := "EPTF_CS_FSM_Tc",
entityType := "CS_Entity_Tc_A",
customEntitySucc := ""
},
{
name := "TC_B",
fsmName := "EPTF_CS_FSM_Tc",
entityType := "CS_Entity_Tc_B",
customEntitySucc := ""
}
}
/*
tsp_Scenarios := {
{
name := "scenario_A",
entityTypeSuffix := "_A",
nOfEntities := 30,
// execCtrlMode := automatic,
loadRegName := "LoadReg",
preexecLoadRegName := "LoadReg",
postexecLoadRegName := "LoadReg2",
preexecEnabled := true,
postexecEnabled := true,
// loadBalancingEnabled := false,
nOfPTCs := 10,
enabled := true,
cpsToReach := 2.0,
lockCPS := false,
commonGroupFinishConditions := {
nrOfExecStart := 20,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := 150.0,
entitiesFinished := omit,
customFinishCondition := omit
},
weightedScData := {
deterministicMix := true
},
tcList := {
{
// A - PreExec/LoadGen/PostExec
tcName := "TC_A0",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := true,
enable := true,
ranges := {
{
name := "public id", //range 0-2
enableSplit := false,
baseOffset := 0,
count := 3
},
{
name := "user id", //range 0-0
enableSplit := false,
baseOffset := 0,
count := 1
},
{
name := "subscriber id", //range 0-99
enableSplit := false,
baseOffset := 0,
count := 3
}
},
params := {
// {aName:="CS_Admin",pName:="trafficCasePreexecEnabled",pValue:="false" },
// {aName:="CS_Admin",pName:="trafficCasePostexecEnabled",pValue:="false" }
},
groupFinishConditions := omit,
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
},
{
tcName := "TC_A1",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := true,
enable := true,
ranges := {
{
name := "public id", //range 0-2
enableSplit := false,
baseOffset := 0,
count := 3
},
{
name := "user id", //range 0-0
enableSplit := false,
baseOffset := 0,
count := 2
},
{
name := "subscriber id", //range 0-99
enableSplit := false,
baseOffset := 0,
count := 2
}
},
params := {
},
groupFinishConditions := omit,
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
},
{
tcName := "TC_A2",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := true,
enable := true,
ranges := {
{
name := "public id", //range 0-2
enableSplit := false,
baseOffset := 0,
count := 2
},
{
name := "user id", //range 0-0
enableSplit := false,
baseOffset := 0,
count := 3
},
{
name := "subscriber id", //range 0-99
enableSplit := false,
baseOffset := 0,
count := 5
}
},
params := {
},
groupFinishConditions := {
nrOfExecStart := 30,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
},
{
tcName := "TC_A3",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := true,
enable := true,
ranges := {
{
name := "public id", //range 0-2
enableSplit := false,
baseOffset := 0,
count := 2
},
{
name := "user id", //range 0-0
enableSplit := false,
baseOffset := 0,
count := 2
},
{
name := "subscriber id", //range 0-99
enableSplit := false,
baseOffset := 0,
count := 5
}
},
params := {
},
groupFinishConditions := omit,
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
}
} //tcList
} // tsp_Scenarios[0]
,
{
name := "scenario_B",
entityTypeSuffix := "_B",
nOfEntities := 15,
// execCtrlMode := automatic,
loadRegName := omit,
preexecLoadRegName := omit,
postexecLoadRegName := omit,
preexecEnabled := false,
postexecEnabled := false,
// loadBalancingEnabled := false,
nOfPTCs := 5,
enabled := true,
cpsToReach := 2.0,
lockCPS := false,
commonGroupFinishConditions := omit,
weightedScData := {
deterministicMix := true
},
tcList := {
// B - PreExec
{
tcName := "TC_B_Pre",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := true,
enable := true,
ranges := {},
params := {},
groupFinishConditions := {
nrOfExecStart := 1, // single pre-exec
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := omit,
tcFinishActions := {
{
actionsType := onLaunchFinish,
actions := {
{
enableTc := {
tcName := "TC_B2",
aMode := available
}
}
}
},
{
actionsType := onLaunchFinish,
actions := {
{
enableTc := {
tcName := "TC_B3",
aMode := available
}
}
}
}
},
entityFinishActions := omit
},
// B - LoadGen
{
tcName := "TC_B2",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := false,
enable := false,
ranges := {},
params := {},
groupFinishConditions := {
nrOfExecStart := 10,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
},
{
tcName := "TC_B3",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := false,
enable := false,
ranges := {},
params := {},
groupFinishConditions := {
nrOfExecStart := 15,
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := omit,
tcFinishActions := {
{
actionsType := onLaunchFinish,
actions := {
{
enableTc := {
tcName := "TC_B_Post",
aMode := available
}
}
}
} },
entityFinishActions := omit
},
// B - PostExec
{
tcName := "TC_B_Post",
// startDelay := 0.0,
tcWeight := 1.0,
enableEntities := false,
enable := false,
ranges := {},
params := {},
groupFinishConditions := {
nrOfExecStart := 1, // single PostExec
nrOfSuccesses := omit,
nrOfFails := omit,
nrOfGrpLoop := omit,
nrOfRangeLoop := omit,
execTime := omit,
entitiesFinished := omit,
customFinishCondition := omit
},
entityFinishConditions := omit,
tcFinishActions := omit,
entityFinishActions := omit
}
} // tcList
} // tsp_Scenarios[1]
} // tsp_Scenarios
*/
[EXECUTE]
EPTF_CS_Test_Tescases.control
[LOGGING]
FileMask := TTCN_WARNING | TTCN_ERROR | TTCN_ACTION | TTCN_TESTCASE | TTCN_STATISTICS
LogFile := "%c@%h-%n.log"
SourceInfoFormat := Single
LogEventTypes := Yes
LogEntityName := Yes
//saved by GUI