Update comments

APiTesting
Akeela Azhar 2 years ago
parent c039a1dcd1
commit 8f688d25ac

@ -491,7 +491,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
DeviceManagementProviderService deviceManagementProviderService =
DeviceMgtAPIUtils.getDeviceManagementService();
try {
long startTime = System.currentTimeMillis(); // Start measuring response time
long startTime = System.currentTimeMillis(); // Start measuring API call response time
DeviceIdentifier deviceIdentifier = new DeviceIdentifier(deviceId, deviceType);
Device persistedDevice = deviceManagementProviderService.getDevice(deviceIdentifier, true);
@ -499,7 +499,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
return Response.status(Response.Status.NOT_FOUND).build();
}
boolean response = deviceManagementProviderService.disenrollDevice(deviceIdentifier);
long endTime = System.currentTimeMillis(); // End measuring response time
long endTime = System.currentTimeMillis(); // End measuring API call response time
long responseTime = endTime - startTime;
// Save the response time, start time, and end time to Google Spreadsheet

Loading…
Cancel
Save