You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

get the Response time of a REST webservice call through Groovy

Received Response
4
Views
6
Comments
edited Sep 7, 2021 6:02PM in Sales 6 comments

Content

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.

Any suggestions?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!