You can get the IFS trace data for a projection call by adding the query parameter odata-debug
.
This will add the trace information in ifs-trace
node of the response message. Since the trace data is in JSON format, it's hard to interpert the information using tools like Postman.
Postman Visualizer is a good tool where you can visually represent the request responses. Here you can find a visualizer script for representing IFS trace information in readable format in Postman.
- Create a new Postman Collection
- Add a new request to the collection, and use any IFS projection call.
- Go to the Tests tab of the collection
- Copy the code from src/postman-visualizer-ifscloud-trace.js and paste in the Postman Tests. You can add the test script to the collection if there are many requests.
- Make sure the query parameter
odata-debug
is included in the request.
Eg: {{ifs_url}}/main/ifsapplications/projection/v1/YOUR_PROJECTION_CALL?odata-debug=json
- Free text search - You can search by any keyword
- Filter based on log level - You can filter messages based on category (TRACE, INFORMATION, DEBUG)
- Indent - Indent the call stack
There are many response visualization features in Postman. Use issues if you would like to contribute, report bugs or suggest any feature additions 🐞💡😎