Search Results

Test Your Node.js App

After pushing and running a Node.js app to TIBCO Cloud Integration, you can test the app to see how it works. This works in the same way as other apps:

  1. Log in to TIBCO® Cloud Integration.
  2. Push and scale up the Node.js app, as described in Pushing and Deploying Node.js Apps.
  3. Click the Apps tab.
  4. Find the app whose endpoint you want to view.
  5. Click the endpoint of your app. The endpoint cannot be modified.
  6. To test the API by opening a URL, click View API. This will open the base URL in the Swagger UI; you generally need to add a resource path to the URL to see anything. For example, for petstoreapplication you would have to copy the URL and then add the resource path /pet/2.

    Note: The server code stub generated support CORS (Cross-Origin Resource Sharing) which is required if you would like to test your app through this Swagger UI exposed by TIBCO Cloud Integration. Please don’t modify the CORS relevant code in server.js if you need this feature.

  7. To copy an app’s endpoint URL to the clipboard, click Copy.

What to Do Next