postman-open-technologies / microcks

This is a repo for managing our microcks partnership.
Apache License 2.0
1 stars 0 forks source link

Postman Expressions #4

Open kinlane opened 2 years ago

kinlane commented 2 years ago

Can I get more detail on Postman Expressions? What they are? What do they do? How to use them? I'd like to prepare a story and Breaking Changes TL;DR episode on them.

lbroudoux commented 2 years ago

Postman Expressions are just what is called Dynamic variables in Postman.

We introduced the ability to specify mock responses or event content using Templating in Microcks 1.2. When defining your example data as a template, you can either :

All the function expressions in Microcks are compatible with Postman notations so that the expressions you used into your Postman Collection can be reused as is within Microcks.