Test script in Postman

42 Views Asked by At

I'd like to print a field from the body request after the request itself, in order to print a string build like this: requestFied, + responseField, + timeStamp.

I have tried with pm.request.json().field_name but doesn't work.

1

There are 1 best solutions below

0
On

Did you try adding body ?

pm.request.body.json()