I have POST request which have request header in key, value pair as “userid”:“ABC”. This field is mandatory to have for successful POST. After successful POST response will again have “userid” as a response body element. I am looking for script which will check/compare header value and response value are same for user id field. Please help.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Print Response Header Value in Tests | 3 | 808 | November 22, 2023 | |
| How can I compare request body and response body? | 9 | 5095 | July 26, 2022 | |
| Compare Response With Envirment Variabel | 3 | 447 | August 26, 2021 | |
| Compare responses from two POST requests | 13 | 18382 | November 9, 2021 | |
| Compare Two Text response on Postman | 2 | 2094 | February 17, 2022 |