Skip to content

Commit 6bdf6d6

Browse files
Zakaria-Kofirokevin-mcgoldrickzkofiro
authored
Reduce Regex on RESPONSE_BODY (#362)
Co-authored-by: Kevin McGoldrick <[email protected]> Co-authored-by: zkofiro <[email protected]>
1 parent 8dad027 commit 6bdf6d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

agent/apiharness/src/main/java/com/intuit/tank/runner/method/RequestRunner.java

-2
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ private void processVariables(Variables variables, BaseResponse reqResponse) {
432432
}
433433

434434
for (AssignmentData assignmentData : bodyVariable) {
435-
variables.addVariable("RESPONSE_BODY", reqResponse.getResponseBody());
436435
String value = stripEquals(assignmentData.getValue());
437436
String realValue = null;
438437
if (ValidationUtil.isFunction(value)) {
@@ -446,7 +445,6 @@ private void processVariables(Variables variables, BaseResponse reqResponse) {
446445
}
447446
variables.addVariable(assignmentData.getKey(), realValue);
448447
LOG.debug("Setting variable " + assignmentData.getKey() + "=" + realValue);
449-
variables.removeVariable("RESPONSE_BODY");
450448
}
451449
}
452450

0 commit comments

Comments
 (0)