blob: ad1ea9b04e5e9361190e08d46562a2c30e4197ab [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]
[MODULE_PARAMETERS]
tsp_EPTF_DsRestAPI_HTTPServer_RemotePort := 3164;
tsp_LGenBase_EntityGrpDeclarators := {
{
name := "DefaultEGrp",
eType := "ExecCtrTestDefaultETypeName",
eCount := 100
}
};
tsp_LGenBase_Scenarios2Grps := {
{
eGrpName := "DefaultEGrp",
scenarioNames := {
"DefaultSc"
}
}, {
eGrpName := "DefaultEGrp",
scenarioNames := {
"DefaultWSc"
}
}, {
eGrpName := "DefaultEGrp",
scenarioNames := {
"SC_PH_0"
}
}
};
tsp_LGenBase_TcMgmt_tcTypeDeclarators2 := {
{
name := "DefaultTcType",
fsmName := "defaultFSM",
entityType := "ExecCtrTestDefaultETypeName",
customEntitySucc := ""
},
{
name := "TC0_declarator2",
fsmName := "defaultFSM",
entityType := "ExecCtrTestDefaultETypeName",
customEntitySucc := ""
},
{
name := "TC1_declarator2",
fsmName := "defaultFSM",
entityType := "ExecCtrTestDefaultETypeName",
customEntitySucc := ""
}
};
tsp_LGenBase_TcMgmt_ScenarioDeclarators3 := {
{
name := "DefaultSc",
tcList := {
{
tcName := "DefaultTC1",
tcParamsList := {
{
tcTypeName := "DefaultTcType"
}, {
enableEntitiesAtStart := true
}, {
enabledAtStart := false
}, {
target := {
cpsToReach := 10.000000
}
}
}
}, {
tcName := "DefaultTC2",
tcParamsList := {
{
tcTypeName := "DefaultTcType"
}, {
enableEntitiesAtStart := true
}, {
enabledAtStart := true
}, {
target := {
cpsToReach := 9.000000
}
}
}
}
},
scParamsList := {
{
enabled := true
}
}
}, {
name := "DefaultWSc",
tcList := {
{
tcName := "DefaultTC1",
tcParamsList := {
{
tcTypeName := "DefaultTcType"
}, {
enableEntitiesAtStart := true
}, {
enabledAtStart := false
}, {
target := {
trafficWeight := 1.000000
}
}
}
}, {
tcName := "DefaultTC2",
tcParamsList := {
{
tcTypeName := "DefaultTcType"
}, {
enableEntitiesAtStart := true
}, {
enabledAtStart := true
}, {
target := {
trafficWeight := 3.000000
}
}
}
}
},
scParamsList := {
{
weightedScData := {
cpsToReach := 10.000000,
lockCPS := false,
deterministicMix := false,
scheduler := omit
}
}, {
enabled := true
}
}
}, {
name := "SC_PH_0",
tcList := {
{
tcName := "TC1_declarator2",
tcParamsList := {
{startDelay := 0.0},
{target := { cpsToReach := 1.0 }},
{scheduler := {preDefinedName := poisson}},
{enableEntitiesAtStart := true},
{enabledAtStart := true},
{ranges := {
{name := "myRange_MSB", enableSplit := true, baseOffset := 10, count := 30},
{name := "myRange_middle", enableSplit := false, baseOffset := 10, count := 30},
{name := "myRange_LSB", enableSplit := false, baseOffset := 0, count := 9}
}
},
{params := {
{aName := "myApplication1", pName := "header", pValue := "$EXTPATH/sip_support/templates/deregister.header"},
{aName := "myApplication2", pName := "boost", pValue := "true"}
}
},
{trafficStartFinish := {
{nrOfExecStart := {count := 5, actions := {}}},
{nrOfSuccesses := {count := 5,actions := {}}},
//{nrOfGrpLoop := {count := 1,actions := {}}},
{execTime := {time := 12.3,actions := {}}},
{anythingFinished := {actions := {
{enableTc := {tcName := "TC0_declarator2", aMode := available}},
{disableTc := {tcName := "TC1_declarator2"}}
}}}
}
}
}
},
{
tcName := "TC0_declarator2",
tcParamsList := {
{startDelay := 0.0},
{target := { cpsToReach := 2.0 }},
{scheduler := {preDefinedName := imst2}},
{entitySelection := random},
{enableEntitiesAtStart := true},
{enabledAtStart := false},
{trafficStartFinish := {
{nrOfExecStart := {count := 5,actions := {}}},
{execTime := {time := 15.0,actions := {}}}
}
}
}
}
},
scParamsList := {
{enabled := true},
{phaseListName := "BasicPhases"},
{phaseFinishConditions := {
{
phase := "preamble",
conditions := {
{
tcStopped := "TC0_declarator2"
}
}
}
}
},
{phaseStateChangeActions := {
{
phase := "preamble",
state := RUNNING,
actions := {
{
startScenario := "This should have been implemented :)"
}
}
},
{
phase := "preamble",
state := STOPPING,
actions := {
{
stopTc := "TC0_declarator2"
}
}
}
}
}
}
}
}
tsp_EPTF_ExecCtrl_PhaseList_Declarators :=
{
{
name := "BasicPhases",
phases :=
{
{ name := "preamble", enabled := true },
{ name := "loadgen" , enabled := true },
{ name := "postamble",enabled := true }
}
},
{
name := "AdvancedPhases",
phases :=
{
{ name := "init", enabled := true },
{ name := "preamble", enabled := true },
{ name := "loadgen" , enabled := true },
{ name := "postamble",enabled := true },
{ name := "delete", enabled := true }
}
}
}
tsp_EPTF_ExecCtrl_ScenarioGroup_Declarators :=
{
{
name := "ScGroup1",
execMode := AUTOMATIC,
scenarioNames := {"DefaultEGrp.SC_PH_0"},
phaseListName := "BasicPhases"
}
}
tsp_EPTF_ExecCtrl_LGenPool_Declarators := {
{
name := "LGenDefaultPool",
lgenPoolItems := {
{
hostname := "localhost",
num := 1,
createFunctionName := "EPTF_DsRestAPI_PerfTest_Functions.f_ExecCtrl_Test_createDefaultLGen"
}
}
}
};
tsp_EPTF_ExecCtrl_EntityGroup2LGenPool_List := {
{
eGrpName := "DefaultEGrp",
lgenPoolName := "LGenDefaultPool"
}
};
tsp_EPTF_ExecCtrl_RegulatedItems := {
{
idName := {
cps_TC := {
eGrpName := "DefaultEGrp",
scName := "DefaultSc",
tcName := "DefaultTC2"
}
},
weight := 1.000000,
enabled := true,
regulatorName := "LimitMaxRegulator"
}, {
idName := {
cps_SC := {
eGrpName := "DefaultEGrp",
scName := "DefaultWSc"
}
},
weight := 1.000000,
enabled := true,
regulatorName := "LimitMaxRegulator"
}
};
[EXECUTE]
EPTF_DsRestAPI_PerfTest_Testcases.control
[LOGGING]
//FileMask := LOG_ALL
FileMask := TTCN_TESTCASE | TTCN_STATISTICS | TTCN_ERROR | TTCN_ACTION | TTCN_VERDICTOP //| TTCN_DEBUG
ConsoleMask := TTCN_TESTCASE | TTCN_STATISTICS | TTCN_ERROR | TTCN_ACTION
//| TTCN_WARNING
LogFile := "%c@%h-%n-%r.log"
SourceInfoFormat := Stack
LogEventTypes := Yes
LogEntityName := Yes
[EXTERNAL_COMMANDS]
EndTestCase := "./storePerformanceResults.sh"