We have developed a Freshworks Marketplace app Auto Start Timer app. The high-level workflow of the app is that the timer will be running when the agent is on the Ticket details page.
The app is working fine as expected. But, in recent days, a customer reported an issue in the app. When we tried to recreate the issue, we can’t. Then, we thought of doing scalability check for the app and for that, we did like to perform a load test for the app in our account. Can you guide us through the steps we need to do to perform the load test?
Load testing are usually done when the app is dependant on the server or served from a server, it seems like the timer app is a frontend app, and all the frontend apps use the browser resources, unless there are any API or platform features involved.
If there are any APIs involved, it has to be load tested separately,
in terms of platform features, all our platform features already have rate limits, so the customer would’ve rather shown an error message.
Is there a possibility that the issue customer faced have something to do with their local machine
The Auto Timer app will make an API call to fetch the timer details. Is there a way to load test that features separately? If so, can you walk us through the procedure?
Sorry didn’t notice your mention, the simplest way to load test the API calls is to run the API invocation on a loop in a setTimeout function and have a counter to count the number of successful responses. so with this method, you can find out how many successful requests per min your API can handle.
There are other advanced load testing libraries that are available to test APIs, which you can find online.