How to get the value of the rand property and set it

**Could you suggest what Have I do ? :frowning: **

In this ā€˜Skill checkā€™ request, add a test script in the Tests tab that gets the value of the rand property in the response JSON and sets it as the value of a collection or environment variable named responseData. Hint: Youā€™ll need to Send the request twice after adding your code because it wonā€™t save the value until after the response is received the first time.

My question:

Details (like screenshots):

How I found the problem:

Iā€™ve already tried:

You have to do what the text is telling you.

Which part are you struggling with?

If you are new to Postman, then I would suggest a visit to the Learning Centre.

Including the Postman Training links under ā€œOther Resourcesā€.

image

I would recommend the ā€œGalaxy APIs 101ā€ course first as it gets you used to the application features and layout.

Then the ā€œGalaxy Testing and Automationā€ course which teaches you how to assert the responses and use variables.

More on variables.