Help placing the results into a variable from the "Test Results"

i am trying to capture the output from a Base64 reply and place it in a Variable from the “Test Result” section. I can do this with a json.responseBody. However, I cannot seem to run this from the “Test Results” or the “Console.Log”.

What am I missing? Thank you for your help.

How I found the problem:

I’ve already tried:

Sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

In order to store a value as a variable, you would need to use the pm.* function with the correct scoped variable syntax in the script.

We’re closing out older posts to help keep the community organized and relevant.