The information in this topic may be out of date. The current SDK reference guide has moved here.
Use this method to retrieve the unique batch ID of the test batch.
String value = result.getBatchId();