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
@stefdaems answered on stack overflow. also keep in mind that karate is an http client so you don't need fetch and what not. also see this thread for other ideas: #619
if you read the other thread, you may find that it may be much more convenient to send all results at the end of your tests rather than complicating things and having brittle moving parts inside your tests.
I want to be able to send the scenario result (testName + status) to an external endpoint, right after the execution of the scenario.
My karate-config looks like this:
In de Background part of my feature I've added
Fetch seems to be unknown to karate, so is there any possibility to add fetch (or node-fetch or axios...) to the modules which can be used.
If I'm totally missing out on the way of doing it, what will be the best approach to send me the result of each scenario in the afterscenario hook?
The text was updated successfully, but these errors were encountered: