# Student Expert Test Case Failed

**URL:** <https://community.postman.com/t/student-expert-test-case-failed/46149>\
**Category:** Help Hub\
**Created:** [April 9, 2023, 9:42am UTC](https://community.postman.com/t/student-expert-test-case-failed/46149 "2023-04-09T09:42:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![payload-observer-326](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@payload-observer-326](https://community.postman.com/u/payload-observer-326)\
**Post date:** [April 9, 2023, 9:42am UTC](https://community.postman.com/t/student-expert-test-case-failed/46149/1 "2023-04-09T09:42:34Z")

</div>

Hi Everyone,  
I am trying to complete the Postman API Fundamentals Student Expert certification but this one test case is not passing. Can anyone help me with that?

Test: write a script to save the value of"actorName" from the response body as a new collection variable called “favoriteActor”.

My Solution:

 ![code](https://us1.discourse-cdn.com/getpostman/original/3X/a/e/ae7aa0c7aa2446b41ef945e757e2c74590e64cba.png)

Error:

 ![error](https://us1.discourse-cdn.com/getpostman/original/3X/e/8/e872da5beb289ad2688c3dbb1033efdef3d40a6f.png)
