Karate afterFeature function execution works fine when run locally but fails when run through Jenkins
问题 Karate afterFeature function execution works fine when run locally but fails when run through Jenkins, I get assertion failed: assert evaluated to false: responseStatus == 200 || responseStatus == 404 . Whereas the responseStatus should either be 200 or 404 . Code Snippet main.feature snippet Background: ... * def myName1 = 'karate-test-name' * configure afterFeature = function(){ karate.call('cleanup.feature'); } ... ... cleanup.feature @ignore Feature: To cleanup after main.feature