Obtain Property Values of the Specific Row
I am using a DataSource connecting to a Database. We have a call that pulls back the history on specific records. Because there are many to one records that get pulled back in our API, I am needing to be able to identify in my Assertion which record I want Ready API to look at.
I found an article that appears to be what I am needing, however I'm having a difficult time understanding where to apply this. Everywhere I try to implement it, it fails.
I am using the response from my test case to apply my assertions (using Content as my assertion). Since the API pulled back multiple records for the call, I need to be able to have the first record applied to my assertion; however, it fails because Ready API isn't looking at the first record. I thought I would be able to apply (${DataSource_CaseHistory#bknCaseHistoryID:00} as my content and it would look at the first row; however it does not.
Can anyone tell me how and where I can identifying the row I want my assertion to be looking at?