testlink-java-api
testlink-java-api copied to clipboard
External id is null after creating Test case
Hello. I have a problem with test case creating. After creating:
TestCase tc = testLinkAPI.createTestCase(summary,
testSuite.getId(),
....);
Then tc.getExternalId() and tc.getFullExternalId() are null both.
Versions:
- TestLink: 1.9.20
- testlink-java-api: 1.9.20-1
- JVM 11
I need this external id to set keywords to test cases.
Hi @i-vasilev , I don't have an environment to confirm it at the moment, but I remember some create operations didn't return all the fields in the PHP API. I think the test plan didn't return a field, so I had to invoke the API again to query for the values.
You may have to do the same. Perhaps you could try to confirm that the PHP XMLRPC API is returning the external ID? If it is indeed returning it, then we have confirmed that the bug lies on the Java code here :+1: