When I need to use the same GUID in several instances - e.g. HTTP Header and Body - how can I achieve this?
Doing it like this generates multiple GUIDs:
...
###
POST https://host.acme.com/someapi
Content-Type: application/json; charset=UTF-8
Correlation-Id: {{$guid}}
{
"CorrelationId": "{{$guid}}",
"Record": [
...
This can be achieved by defining and using a variable
...
###
@corrid = {{$guid}}
POST https://host.acme.com/someapi
Content-Type: application/json; charset=UTF-8
Correlation-Id: {{corrid}}
{
"CorrelationId": "{{corrid}}",
"Record": [
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With