# Tests for negative test data

**URL:** <https://community.postman.com/t/tests-for-negative-test-data/37499>\
**Category:** Help Hub\
**Created:** [July 23, 2022, 4:27pm UTC](https://community.postman.com/t/tests-for-negative-test-data/37499 "2022-07-23T16:27:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sindhu-ivaturi](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@sindhu-ivaturi](https://community.postman.com/u/sindhu-ivaturi)\
**Post date:** [July 23, 2022, 4:27pm UTC](https://community.postman.com/t/tests-for-negative-test-data/37499/1 "2022-07-23T16:27:41Z")

</div>

Hi,  
I am using one csv file where positive test data and negative test data is present for the same request. Then how would I write the two different validations?

---

<div class="post-metadata">

**Author:** ![archerZ](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@archerZ](https://community.postman.com/u/archerZ)\
**Post date:** [July 26, 2022, 1:51pm UTC](https://community.postman.com/t/tests-for-negative-test-data/37499/2 "2022-07-26T13:51:56Z")

</div>

Hi @sindhu-ivaturi

you could add an additional field to the csv file to indicate positive and negative test cases. Then within the test have an if statement to direct to the correct path.

---

<div class="post-metadata">

**Author:** ![sseenivasan89](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sseenivasan89/32/8350_2.png) [@sseenivasan89](https://community.postman.com/u/sseenivasan89)\
**Post date:** [July 28, 2022, 7:17am UTC](https://community.postman.com/t/tests-for-negative-test-data/37499/3 "2022-07-28T07:17:14Z")

</div>

Hi @sindhu-ivaturi

have some indicator for positive and negative test cases, based on the test you can do the validation
