File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
core/src/main/java/org/apache/jmeter/threads
dist-check/src/test/java/org/apache/jmeter/junit Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -115,21 +115,10 @@ public SamplePackage configureTransactionSampler(TransactionSampler transactionS
115115 }
116116
117117 /**
118- * Reset pack to its initial state and clean up transaction results if needed
118+ * Reset pack to its initial state
119119 * @param pack the {@link SamplePackage} to reset
120120 */
121121 public void done (SamplePackage pack ) {
122- Sampler sampler = pack .getSampler ();
123- if (sampler instanceof TransactionSampler ) {
124- TransactionSampler transactionSampler = (TransactionSampler ) sampler ;
125- TransactionController controller = transactionSampler .getTransactionController ();
126- if (transactionSampler .isTransactionDone ()) {
127- // Create new sampler for next iteration
128- TransactionSampler newSampler = new TransactionSampler (controller , transactionSampler .getName ());
129- SamplePackage newPack = transactionControllerConfigMap .get (controller );
130- newPack .setSampler (newSampler );
131- }
132- }
133122 pack .recoverRunningVersion ();
134123 }
135124
Original file line number Diff line number Diff line change @@ -581,8 +581,7 @@ static Stream<Serializable> serializableObjects() throws Throwable {
581581 return getObjects (Serializable .class )
582582 .stream ()
583583 .map (Serializable .class ::cast )
584- .filter (o -> !o .getClass ().getName ().endsWith ("_Stub" ))
585- .filter (o -> o .getClass ().getName ().startsWith ("org.apache.jmeter." ));
584+ .filter (o -> !o .getClass ().getName ().endsWith ("_Stub" ));
586585 }
587586
588587 /*
You can’t perform that action at this time.
0 commit comments