Is there a way to see how many times an API is being called on each page?

Is there a way to see how many times an API is being called on each page?

Solution

Hi Nicholas,


Can you give a little more information? Are you looking to see in Service Studio how many times an API is called? If so, you can right click and API and "Find Usages" and it will show you every place its used.  Are you asking about at runtime?  If that's the case, I would add some logging either to your API or around the actions on the page where you call the API.


Stacey

Solution

Hi Nicholas,

Without a better explanation on what you are trying to achieve will be hard to help you. 

But even them this came to mind when I read your post: You can use google chrome tools to check it; you can check with find how many times is being called or if it is inside a foreach you can build your own count.

Marcelo

Hi I want to pull across how many api are used on each page before run time.

Then my answer before on the find usages is the way to go