Mercurial > stress-tester
changeset 495:a9ad9e016d6c
HttpMessageModificationFilter - bugfix
author | Devel 1 |
---|---|
date | Sat, 12 Aug 2017 18:12:11 +0200 |
parents | 9d398ff524b2 |
children | edc36abb1445 |
files | stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java Sat Aug 12 18:08:28 2017 +0200 +++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpMessageModificationFilter.java Sat Aug 12 18:12:11 2017 +0200 @@ -55,6 +55,7 @@ if (value instanceof CharSequence) { return (CharSequence) value; } + LOGGER.debug("extractor={} extracted={}", extractor, value); return null; } @@ -288,7 +289,7 @@ @Override protected void doProcess(CharSequence value, HttpRequest req, HttpResponse resp, HttpFlowContext context) { try { - HELPER.addQueryParameter(req, name, value); + HELPER.setQueryParameter(req, name, value); } catch (ParseException ex) { if (LOGGER.isDebugEnabled()) { LOGGER.debug(ex.getMessage(), ex);