Runtime Message for API Rest
Summary: How to measure the execution time of custom validations when creating an SR via REST API?
Content:
Hello experts,
We are reviewing the API Rest performance in our SFA production pod, we have a functionality that allows us to create a Service Request via API Rest, but we need to understand how to improve the response time: There are several custom validations in the trigger when we create the SR, so we are looking for a method to measure the time taken by the custom scripts executed during the SR creation.
We are considering adding "println" statements in the executed functions to capture the timestamp via Runtime Message during a Sandbox session, I ran some tests using Postman to update an existing SR with the same user who created the sandbox, activated the runtime message, and with the sandbox active. However, the runtime message only seem to work when changes are made using the UI.