# Data Driven Testing - Assertion in CSV field

**URL:** <https://community.postman.com/t/data-driven-testing-assertion-in-csv-field/70994>\
**Category:** Help Hub\
**Tags:** responseassertion, csv-response\
**Created:** [November 8, 2024, 11:35am UTC](https://community.postman.com/t/data-driven-testing-assertion-in-csv-field/70994 "2024-11-08T11:35:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinodhayyavu57](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@vinodhayyavu57](https://community.postman.com/u/vinodhayyavu57)\
**Post date:** [November 8, 2024, 11:35am UTC](https://community.postman.com/t/data-driven-testing-assertion-in-csv-field/70994/1 "2024-11-08T11:35:47Z")

</div>

I am doing data driven testing with Postman. And i am updating the expected results in the csv data file itself along with the input data. For a particular field, among the total of 10 iterations 7 iterations have values and i have updated them and remaining 3 do not have any values so left it blank. But when we run the request it fails for the 3 iterations where the value is blank since the field itself not displayed in the response for those three iterations since there is no value of that field. What kind of approach can be done to have this validated in same request and expected results to be updated with same input csv file? Does anyone have solution of this?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 8, 2024, 11:36am UTC](https://community.postman.com/t/data-driven-testing-assertion-in-csv-field/70994/2 "2024-12-08T11:36:23Z")

</div>

Closed on December 8, 2024, 11:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
