-2

I am setting maven parameter as

mvn test -DargLine="-Dkarate.env=QA"

but getting below error while running

karate.env selected environment was: null
Peter
  • 4,752
  • 2
  • 20
  • 32
Rishim
  • 53
  • 4

1 Answers1

1

You can try mvn test -Dkarate.env=QA

If that does not work, please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
  • Thanks for your response but it is still not working. Can you pls suggest ? – Rishim Apr 28 '19 at 05:45
  • no, you can read this: https://stackoverflow.com/a/50690543/143475 - and I already suggested what you should do above. or get someone who knows maven well to help you. – Peter Thomas Apr 28 '19 at 06:46
  • I found a workaround seems there was an issue with my maven command. This is closed. – Rishim Jul 24 '19 at 21:31