I want to import a test result on testlink. Here's my XML:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<testcase external_id="123-9" >
<tester>sabrina</tester> <!-- tester LOGIN Name--->
<timestamp>2014-05-12 17:00:00</timestamp>
<result>p</result>
<notes>functionality works great </notes>
</testcase>
</result>
But it always fails with the notification result of 'xml_ko'.
Update: I found the solution. There are invalid characters i put on:
<!-- tester LOGIN Name--->
there's should only 2 dash (-) at the end.- Missing 's' at the end on
</result>
The right xml code:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<testcase external_id="123-9" >
<tester>sabrina</tester> <!-- tester LOGIN Name-->
<timestamp>2014-05-12 17:00:00</timestamp>
<result>p</result>
<notes>functionality works great </notes>
</testcase>
</results>