Skip to main content

How to calculate the number of your APIs

With Mule 3.9 end of standard support around the corner, many users are getting really worried about their existing implementations and uncertain about the complexity and costs involved to migrate to Mule 4, the latest version of Anypoint Platform’s runtime engine.

To understand the level of difficulty and whether you’ll be able to perform the migration with your internal resources or you will need expert support, you need to be able to assess the required time, effort and cost. These are some basic questions you will need to answer:

  • On which Mule version (or versions) are your MuleSoft applications currently deployed?
  • How many APIs (endpoints) are deployed on each version?
  • Do you have MUnit currently available?
  • Do you have CI / CD pipeline setup and available for use?
  • Do you have Integration / Regression test suite available for use?
  • Do you have Performance test suite available for use?
  • Do you have any Premium connectors being used?
  • Do you have any Custom connectors being used?
  • Have you used DataWeave / Data Mapper components for transformation?

In our discussions with customers, especially those that have larger, more complex implementations, one of the most common unknowns is how to measure the number of APIs they are currently deploying.

The reason is that there is no universally defined and accepted metric. Many use the number of applications as listed in the Runtime Manager. However, this might prove misleading if you are trying to estimate time and effort. Why? Because one application may have 3 or 4 resources (or endpoints) whereas another may have 10 or more. And each of these resources will require time and effort in order to be migrated to Mule 4. At Coforge we have opted for the number of resources as a more accurate representation of the ‘number of APIs’.

These steps will help you calculate the total number of resources in your Anypoint Platform live environment.

Steps to calculate the total number of APIs in a LIVE environment

  • Login to MuleSoft Anypoint Platform and open Runtime Manager
  • Select LIVE (Production) Environment

  • Click on the ‘Applications’ tab in the left side menu

  • Make a note of the list of application names

  • Go to Anypoint Exchange
  • For each application name captured in Runtime Manager follow the steps below:
  • Open the API specification page of the application name (Use Search box with API & Organization filter)

  • Click on ‘Summary’ link on the left side menu

  • Count the end-points listed in the page

  • Sum all the end-point counts for each application name captured in Step 4.

Now that you know how many APIs you are deploying on your current Mule version(s), you might want to use our calculator to get a high-level estimate of how long it will take you to migrate to Mule 4 using our Mule 4 Migration Accelerator.

Other useful links:

10 things to consider when planning your Mule 4 migration

Mule 4 Migration Accelerator

How to prove ROI from your API-led integration

Let’s engage