com.consol.citrus.exceptions.TestCaseFailedException: Test case failed at com.consol.citrus.TestCase.executeAction(TestCase.java:221)

Stack Overflow | Harsha | 2 months ago
  1. 0

    INSERT statement does not work with Citrus Integration framework

    Stack Overflow | 2 months ago | Harsha
    com.consol.citrus.exceptions.TestCaseFailedException: Test case failed at com.consol.citrus.TestCase.executeAction(TestCase.java:221)

    Root Cause Analysis

    1. com.consol.citrus.exceptions.TestCaseFailedException

      Test case failed at com.consol.citrus.TestCase.executeAction(TestCase.java:221)

      at com.consol.citrus.dsl.runner.DefaultTestRunner.run()
    2. com.consol.citrus
      DomainAPITest.sqlPMTest
      1. com.consol.citrus.dsl.runner.DefaultTestRunner.run(DefaultTestRunner.java:189)
      2. com.consol.citrus.dsl.runner.DefaultTestRunner.query(DefaultTestRunner.java:249)
      3. com.consol.citrus.dsl.testng.TestNGCitrusTestRunner.query(TestNGCitrusTestRunner.java:170)
      4. com.consol.citrus.samples.DomainAPITest.sqlPMTest(DomainAPITest.java:37)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. Spring Core
      ReflectionUtils.invokeMethod
      1. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:216)
      1 frame
    5. com.consol.citrus
      TestNGCitrusTest.run
      1. com.consol.citrus.dsl.testng.TestNGCitrusTest.invokeTestMethod(TestNGCitrusTest.java:130)
      2. com.consol.citrus.dsl.testng.TestNGCitrusTest.run(TestNGCitrusTest.java:100)
      3. com.consol.citrus.dsl.testng.TestNGCitrusTest.run(TestNGCitrusTest.java:58)
      3 frames
    6. TestNG
      RemoteTestNGStarter.main
      1. org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:208)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:635)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      7. org.testng.TestRunner.privateRun(TestRunner.java:774)
      8. org.testng.TestRunner.run(TestRunner.java:624)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:261)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      17. org.testng.TestNG.run(TestNG.java:1048)
      18. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
      19. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124)
      19 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame