Skip to content

Commit

Permalink
Avoid warning when starting jmeter engine and update to latest seleni…
Browse files Browse the repository at this point in the history
…um version with java 8 support
  • Loading branch information
rabelenda-abstracta committed Nov 6, 2023
1 parent 7d04dab commit 0dedaa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class EmbeddedJmeterEngine implements DslJmeterEngine {

private static final Logger LOG = LoggerFactory.getLogger(EmbeddedJmeterEngine.class);
private final Map<String, Object> props = new HashMap<>();
private final StandardJMeterEngine engine = new StandardJMeterEngine();
private String propsFile;

/**
Expand Down Expand Up @@ -174,6 +173,7 @@ public boolean isStats() {

protected TestRunner buildTestRunner(HashTree testPlanTree, HashTree rootTree,
TestStopper testStopper) {
StandardJMeterEngine engine = new StandardJMeterEngine();
engine.configure(rootTree);
return new TestRunner() {

Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
<junit-platform.version>1.9.1</junit-platform.version>
<assertj-core.version>3.23.1</assertj-core.version>
<jackson.version>2.14.2</jackson.version>
<selenium.version>4.8.1</selenium.version>
<!-- this is the last version with java 8 support -->
<selenium.version>4.13.0</selenium.version>
<!-- same version as JMeter dependency -->
<slf4j.version>1.7.36</slf4j.version>
</properties>
Expand Down

0 comments on commit 0dedaa4

Please sign in to comment.