Mercurial > stress-tester
changeset 1293:4304b8e547bf
SequenceFilter - bugfix
author | Devel 2 |
---|---|
date | Wed, 15 Jul 2020 12:28:21 +0200 |
parents | 78e67587e149 |
children | 8396548d1a78 |
files | stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java Wed Jul 15 11:58:35 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/filter/SequenceFilter.java Wed Jul 15 12:28:21 2020 +0200 @@ -13,6 +13,7 @@ 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; @@ -406,7 +407,10 @@ } public Map<String, Object> mergeValue(MessageWrapper newValue) { - Map<String, Object> out = createMap(newValue); + Map<String, Object> out = new HashMap<>(valueMap); + out.put("req", newValue.getReq()); + out.put("resp", newValue.getResp()); + out.put("session", newValue.getSession()); return out; }