newman
newman copied to clipboard
[Feature Request] Newman doesn't sync with postman cloud so mockserver tests fails
- Newman Version (can be found via
newman -v): 5.2.1 - OS details (type, version, and architecture): windows 10
- Are you using Newman as a library, or via the CLI? CLI
- Did you encounter this recently, or has this bug always been there: Always there
Steps to reproduce the problem:
- Create a mock server with response body as
{ "name" : "{{name}}"}
where name variable is in the environment , and its value is "user"
- now in pre- requisite modify it as pm.enviroment.set("name", "new");
- In postman desktop app the response from mock server will be { "name" : "new" }
- But if we run the same using newman the output will be { "name" : "user"} as the changes made through pre-request will not be synced with mock server
-->
Expected behaviour:
- the output should be same as modified variable value