Forum Discussion

ericzaj's avatar
ericzaj
New Member
7 years ago

Rest Test Case Read from Custom Property

I've got a SOAP UI Test Case and a defined custom property. The custom property gets loaded from a Groovy Script and this is working correctly. I can see the custom property value getting loaded. When I define this in ${TestCase#TestData} the REST Test Case isn't getting passed into the body of the REST request. 

2 Replies

  • JHunt's avatar
    JHunt
    Community Hero

    You're just missing a #

     

    ${#TestCase#TestData}
  • Take a look at your raw request tab to see what you are passing in your request. The value might not be a valid json format when it is getting passed to your request.