Reputation: 410
I have two Karate Feature files
I have additionally one Gatling Scala file
This works perfect. What i'd like to know is how can I call GetUserCount.feature after Gatling finishes it's simulation? It must only be called one time to get the final created user count. What are my options and how can I implement them?
Upvotes: 1
Views: 877
Reputation: 58058
Best option is use the Java API to run a single feature in the Gatling simulation.
Runner.runFeature("classpath:mock/feeder.feature", null, false)
Upvotes: 2