You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run karate tests in API call so that it can be integrated to our automation framework. However I am getting below error. Attached project source file. KarateAPITest.zip
Steps to reproduce
Unzip the attached project
run "mvn clean install"
Deploy the war file in tomcat
Running curl command curl http://localhost:8080/KarateAPITest/karate/datadriven should display output as "Hello World".
I have created UI with ExtJS and want to integrate karate with that. That is why I am trying to execute test cases through REST API call. If this is not possible please let me know whether this integration is possible by some other way.
The text was updated successfully, but these errors were encountered:
I want to run karate tests in API call so that it can be integrated to our automation framework. However I am getting below error. Attached project source file.
KarateAPITest.zip
java.lang.NullPointerException
com.intuit.karate.core.ScenarioExecutionUnit.init(ScenarioExecutionUnit.java:147)
com.intuit.karate.core.ScenarioExecutionUnit.run(ScenarioExecutionUnit.java:236)
com.intuit.karate.core.FeatureExecutionUnit.run(FeatureExecutionUnit.java:164)
com.intuit.karate.core.FeatureExecutionUnit.run(FeatureExecutionUnit.java:73)
com.intuit.karate.core.Engine.executeFeatureSync(Engine.java:109)
com.intuit.karate.Runner.runFeature(Runner.java:163)
com.intuit.karate.Runner.runFeature(Runner.java:172)
org.arul.service.JavaAPITest.testCallingFeatureFromJava(JavaAPITest.java:27)
org.arul.controller.KarateController.getDataDrivenResult(KarateController.java:27)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
Steps to reproduce
Unzip the attached project
run "mvn clean install"
Deploy the war file in tomcat
Running curl command curl http://localhost:8080/KarateAPITest/karate/datadriven should display output as "Hello World".
I have created UI with ExtJS and want to integrate karate with that. That is why I am trying to execute test cases through REST API call. If this is not possible please let me know whether this integration is possible by some other way.
The text was updated successfully, but these errors were encountered: