From f9cb8fca34e93382ad3f7cb04970b1c6c001d413 Mon Sep 17 00:00:00 2001 From: Felix Schumacher Date: Thu, 24 Feb 2022 20:01:18 +0100 Subject: [PATCH] Use correct order of extractors too many No's there :) --- .../protocol/http/modifier/URLRewritingModifier.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java index 7565727ad2e..67155eaab5c 100644 --- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java +++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java @@ -81,13 +81,13 @@ public void process() { String text = responseText.getResponseDataAsString(); String value; if (isPathExtension() && isPathExtensionNoEquals() && isPathExtensionNoQuestionmark()) { - value = pathExtensionEqualsQuestionmarkExtractor.apply(text); + value = pathExtensionNoEqualsNoQuestionmarkExtractor.apply(text); } else if (isPathExtension() && isPathExtensionNoEquals()) { // && !isPathExtensionNoQuestionmark() - value = pathExtensionEqualsNoQuestionmarkExtractor.apply(text); - } else if (isPathExtension() && isPathExtensionNoQuestionmark()) { // && !isPathExtensionNoEquals() value = pathExtensionNoEqualsQuestionmarkExtractor.apply(text); + } else if (isPathExtension() && isPathExtensionNoQuestionmark()) { // && !isPathExtensionNoEquals() + value = pathExtensionEqualsNoQuestionmarkExtractor.apply(text); } else if (isPathExtension()) { // && !isPathExtensionNoEquals() && !isPathExtensionNoQuestionmark() - value = pathExtensionNoEqualsNoQuestionmarkExtractor.apply(text); + value = pathExtensionEqualsQuestionmarkExtractor.apply(text); } else { // if ! isPathExtension() value = parameterExtractor.apply(text); }