get the Response time of a REST webservice call through Groovy
Is there any way to get the response time of a Rest web service (GET/PATCH/POST) call through groovy.
For example, for get transaction, we are using the below line for GET through groovy.
def response = adf.webServices.getTransaction.GET(sourceTrxNumber, 'OBSOLETED', 'CSP')
the variable response gives the response for the get Transaction but this does not contain the response time. We need to know the time taken for the get Operation.