Mercurial > stress-tester
changeset 1270:15c0fcd63815
SequenceFilter bugfix
author | Devel 2 |
---|---|
date | Fri, 03 Jul 2020 11:18:13 +0200 |
parents | d7209c062524 |
children | b51cb6766ca6 |
files | stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java Fri Jul 03 10:24:23 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java Fri Jul 03 11:18:13 2020 +0200 @@ -13,7 +13,6 @@ import com.passus.config.annotations.NodeDefinitionCreate; import com.passus.config.schema.*; import com.passus.filter.ValueExtractor; -import com.passus.net.http.HttpRequest; import com.passus.st.client.FlowContext; import com.passus.st.client.SessionPayloadEvent; import com.passus.st.client.http.filter.HttpFilterRequestWrapper; @@ -250,12 +249,7 @@ } } else { if (chain.expire < now) { - if (chain.stage.mustOccur) { - it.remove(); - continue; - } - - if (!nextStage(chain, now, value, context)) { + if (chain.stage.mustOccur || !nextStage(chain, now, value, context)) { it.remove(); } else { continue;