Karate 如何将Testrail与空手道整合

Karate 如何将Testrail与空手道整合,karate,testrail,Karate,Testrail,有可能把空手道和testrail结合起来吗?我使用下面的代码调用testrail,但不确定如何将每个场景的结果发送到testrail @AfterClass public static void after() throws Exception { APIClient client = new APIClient("http://test.com/testrail"); client.setUser("test"); client.

有可能把空手道和testrail结合起来吗?我使用下面的代码调用testrail,但不确定如何将每个场景的结果发送到testrail

@AfterClass
    public static void after() throws Exception
    {
        APIClient client = new APIClient("http://test.com/testrail");
        client.setUser("test");
        client.setPassword("Password1");
       JSONObject c = (JSONObject) client.sendGet("/get_case/5905");
       System.out.println(c.get("title"));


    }

空手道的0.7.0.RC4版本支持“后”挂钩

有关详细信息,请参阅此示例:


所以从空手道中获得结果是通过使用。如何调用TestRail取决于您。

感谢Peter的快速响应。@p.kop15您已请求空手道中的负载测试支持,现在可以了,您可以尝试一下: