Author: pmouawad Date: Wed Jul 4 12:04:56 2018 New Revision: 1835050 URL: http://svn.apache.org/viewvc?rev=1835050&view=rev Log: Bug 62238 - Add ability to Switch to next iteration of Current Loop
Fix failure of test Bug 62239, add tests for 62238 Bugzilla Id: 62238 Added: jmeter/trunk/bin/testfiles/TestResultStatusAction.csv jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx (with props) jmeter/trunk/bin/testfiles/TestResultStatusAction.xml (with props) Modified: jmeter/trunk/build.xml jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java Added: jmeter/trunk/bin/testfiles/TestResultStatusAction.csv URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestResultStatusAction.csv?rev=1835050&view=auto ============================================================================== --- jmeter/trunk/bin/testfiles/TestResultStatusAction.csv (added) +++ jmeter/trunk/bin/testfiles/TestResultStatusAction.csv Wed Jul 4 12:04:56 2018 @@ -0,0 +1,190 @@ +label,responseCode,responseMessage,threadName,success +DS-1,200,OK,TG-CONTINUE 1-1,true +DS-__jm__LC__idx=0,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=1,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=2,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-__jm__LC__idx=3,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-After-LC-0,200,OK,TG-CONTINUE 1-1,true +TC,,"Number of samples in transaction : 15, number of failing samples : 2",TG-CONTINUE 1-1,false +DS-1,200,OK,TG-CONTINUE 1-1,true +DS-__jm__LC__idx=0,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=1,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=2,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-__jm__LC__idx=3,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-After-LC-0,200,OK,TG-CONTINUE 1-1,true +TC,,"Number of samples in transaction : 15, number of failing samples : 2",TG-CONTINUE 1-1,false +DS-1,200,OK,TG-CONTINUE 1-1,true +DS-__jm__LC__idx=0,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=1,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,true +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-CONTINUE 1-1,true +DS-__jm__LC__idx=2,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-__jm__LC__idx=3,200,OK,TG-CONTINUE 1-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-CONTINUE 1-1,false +Debug Sampler,200,OK,TG-CONTINUE 1-1,true +sc2,,"Number of samples in transaction : 3, number of failing samples : 1",TG-CONTINUE 1-1,false +DS-After-LC-0,200,OK,TG-CONTINUE 1-1,true +TC,,"Number of samples in transaction : 15, number of failing samples : 2",TG-CONTINUE 1-1,false +DS-1,200,OK,TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=0,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=1,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=2,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-__jm__LC__idx=3,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-After-LC-4,200,OK,TG-GOTONEXT_IT 2-1,true +TC,,"Number of samples in transaction : 13, number of failing samples : 2",TG-GOTONEXT_IT 2-1,false +DS-1,200,OK,TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=0,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=1,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=2,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-__jm__LC__idx=3,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-After-LC-4,200,OK,TG-GOTONEXT_IT 2-1,true +TC,,"Number of samples in transaction : 13, number of failing samples : 2",TG-GOTONEXT_IT 2-1,false +DS-1,200,OK,TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=0,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=1,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,true +Debug Sampler,200,OK,TG-GOTONEXT_IT 2-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-GOTONEXT_IT 2-1,true +DS-__jm__LC__idx=2,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-__jm__LC__idx=3,200,OK,TG-GOTONEXT_IT 2-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-GOTONEXT_IT 2-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-GOTONEXT_IT 2-1,false +DS-After-LC-4,200,OK,TG-GOTONEXT_IT 2-1,true +TC,,"Number of samples in transaction : 13, number of failing samples : 2",TG-GOTONEXT_IT 2-1,false +DS-1,200,OK,TG-BREAK 3-1,true +DS-__jm__LC__idx=0,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=1,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=2,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-BREAK 3-1,false +DS-After-LC-0,200,OK,TG-BREAK 3-1,true +TC,,"Number of samples in transaction : 11, number of failing samples : 1",TG-BREAK 3-1,false +DS-1,200,OK,TG-BREAK 3-1,true +DS-__jm__LC__idx=0,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=1,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=2,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-BREAK 3-1,false +DS-After-LC-0,200,OK,TG-BREAK 3-1,true +TC,,"Number of samples in transaction : 11, number of failing samples : 1",TG-BREAK 3-1,false +DS-1,200,OK,TG-BREAK 3-1,true +DS-__jm__LC__idx=0,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=1,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,true +Debug Sampler,200,OK,TG-BREAK 3-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-BREAK 3-1,true +DS-__jm__LC__idx=2,200,OK,TG-BREAK 3-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-BREAK 3-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-BREAK 3-1,false +DS-After-LC-0,200,OK,TG-BREAK 3-1,true +TC,,"Number of samples in transaction : 11, number of failing samples : 1",TG-BREAK 3-1,false +DS-1,200,OK,TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=0,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=1,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=2,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false +TC,,"Number of samples in transaction : 9, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false +DS-1,200,OK,TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=0,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=1,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=2,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false +TC,,"Number of samples in transaction : 9, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false +DS-1,200,OK,TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=0,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=1,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,true +Debug Sampler,200,OK,TG-STARTNEXTLOOP 4-1,true +sc2,200,"Number of samples in transaction : 3, number of failing samples : 0",TG-STARTNEXTLOOP 4-1,true +DS-__jm__LC__idx=2,200,OK,TG-STARTNEXTLOOP 4-1,true +JSS_FailsIfCptHigherThan1,200,OK,TG-STARTNEXTLOOP 4-1,false +sc2,,"Number of samples in transaction : 2, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false +TC,,"Number of samples in transaction : 9, number of failing samples : 1",TG-STARTNEXTLOOP 4-1,false Added: jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx?rev=1835050&view=auto ============================================================================== --- jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx (added) +++ jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx Wed Jul 4 12:04:56 2018 @@ -0,0 +1,452 @@ +<?xml version="1.0" encoding="UTF-8"?> +<jmeterTestPlan version="1.2" properties="4.1" jmeter="4.1-SNAPSHOT.20180703"> + <hashTree> + <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> + <stringProp name="TestPlan.comments"></stringProp> + <boolProp name="TestPlan.functional_mode">false</boolProp> + <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> + <boolProp name="TestPlan.serialize_threadgroups">true</boolProp> + <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> + <collectionProp name="Arguments.arguments"/> + </elementProp> + <stringProp name="TestPlan.user_define_classpath"></stringProp> + </TestPlan> + <hashTree> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="TG-CONTINUE" enabled="true"> + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <boolProp name="LoopController.continue_forever">false</boolProp> + <stringProp name="LoopController.loops">3</stringProp> + </elementProp> + <stringProp name="ThreadGroup.num_threads">1</stringProp> + <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <boolProp name="ThreadGroup.scheduler">false</boolProp> + <stringProp name="ThreadGroup.duration"></stringProp> + <stringProp name="ThreadGroup.delay"></stringProp> + </ThreadGroup> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="TC" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree> + <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">vars.put("__jm__LC__idx", "1");</stringProp> + </JSR223PreProcessor> + <hashTree/> + </hashTree> + <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="LC" enabled="true"> + <boolProp name="LoopController.continue_forever">true</boolProp> + <stringProp name="LoopController.loops">4</stringProp> + </LoopController> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="sc2" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-__jm__LC__idx=${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSS_FailsIfCptHigherThan1" enabled="true"> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="script">int cpt = vars["__jm__LC__idx"].toInteger(); + +if(cpt > 1) { + SampleResult.setSuccessful(false); +} else { + SampleResult.setSuccessful(true); +} +</stringProp> + <stringProp name="scriptLanguage">groovy</stringProp> + </JSR223Sampler> + <hashTree/> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Result Status Action Handler" enabled="true"> + <intProp name="OnError.action">0</intProp> + </ResultAction> + <hashTree/> + </hashTree> + </hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-After-LC-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + </hashTree> + </hashTree> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="TG-GOTONEXT_IT" enabled="false"> + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <boolProp name="LoopController.continue_forever">false</boolProp> + <stringProp name="LoopController.loops">3</stringProp> + </elementProp> + <stringProp name="ThreadGroup.num_threads">1</stringProp> + <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <boolProp name="ThreadGroup.scheduler">false</boolProp> + <stringProp name="ThreadGroup.duration"></stringProp> + <stringProp name="ThreadGroup.delay"></stringProp> + </ThreadGroup> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="TC" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree> + <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">vars.put("__jm__LC__idx", "1");</stringProp> + </JSR223PreProcessor> + <hashTree/> + </hashTree> + <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="LC" enabled="true"> + <boolProp name="LoopController.continue_forever">true</boolProp> + <stringProp name="LoopController.loops">4</stringProp> + </LoopController> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="sc2" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-__jm__LC__idx=${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSS_FailsIfCptHigherThan1" enabled="true"> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="script">int cpt = vars["__jm__LC__idx"].toInteger(); + +if(cpt > 1) { + SampleResult.setSuccessful(false); +} else { + SampleResult.setSuccessful(true); +} +</stringProp> + <stringProp name="scriptLanguage">groovy</stringProp> + </JSR223Sampler> + <hashTree/> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Result Status Action Handler" enabled="true"> + <intProp name="OnError.action">5</intProp> + </ResultAction> + <hashTree/> + </hashTree> + </hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-After-LC-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + </hashTree> + </hashTree> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="TG-BREAK" enabled="false"> + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <boolProp name="LoopController.continue_forever">false</boolProp> + <stringProp name="LoopController.loops">3</stringProp> + </elementProp> + <stringProp name="ThreadGroup.num_threads">1</stringProp> + <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <boolProp name="ThreadGroup.scheduler">false</boolProp> + <stringProp name="ThreadGroup.duration"></stringProp> + <stringProp name="ThreadGroup.delay"></stringProp> + </ThreadGroup> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="TC" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree> + <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">vars.put("__jm__LC__idx", "1");</stringProp> + </JSR223PreProcessor> + <hashTree/> + </hashTree> + <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="LC" enabled="true"> + <boolProp name="LoopController.continue_forever">true</boolProp> + <stringProp name="LoopController.loops">4</stringProp> + </LoopController> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="sc2" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-__jm__LC__idx=${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSS_FailsIfCptHigherThan1" enabled="true"> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="script">int cpt = vars["__jm__LC__idx"].toInteger(); + +if(cpt > 1) { + SampleResult.setSuccessful(false); +} else { + SampleResult.setSuccessful(true); +} +</stringProp> + <stringProp name="scriptLanguage">groovy</stringProp> + </JSR223Sampler> + <hashTree/> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Result Status Action Handler" enabled="true"> + <intProp name="OnError.action">6</intProp> + </ResultAction> + <hashTree/> + </hashTree> + </hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-After-LC-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + </hashTree> + </hashTree> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="TG-STARTNEXTLOOP" enabled="false"> + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <boolProp name="LoopController.continue_forever">false</boolProp> + <stringProp name="LoopController.loops">3</stringProp> + </elementProp> + <stringProp name="ThreadGroup.num_threads">1</stringProp> + <stringProp name="ThreadGroup.ramp_time">1</stringProp> + <boolProp name="ThreadGroup.scheduler">false</boolProp> + <stringProp name="ThreadGroup.duration"></stringProp> + <stringProp name="ThreadGroup.delay"></stringProp> + </ThreadGroup> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="TC" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree> + <JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor" enabled="true"> + <stringProp name="scriptLanguage">groovy</stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="script">vars.put("__jm__LC__idx", "1");</stringProp> + </JSR223PreProcessor> + <hashTree/> + </hashTree> + <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="LC" enabled="true"> + <boolProp name="LoopController.continue_forever">true</boolProp> + <stringProp name="LoopController.loops">4</stringProp> + </LoopController> + <hashTree> + <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="sc2" enabled="true"> + <boolProp name="TransactionController.includeTimers">false</boolProp> + <boolProp name="TransactionController.parent">false</boolProp> + </TransactionController> + <hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-__jm__LC__idx=${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSS_FailsIfCptHigherThan1" enabled="true"> + <stringProp name="cacheKey">true</stringProp> + <stringProp name="filename"></stringProp> + <stringProp name="parameters"></stringProp> + <stringProp name="script">int cpt = vars["__jm__LC__idx"].toInteger(); + +if(cpt > 1) { + SampleResult.setSuccessful(false); +} else { + SampleResult.setSuccessful(true); +} +</stringProp> + <stringProp name="scriptLanguage">groovy</stringProp> + </JSR223Sampler> + <hashTree/> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Result Status Action Handler" enabled="true"> + <intProp name="OnError.action">4</intProp> + </ResultAction> + <hashTree/> + </hashTree> + </hashTree> + <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="DS-After-LC-${__jm__LC__idx}" enabled="true"> + <boolProp name="displayJMeterProperties">false</boolProp> + <boolProp name="displayJMeterVariables">true</boolProp> + <boolProp name="displaySystemProperties">false</boolProp> + </DebugSampler> + <hashTree/> + </hashTree> + </hashTree> + <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true"> + <boolProp name="ResultCollector.error_logging">false</boolProp> + <objProp> + <name>saveConfig</name> + <value class="SampleSaveConfiguration"> + <time>false</time> + <latency>false</latency> + <timestamp>false</timestamp> + <success>true</success> + <label>true</label> + <code>true</code> + <message>true</message> + <threadName>true</threadName> + <dataType>false</dataType> + <encoding>false</encoding> + <assertions>false</assertions> + <subresults>false</subresults> + <responseData>false</responseData> + <samplerData>false</samplerData> + <xml>false</xml> + <fieldNames>true</fieldNames> + <responseHeaders>false</responseHeaders> + <requestHeaders>false</requestHeaders> + <responseDataOnError>false</responseDataOnError> + <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> + <assertionsResultsToSave>0</assertionsResultsToSave> + </value> + </objProp> + <stringProp name="filename">TestResultStatusAction.csv</stringProp> + </ResultCollector> + <hashTree/> + <ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Simple Data Writer" enabled="true"> + <boolProp name="ResultCollector.error_logging">false</boolProp> + <objProp> + <name>saveConfig</name> + <value class="SampleSaveConfiguration"> + <time>false</time> + <latency>false</latency> + <timestamp>false</timestamp> + <success>true</success> + <label>true</label> + <code>true</code> + <message>true</message> + <threadName>true</threadName> + <dataType>false</dataType> + <encoding>false</encoding> + <assertions>true</assertions> + <subresults>true</subresults> + <responseData>false</responseData> + <samplerData>false</samplerData> + <xml>true</xml> + <fieldNames>false</fieldNames> + <responseHeaders>false</responseHeaders> + <requestHeaders>false</requestHeaders> + <responseDataOnError>false</responseDataOnError> + <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> + <assertionsResultsToSave>0</assertionsResultsToSave> + <bytes>true</bytes> + </value> + </objProp> + <stringProp name="filename">TestResultStatusAction.xml</stringProp> + </ResultCollector> + <hashTree/> + <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> + <boolProp name="ResultCollector.error_logging">false</boolProp> + <objProp> + <name>saveConfig</name> + <value class="SampleSaveConfiguration"> + <time>true</time> + <latency>true</latency> + <timestamp>true</timestamp> + <success>true</success> + <label>true</label> + <code>true</code> + <message>true</message> + <threadName>true</threadName> + <dataType>true</dataType> + <encoding>false</encoding> + <assertions>true</assertions> + <subresults>true</subresults> + <responseData>false</responseData> + <samplerData>false</samplerData> + <xml>false</xml> + <fieldNames>true</fieldNames> + <responseHeaders>false</responseHeaders> + <requestHeaders>false</requestHeaders> + <responseDataOnError>false</responseDataOnError> + <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> + <assertionsResultsToSave>0</assertionsResultsToSave> + <bytes>true</bytes> + <sentBytes>true</sentBytes> + <threadCounts>true</threadCounts> + <idleTime>true</idleTime> + <connectTime>true</connectTime> + </value> + </objProp> + <stringProp name="filename"></stringProp> + </ResultCollector> + <hashTree/> + </hashTree> + </hashTree> +</jmeterTestPlan> Propchange: jmeter/trunk/bin/testfiles/TestResultStatusAction.jmx ------------------------------------------------------------------------------ svn:eol-style = LF Added: jmeter/trunk/bin/testfiles/TestResultStatusAction.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestResultStatusAction.xml?rev=1835050&view=auto ============================================================================== --- jmeter/trunk/bin/testfiles/TestResultStatusAction.xml (added) +++ jmeter/trunk/bin/testfiles/TestResultStatusAction.xml Wed Jul 4 12:04:56 2018 @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="UTF-8"?> +<testResults version="1.2"> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 15, number of failing samples : 2" tn="TG-CONTINUE 1-1" by="2452"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 15, number of failing samples : 2" tn="TG-CONTINUE 1-1" by="2452"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-CONTINUE 1-1" by="490"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="246"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 3, number of failing samples : 1" tn="TG-CONTINUE 1-1" by="491"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-CONTINUE 1-1" by="245"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 15, number of failing samples : 2" tn="TG-CONTINUE 1-1" by="2452"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-After-LC-4" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 13, number of failing samples : 2" tn="TG-GOTONEXT_IT 2-1" by="1984"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-After-LC-4" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 13, number of failing samples : 2" tn="TG-GOTONEXT_IT 2-1" by="1984"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-GOTONEXT_IT 2-1" by="496"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-__jm__LC__idx=3" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="true" lb="DS-After-LC-4" rc="200" rm="OK" tn="TG-GOTONEXT_IT 2-1" by="248"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 13, number of failing samples : 2" tn="TG-GOTONEXT_IT 2-1" by="1984"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 11, number of failing samples : 1" tn="TG-BREAK 3-1" by="1694"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 11, number of failing samples : 1" tn="TG-BREAK 3-1" by="1694"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-BREAK 3-1" by="484"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-BREAK 3-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-BREAK 3-1" by="242"/> +<sample s="true" lb="DS-After-LC-0" rc="200" rm="OK" tn="TG-BREAK 3-1" by="242"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 11, number of failing samples : 1" tn="TG-BREAK 3-1" by="1694"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 9, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="1500"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 9, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="1500"/> +<sample s="true" lb="DS-1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="DS-__jm__LC__idx=0" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="true" lb="Debug Sampler" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="true" lb="sc2" rc="200" rm="Number of samples in transaction : 3, number of failing samples : 0" tn="TG-STARTNEXTLOOP 4-1" by="500"/> +<sample s="true" lb="DS-__jm__LC__idx=2" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="JSS_FailsIfCptHigherThan1" rc="200" rm="OK" tn="TG-STARTNEXTLOOP 4-1" by="0"/> +<sample s="false" lb="sc2" rc="" rm="Number of samples in transaction : 2, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="250"/> +<sample s="false" lb="TC" rc="" rm="Number of samples in transaction : 9, number of failing samples : 1" tn="TG-STARTNEXTLOOP 4-1" by="1500"/> + +</testResults> Propchange: jmeter/trunk/bin/testfiles/TestResultStatusAction.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: jmeter/trunk/bin/testfiles/TestResultStatusAction.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: jmeter/trunk/build.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1835050&r1=1835049&r2=1835050&view=diff ============================================================================== --- jmeter/trunk/build.xml (original) +++ jmeter/trunk/build.xml Wed Jul 4 12:04:56 2018 @@ -2824,6 +2824,11 @@ run JMeter unless all the JMeter jars ar <!-- Additional test scripts --> <target name="batch_scripts"> <antcall target="batchtest"> + <param name="batchtest.name" value="TestResultStatusAction"/> + <param name="batchtest.jmx" value="TestResultStatusAction.jmx"/> + </antcall> + + <antcall target="batchtest"> <param name="batchtest.name" value="TestRedirectionPolicies"/> <param name="batchtest.jmx" value="TestRedirectionPolicies.jmx"/> </antcall> Modified: jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java?rev=1835050&r1=1835049&r2=1835050&view=diff ============================================================================== --- jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java (original) +++ jmeter/trunk/src/core/org/apache/jmeter/control/WhileController.java Wed Jul 4 12:04:56 2018 @@ -165,7 +165,6 @@ public class WhileController extends Gen @Override public void iterationStart(LoopIterationEvent iterEvent) { reInitialize(); - endOfLoop(true); resetLoopCount(); } }