Postman test script to check for exact key values in response

Hello, i am creating a user to an api using 2 key-values. how do i write a postman test script to check if the created account values EXACTLY MATCHES the response? and secondly right now i am manually inputting the values i use in creating the user in the test script. How do i script it to automatically pick any value inputted in the body to exactly match the response

This is covered in the Learning Centre.

Postman Galaxy Training | Postman API Network

Run through the “APIs 101 Training”, then the “Testing and Automation Training” course.

Then if you are still unsure, please post what you have tried, and we may be able to guide you.

1 Like