我已经使用OS过程采样在我的JMeter测试计划未知的选项:--glue com.app.saf.glue.mf
Command java
Value
-jar
test-automation-0.0.1-SNAPSHOT.jar
classpath:features/mf
--glue com.app.saf.glue.mf
--tags @LOANSETUP
当我运行测试计划,我得到的错误:
Exception in thread "main" cucumber.runtime.CucumberException: Unknown option: --glue com.app.saf.glue.mf
at cucumber.runtime.RuntimeOptions.parse(RuntimeOptions.java:148)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:85)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:78)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:70)
at cucumber.api.cli.Main.run(Main.java:31)
at cucumber.api.cli.Main.main(Main.java:18)
My Jmeter version is 3.2
检查https://stackoverflow.com/questions/37770706/unable-to-run-cucumber-feature-feature – user7294900