Use this method to retrieve the unique batch ID of the test batch.
String value = result.getBatchId();