Skip to content

Visualize and filter trace information on a IFS Cloud projection response

Notifications You must be signed in to change notification settings

damithsj/IFSCloud-Postman-Trace-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Postman Visualizer for IFS Cloud Trace

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.

How to Use

  • 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

  • Go to the Visualize tab in the response. Trace information can be seen in readable format. IFS trace visualizer for Postman

Features

  • 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

Contribute

There are many response visualization features in Postman. Use issues if you would like to contribute, report bugs or suggest any feature additions 🐞💡😎

About

Visualize and filter trace information on a IFS Cloud projection response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published