Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
get the Response time of a REST webservice call through Groovy — Cloud Customer Connect
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
3
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!