API Execution/Testing
🕓 10 minutes
What you’ll learn​
How to execute components APIs and see the responses after the application deployment.
Before you begin​
Steps​
- See the application detail.
- Click on the Open in Browser on the chosen deployed application.
- Choose the application component for API execution.
- Execute your API’s by the integrated Swagger UI tool
- Learn more about the Swagger UI on https://swagger.io/tools/swagger-ui/ or this youtube demo can also help.
- Often you are looking for traceID from the response header. This traceID, e.g., helps you analyze interactions in distributed tracing systems.
- If your swagger-ui does not reflect the latest changes in your component's API, make sure you modified the swagger.yml file inside your component.
- You can use traceID to see detailed logs of your application.
- To be able to see them, you can go to the "Logging and tracing" section, choose "Logging" and paste your traceID into the query field in the appropriate format
{traceId="your traceId"}
- You can also change the time range if you click on the clock icon in the top right corner.
- To be able to see them, you can go to the "Logging and tracing" section, choose "Logging" and paste your traceID into the query field in the appropriate format
- TraceID is also used for analyzing your tracing system.
- For tracing information, go to the "Logging and tracing" section, this time choose "Tracing" and paste your traceID into the input field.
- Here you can see how components interact with each other inside your application.
Screenshots​
Step 1

Step 2 and 3

Step 4




Step 5


Step 6



What’s next?​
You might be interested in our other tutorials: