Integration of other Test Management tool

Hi Ramesh

I am very new to Katalon and TestRail world. I have followed all the steps as you have mention to integrate TestRail with Katalon. But I am not sure what I supposed to do after I drop the jar file in extension folder. I wasn’t able find the TestRail integration feature in katalon. Any help would be greatly appreciated.

Thanks

For those who need Katalon & TestRail integration: https://medium.com/@being_qa/katalon-studio-testrail-integration-guide-38acd02051d7

1 Like

Nikita, thanks a lot .

Hey I have connected the testlink with katalon My test case is running successfully without error but connect successfully. I mean when i executed the test case from katalon its not showing in Testlink. Here is my code and console log:

class NewTestListener {

public static String DEVKEY=“e07a92432a43ebe74c68d6a960b866f9”;
public static String URL=“http://localhost/testlink/index.php”;
String testProject=“Workilo”;
String testPlan=“Workilo Test Plan”;
String testCase=“click on Next button without changing date and time”;
String build=“Beta Testing”;

public static void reportResult(String TestProject,String TestPlan,String Testcase,String Build,String Notes,String Result) throws TestLinkAPIException{
TestLinkAPIClient api=new TestLinkAPIClient(DEVKEY, URL);
api.reportTestCaseResult(TestProject, TestPlan, Testcase, Build, Notes, Result);

}

@BeforeTestCase

def beforetestcase(TestCaseContext testCaseContext) {
println testCaseContext.getTestCaseId()
//println testCaseContext.getTestCaseVariable()
println testCaseContext.getTestCaseStatus()
//testCaseContext.TestCaseId()

}

@AfterTestCase
def afterTestcase(TestCaseContext testCaseContext)throws Exception {

	String result = "";
	//String exception = "";
	String notes="";
	
	//String result=null;
	
	try{
	
	
	//WebUI.driver.switchTo().defaultContent();
	
	
	//wait(9)
	//wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText("+Testlink")));
	
	result= TestLinkAPIResults.TEST_PASSED;
	
	println(result)
	notes="Executed successfully";
	
	}
	
	catch(Exception e){
	e.printStackTrace()
	System.out.println("Error: " + e.getMessage());
	result=TestLinkAPIResults.TEST_FAILED;
	
	notes="Execution failed";
	
	}
	finally{
		NewTestListener a=new NewTestListener();
		a.reportResult(testProject, testPlan, testCase, build, notes, result);
		
	}

}
}

Console Log:

12-17-2018 03:51:59 PM - [ERROR] - org.codehaus.groovy.runtime.InvokerInvocationException: testlink.api.java.client.TestLinkAPIException: The call to the xml-rpc client failed.

Can anyone help?

Okay I am able to run it successfully by downloding xml-rpc jar into katalon.

Thanks very happy now :slight_smile:

Just FYI - we’ve built a TestRail integration plugin for Katalon Studio. If you have any feedback or suggestions we are happy to hear from you.

https://store.katalon.com/product/13/TestRail-Integration