| /////////////////////////////////////////////////////////////////////////////// |
| // Copyright (c) 2000-2018 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 // |
| /////////////////////////////////////////////////////////////////////////////// |
| # This section shall contain the values of all parameters that are defined in your TTCN-3 modules. |
| |
| [MODULE_PARAMETERS] |
| tsp_EPTF_LGenBase_abortStopProcess := 1.0 |
| tsp_EPTF_Var_SyncInterval := 3.0 |
| |
| tsp_numEntities := ${num_entities,integer} |
| tsp_debug_EPTF_SchedulerFunctions := false |
| tsp_debugVerbose_EPTF_SchedulerFunctions := false |
| tsp_EPTF_LGenBaseDebugTraffic := true |
| tsp_EPTF_LGenBaseDebug := false |
| tsp_testDuration := 1445.0 |
| tsp_randomInit := 3.41 |
| tsp_burstCalcType := imst |
| |
| tsp_xtdp_listen_addr := "127.0.0.1"; |
| #tsp_xtdp_listen_addr := "192.168.0.110"; |
| tsp_xtdp_listen_port := 11420; |
| |
| # In this section you can specify the name of the log file and the classes of events |
| # you want to log into the file or display on console (standard error). |
| #tsp_EPTF_LGenBase_roundedCpsUpdateInterval := 0.01 |
| tsp_doRafficCPS := 27.2 |
| tsp_reregSuccessPercent := 0.3 |
| |
| tsp_modulePar_compactFsmTables := { |
| { |
| name := "lGenRegFsm", |
| // [0] |
| stateList := {"idle", "busy"}, |
| timerList := {{name:= "dummy", startValue := 0.1}}, |
| table := { |
| {eventToListen := {bName := "EPTF_CLL_LGenBase",iName := "LGenBase: Start_the_traffic_case!",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := {{stepOrFunctionName := "LGenBase: StepFunction_timerStart", contextArgs := {timerName := "dummy"}}}, nextStateCalculation := omit, nextState := "busy"}, |
| //state[1]==busy |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_InvalidEvent",contextArgs := {stepContextArgs := {0}}}}, nextStateCalculation := omit, nextState := "busy"} |
| } |
| }, |
| {eventToListen := {bName := "Special behavior for timeout reporting", iName := "dummy",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := omit , nextStateCalculation := omit, nextState := omit}, |
| //state[1]==busy |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_register",contextArgs := omit}}, nextStateCalculation := omit,nextState := "idle"} |
| } |
| } |
| } |
| }, |
| { |
| name := "lGenReRegFsm", |
| // [0] |
| stateList := {"idle", "busy"}, |
| timerList := {{name:= "dummy", startValue := 0.5}}, |
| table := { |
| { |
| eventToListen := {bName := "EPTF_CLL_LGenBase",iName := "LGenBase: Start_the_traffic_case!",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := {{stepOrFunctionName := "LGenBase: StepFunction_timerStart",contextArgs := {timerName := "dummy"}}}, nextStateCalculation := omit, nextState := "busy"}, |
| //state[1]==busy |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_InvalidEvent",contextArgs := {stepContextArgs := {0}}}}, nextStateCalculation := omit, nextState := "busy"} |
| } |
| }, |
| { |
| eventToListen := {bName := "Special behavior for timeout reporting",iName := "dummy",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := omit , nextStateCalculation := omit, nextState := omit}, |
| //state[1]==busy |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_reRegister",contextArgs := omit}}, nextStateCalculation := omit, nextState := "idle"} |
| } |
| }, |
| { |
| eventToListen := {bName := "EPTF_CLL_LGenBase", iName := "LGenBase: Stop_the_traffic_case!",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_stopReRegisterIdle",contextArgs := omit}}, nextStateCalculation := omit,nextState := "idle"}, |
| //state[1]==busy |
| {actionList := {{stepOrFunctionName := "f_LGenBaseTest_stopReRegisterBusy",contextArgs := omit}}, nextStateCalculation := omit,nextState := "idle"} |
| } |
| } |
| } |
| }, |
| { |
| name := "lGenTrafficFsm", |
| // [0] |
| stateList := {"idle","running"}, |
| timerList := {{name:= "run", startValue := ${doTrafficDelay, float}}}, |
| table := { |
| { |
| eventToListen := {bName := "EPTF_CLL_LGenBase",iName := "LGenBase: Start_the_traffic_case!",eventType := fsm}, |
| cellRow := { |
| //state[0]==idle |
| {actionList := |
| { |
| { |
| stepOrFunctionName := "LGenBase: StepFunction_timerStart", |
| contextArgs := { |
| timerName := "run" |
| } |
| } |
| }, |
| nextStateCalculation := omit, |
| nextState := "running" |
| }, |
| //state[1]==running |
| {actionList := omit , nextStateCalculation := omit, nextState := omit} |
| } |
| }, |
| { |
| eventToListen := { |
| bName := "Special behavior for timeout reporting", |
| iName := "run", |
| eventType := fsm |
| }, |
| cellRow := { |
| //idle |
| {actionList := omit , nextStateCalculation := omit, nextState := omit}, |
| //running |
| {actionList := |
| { |
| {stepOrFunctionName := "f_LGenBaseTest_doTraffic",contextArgs := omit} |
| }, |
| nextStateCalculation := omit, |
| nextState := "idle" |
| } |
| } |
| } |
| } |
| } |
| }; |
| |
| tsp_modulePar_entityTypes := {
|
| {name := "etBubu0", behaviorTypeIdxList := {"bhTest1","bhTest2"}}
|
| } |
| |
| tsp_modulePar_entityGroups := { |
| {name := "eg0", eType := "etBubu0", eCount := ${num_entities,integer}}, |
| {name := "eg1", eType := "etBubu0", eCount := ${num_entities,integer}} |
| } |
| |
| tsp_modulePar_trafficCases := {
|
| {
|
| name := "register",
|
| fsmName := "lGenRegFsm",
|
| entityType := "etBubu0",
|
| customEntitySucc := ""
|
| },
|
| {
|
| name := "reregister",
|
| fsmName := "lGenReRegFsm",
|
| entityType := "etBubu0",
|
| customEntitySucc := ""
|
| },
|
| { |
| name := "reregisterWieght", |
| fsmName := "lGenReRegFsm", |
| entityType := "etBubu0", |
| customEntitySucc := "" |
| }, |
| {
|
| name := "doTraffic",
|
| fsmName := "lGenTrafficFsm",
|
| entityType := "etBubu0",
|
| customEntitySucc := ""
|
| }
|
| }; |
| |
| tsp_modulePar_scenarios := {
|
| {
|
| name := "sc1",
|
| tcList := {
|
| {
|
| tcName := "register",
|
| startDelay := 0.0,
|
| cpsToReach := 10.0,
|
| enableEntities := true,
|
| enable := true,
|
| ranges := {},
|
| params := {},
|
| groupFinishConditions := {
|
| nrOfExecStart := omit,
|
| nrOfSuccesses := ${num_entities,integer},
|
| nrOfFails := omit,
|
| nrOfGrpLoop := omit,
|
| nrOfRangeLoop := omit,
|
| execTime := omit,
|
| entitiesFinished := false, |
| customFinishCondition := omit
|
| },
|
| entityFinishConditions := {
|
| nrOfExecStart := omit,
|
| nrOfSuccesses := 1,
|
| nrOfFails := omit,
|
| customFinishCondition := omit
|
| },
|
| entityFinishActions := {
|
| {
|
| enableEntity4Tc := {
|
| tcName := "reregister",
|
| aMode := available
|
| }
|
| },
|
| {
|
| enableEntity4Tc := {
|
| tcName := "doTraffic",
|
| aMode := available
|
| }
|
| }
|
| },
|
| tcFinishActions := {
|
| {
|
| actionsType := onGroupFinishCondition,
|
| actions := {{enableTc := {tcName := "doTraffic",aMode := noChange}}}
|
| },
|
| {
|
| actionsType := onGroupFinishCondition,
|
| actions := {{customFinishFunction := "successGroupRegister"}}
|
| }
|
| }
|
| },
|
| {
|
| tcName := "reregister",
|
| startDelay := 10.0,
|
| cpsToReach := 10.0,
|
| enableEntities := false,
|
| enable := true,
|
| ranges := {},
|
| params := {},
|
| groupFinishConditions := {
|
| nrOfExecStart := ${maxReRegisterCount,integer},
|
| nrOfSuccesses := omit,
|
| nrOfFails := omit,
|
| nrOfGrpLoop := omit,
|
| nrOfRangeLoop := omit,
|
| execTime := omit, |
| entitiesFinished := false, |
| customFinishCondition := omit
|
| },
|
| entityFinishConditions := {
|
| nrOfExecStart := omit,
|
| nrOfSuccesses := omit,
|
| nrOfFails := omit,
|
| customFinishCondition := omit
|
| },
|
| entityFinishActions := {},
|
| tcFinishActions := {}
|
| },
|
| {
|
| tcName := "doTraffic",
|
| startDelay := 0.0,
|
| cpsToReach :=12.0,
|
| enableEntities := false,
|
| enable := false,
|
| ranges := {},
|
| params := {},
|
| groupFinishConditions := {
|
| nrOfExecStart := 120, //omit,
|
| nrOfSuccesses := omit,
|
| nrOfFails := omit,
|
| nrOfGrpLoop := omit,
|
| nrOfRangeLoop := omit,
|
| execTime := omit,
|
| entitiesFinished := false, |
| customFinishCondition := omit
|
| },
|
| entityFinishConditions := {
|
| nrOfExecStart := omit,
|
| nrOfSuccesses := omit,
|
| nrOfFails := omit,
|
| customFinishCondition := omit
|
| },
|
| entityFinishActions := {},
|
| tcFinishActions := { |
| { |
| actionsType := onGroupFinishCondition, |
| actions := {{customFinishFunction := "doTrafficFinished"}} |
| } |
| }
|
| }
|
| }
|
| }, |
| { |
| name := "sc2", |
| tcList := { |
| { |
| tcName := "register", |
| startDelay := 0.0, |
| cpsToReach := 10.0, |
| enableEntities := true, |
| enable := true, |
| ranges := {}, |
| params := {}, |
| groupFinishConditions := { |
| nrOfExecStart := omit, |
| nrOfSuccesses := ${num_entities,integer}, |
| nrOfFails := omit, |
| nrOfGrpLoop := omit, |
| nrOfRangeLoop := omit, |
| execTime := omit, |
| entitiesFinished := false, |
| customFinishCondition := omit |
| }, |
| entityFinishConditions := { |
| nrOfExecStart := omit, |
| nrOfSuccesses := 1, |
| nrOfFails := omit, |
| customFinishCondition := omit |
| }, |
| entityFinishActions := {}, |
| tcFinishActions := {} |
| } |
| } |
| }, |
| { |
| name := "sc3", |
| tcList := { |
| { |
| tcName := "reregister", |
| startDelay := 0.0, |
| cpsToReach := 10.0, |
| enableEntities := false, |
| enable := true, |
| ranges := {}, |
| params := {}, |
| groupFinishConditions := { |
| nrOfExecStart := ${maxReRegisterCount,integer}, |
| nrOfSuccesses := omit, |
| nrOfFails := omit, |
| nrOfGrpLoop := omit, |
| nrOfRangeLoop := omit, |
| execTime := 20.0, |
| entitiesFinished := false, |
| customFinishCondition := omit |
| }, |
| entityFinishConditions := { |
| nrOfExecStart := omit, |
| nrOfSuccesses := omit, |
| nrOfFails := omit, |
| customFinishCondition := omit |
| }, |
| entityFinishActions := {}, |
| tcFinishActions := {} |
| }, |
| { |
| tcName := "doTraffic", |
| startDelay := 8.0, |
| cpsToReach :=12.0, |
| enableEntities := false, |
| enable := false, |
| ranges := {}, |
| params := {}, |
| groupFinishConditions := { |
| nrOfExecStart := omit, |
| nrOfSuccesses := omit, |
| nrOfFails := omit, |
| nrOfGrpLoop := omit, |
| nrOfRangeLoop := omit, |
| execTime := omit, |
| entitiesFinished := false, |
| customFinishCondition := omit |
| }, |
| entityFinishConditions := { |
| nrOfExecStart := omit, |
| nrOfSuccesses := omit, |
| nrOfFails := omit, |
| customFinishCondition := omit |
| }, |
| entityFinishActions := {}, |
| tcFinishActions := { |
| { |
| actionsType := onGroupFinishCondition, |
| actions := {{customFinishFunction := "doTrafficFinished"}} |
| } |
| } |
| } |
| } |
| } |
| } |
| |
| tsp_modulePar_Scenarios2Grps := { |
| {eGrpName := "eg0", scenarioNames := {"sc2"}}, |
| {eGrpName := "eg0", scenarioNames := {"sc3"}}, |
| {eGrpName := "eg1", scenarioNames := {"sc1"}}, |
| {eGrpName := "eg0", scenarioNames := {"sc1"}} |
| } |
| |
| //tsp_LGenBaseStatsUI_columnDescriptorList := { |
| // {colTitle := "Name", tcColId := 0, enableIfAvailable := false} |
| /*, |
| {" ", c_EPTF_LGenBaseStatsUI_tcColEnabled, false}, |
| {"State", c_EPTF_LGenBaseStatsUI_tcColState, false}, |
| {"", c_EPTF_LGenBaseStatsUI_tcColUserData, false}, |
| {"CPS", c_EPTF_LGenBaseStatsUI_tcColCpsToReach, true}, |
| {"", c_EPTF_LGenBaseStatsUI_tcColLastCps, false}, |
| {"Running", c_EPTF_LGenBaseStatsUI_tcColNrOfRunningEntities, false}*/ |
| //} |
| |
| tsp_LGenBaseStatsUI_mainWindow := "<window height=\"386.000000\" id=\"EPTF_Main_Window\" orient=\"vertical\" title=\"TTCN constructed window\" width=\"820.000000\">\n<hbox id=\"EPTF_Main_hbox\" orient=\"vertical\">\n</hbox>\n<hbox id=\"EPTF_Buttons_hbox\" orient=\"vertical\">\n<button id=\"snapshot_btn\" label=\"Snapshot\">\n</button>\n<spacer flex=\"2.000000\">\n</spacer>\n<button id=\"exit_ttcn_btn\" label=\"Exit TTCN\">\n</button>\n</hbox>\n</window>\n" |
| tsp_scenariosParentWidgetName := "EPTF_Main_hbox" |
| tsp_changeGUI := false; |
| |
| [LOGGING] |
| LogFile := "logs/%e.%h-%t%r.%s" |
| FileMask := TTCN_ACTION | TTCN_DEFAULTOP | TTCN_ERROR | TTCN_EXECUTOR | TTCN_PARALLEL | TTCN_TESTCASE | TTCN_PORTEVENT | TTCN_STATISTICS | TTCN_TIMEROP | TTCN_USER | TTCN_VERDICTOP | TTCN_WARNING|MATCHING|MATCHING_PROBLEM |
| #FileMask := LOG_ALL | TTCN_DEBUG |
| #ConsoleMask := LOG_ALL |
| ConsoleMask := TTCN_ACTION | TTCN_DEFAULTOP | TTCN_ERROR | TTCN_EXECUTOR | TTCN_PARALLEL | TTCN_TESTCASE | TTCN_PORTEVENT | TTCN_STATISTICS | TTCN_TIMEROP | TTCN_USER | TTCN_VERDICTOP | TTCN_WARNING|MATCHING|MATCHING_PROBLEM |
| #ConsoleMask := TTCN_ACTION | TTCN_ERROR | TTCN_EXECUTOR | TTCN_STATISTICS | TTCN_VERDICTOP | TTCN_WARNING |TTCN_PORTEVENT |
| #SourceInfoFormat := Single |
| SourceInfoFormat := Stack |
| TimeStampFormat := DateTime |
| LogEventTypes := Yes |
| LogEntityName := Yes |
| |
| # In this section you can specify parameters that are passed to Test Ports. |
| [DEFINE] |
| num_entities := 100 |
| maxReRegisterCount := 79 |
| doTrafficCPS := 32.4 |
| doTrafficDelay := 2.0 |
| # In this section you can create macro definitions, |
| # that can be used in other configuration file sections except [INCLUDE]. |
| [INCLUDE] |
| |
| # To use configuration settings given in other configuration files, |
| # the configuration files just need to be listed in this section, with their full or relative pathnames. |
| [EXTERNAL_COMMANDS] |
| |
| # This section can define external commands (shell scripts) to be executed by the ETS |
| # whenever a control part or test case is started or terminated. |
| #BeginTestCase := "" |
| #EndTestCase := "" |
| #BeginControlPart := "" |
| #EndControlPart := "" |
| [EXECUTE] |
| # In this section you can specify what parts of your test suite you want to execute. |
| EPTF_LGenBaseStatsUI_Test.tc_EPTF_LGenBaseStatsUIRegister |
| #EPTF_LGenBase_Test.tc_ranges |
| # In this section you can specify groups of hosts. These groups can be used inside the |
| # [COMPONENTS] section to restrict the creation of certain PTCs to a given set of hosts. |
| [COMPONENTS] |
| |
| # This section consists of rules restricting the location of created PTCs. |
| [MAIN_CONTROLLER] |
| # The options herein control the behaviour of MC. |
| TCPPort := 0 |
| KillTimer := 10.0 |
| NumHCs := 0 |
| |
| //saved by GUI |
| |
| [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.debug := "yes" |
| *.EPTF_guiPortIf.server_mode := "no" |
| *.EPTF_guiPortIf.halt_on_connection_reset := "no" |
| *.xtdp_port.use_connection_ASPs := "yes" |
| *.xtdp_port.packet_hdr_length_offset := "0" |
| *.xtdp_port.packet_hdr_nr_bytes_in_length := "4" |
| *.xtdp_port.packet_hdr_byte_order := "MSB" |
| *.xtdp_port.debug := "yes" |
| #*.xtdp_port.server_mode := "no" |
| *.xtdp_port.halt_on_connection_reset := "no" |