How to create Mock application on TIBCO cloud

07 Apr 2021

blog details

How to create Mock application on TIBCO cloud

By: RSDigitech | Published At : 07 Apr 2021    


API Modeling and Mocking with Mashery

API management solutions ease business growth with its importance, nailing connectivity and so on. Security is as important to build any successful API program through API modeling & mocking with mashery. Follow the steps to know how this new feature helps modelling and mocking with the APIs.

Step 1: Use your credentials to login to https://cloud.tibco.com.

Step 2: Click the marked one to proceed to next.

step1-2

Now, you will get below mentioned screen with all your APIs in it.

step2.1


Step: 3 If you want to create your Organisation Group, just click the one as shown in the image.

step3

Step: 4 Create a group and now select it. Now, you can create your first API using CLICK ON Create BUTTON


step4

 


Now you will find a screen which is similar to this one.

step4.1


Fill the details and click create. Now you can see the screen like this one


step4.2

 

Step:5 Click on Add Resource and then fill the path and method. For example, I am taking of GET Method. Once set, Click SAVE.


step5

 

You will get the screen as shown in the below image for Tibco Modeling


step5.1

Note: You can also create query parameter by clicking on query param. Set the options and create it.


step5.2


Step:6 Now your Request is set and you need to set the responses for the same request, so click on

response

step6

 

A screen will appear as shown in the image after setting your response.

step6.1

Step:7 To set the Mock Response, you need to click on 200 OK to set the response json Schema. So, click on Generate Schema from Sample Data.


step7

 

Once clicked, you will notify a screen as shown in the image


step7.1


Just Copy and Paste your Sample Json, Now Click on Generate Schema and then Click SAVE. Now Response is set.Now the Response is set.

step7.2

Important note: We have just done Mock Request and Mock Response alone. Go Back to the Dashboard and now you can see all your API 

Steps for Creating a MOCK APP

Click on a three DOTS to create one Mock APP


step7.3

 

Click Create now