Skip to content

Commit

Permalink
upgraded commons-io lib
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Dec 27, 2024
1 parent 3231b90 commit 35074b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<xmlunit.version>1.5</xmlunit.version>
<owasp-java-html-sanitizer.version>20211018.1</owasp-java-html-sanitizer.version>
<commons-fileupload.version>1.5</commons-fileupload.version>
<commons-io.version>2.7</commons-io.version>
<commons-io.version>2.16.1</commons-io.version>
<commons-net.version>3.9.0</commons-net.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-collections4.version>4.4</commons-collections4.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,8 @@ private TestCaseExecutionData property_getFromNetworkTraffic(TestCaseExecutionDa
//Record result in filessytem.
testCaseExecutionData.addFileList(recorderService.recordProperty(execution.getId(), testCaseExecutionData.getProperty(), 1, harRes.toString(1), execution.getSecrets()));

String valueFromJson = this.jsonService.getFromJson(harRes.toString(), null, jsonPath, testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());
String valueFromJson = this.jsonService.getFromJson(harRes.toString(), null, jsonPath,
testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());

if (valueFromJson != null) {
testCaseExecutionData.setValue(valueFromJson);
Expand Down Expand Up @@ -1234,7 +1235,8 @@ private TestCaseExecutionData property_getFromExecutionObject(TestCaseExecutionD
recorderService.recordProperty(tCExecution.getId(), testCaseExecutionData.getProperty(), 1, executionObject, tCExecution.getSecrets());

String valueFromJson = this.jsonService
.getFromJson(executionObject, null, testCaseExecutionData.getValue1(), testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());
.getFromJson(executionObject, null, testCaseExecutionData.getValue1(),
testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());

if (valueFromJson == null) {
throw new InvalidPathException();
Expand Down Expand Up @@ -1754,7 +1756,8 @@ private TestCaseExecutionData property_getFromJson(TestCaseExecutionData testCas
recorderService.recordProperty(execution.getId(), testCaseExecutionData.getProperty(), 1, jsonResponse, execution.getSecrets());

String valueFromJSON = this.jsonService
.getFromJson(jsonResponse, null, testCaseExecutionData.getValue1(), testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());
.getFromJson(jsonResponse, null, testCaseExecutionData.getValue1(),
testCaseExecutionData.getNature().equals(TestCaseCountryProperties.NATURE_RANDOM), testCaseExecutionData.getRank(), testCaseExecutionData.getValue3());

if (valueFromJSON == null) {
throw new InvalidPathException();
Expand Down

0 comments on commit 35074b4

Please sign in to comment.