How to store response string in variable

Hi Team,

Can anyone help how to save the postman response value in the environment variable?

the response is string just value 1234

Hi @bhaskervade,

You may refer to below postman documentation for using variables.

thank you for the response I found the solution
var source = pm.response.text();

1 Like