testingintellij-ideakarateweb-api-testingcucumber-junit

feature file is not running in karate framework in Intellij


I'm new in Karate framework. And i have create one script which is read the request body from "user.json" file and i have configerd that in feature file. till that it's good but when run feature file, it's giving me an below error: enter image description here

json file: enter image description here

and i tried to found solution for this but didn't get much result for same. can anyone please help me out for how to reslove this?


Solution

  • Install Plugins : "Gherkin" and "Cucumber for Java" Restart your IDE and you will be able to see the RunAs option when you right click on the file. Note: Do not install "Cucumber+".