Getting this ReferenceError: jsonData is not defined on postman

78 Views Asked by At

maybe someone can help me, I'm stucked and can't find the issue with simple task - I need to add id to the collectionvariables, and usually I used this command

pm.collectionVariables.set("board_id", jsonData.id);

But now I'm getting this error:

There was an error in evaluating the test script: ReferenceError: jsonData is not defined

Maybe someone can tell me direction to look on? Tried on different tasks, and on other projects it works without any problems.

0

There are 0 best solutions below