I have Karate feature with a long list of operations. I need to manually have some test data setup before running these tests which is essentially one sql query. Is there a way
Please see if the callSingle API solves your need.
callSingle
https://github.com/intuit/karate#karate-callsingle
var result = karate.callSingle('classpath:common.feature', { some: 'config' });
Also see hooks: https://github.com/intuit/karate#hooks