Shadab
Shadab

Reputation: 367

Unknown option: --glue com.app.saf.glue.mf

I have used OS Process Sampler in my jmeter test plan

Command java

Value

    -jar
    test-automation-0.0.1-SNAPSHOT.jar
    classpath:features/mf
    --glue com.app.saf.glue.mf
    --tags @LOANSETUP

When I run the test plan, I get the error:

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

Upvotes: 1

Views: 436

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34536

Change your configuration to:

-jar
test-automation-0.0.1-SNAPSHOT.jar
classpath:features/mf
--glue 
com.app.saf.glue.mf
--tags 
@LOANSETUP

Upvotes: 1

Related Questions