# How to set variable to execute specific data from csv file

**URL:** <https://community.postman.com/t/how-to-set-variable-to-execute-specific-data-from-csv-file/38602>\
**Category:** Help Hub\
**Created:** [August 26, 2022, 9:46am UTC](https://community.postman.com/t/how-to-set-variable-to-execute-specific-data-from-csv-file/38602 "2022-08-26T09:46:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![payload-participant4](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@payload-participant4](https://community.postman.com/u/payload-participant4)\
**Post date:** [August 26, 2022, 9:46am UTC](https://community.postman.com/t/how-to-set-variable-to-execute-specific-data-from-csv-file/38602/1 "2022-08-26T09:46:43Z")

</div>

_My question_:  
I have a multi testcase in csv, in such a condition I just want to execute case 1 and 3 to do stress test.  
I know how to set variables in Postman to get data.  
but now I am facing I don’t want to test all case.  
I am thinking it is fine to use var to detect the row of the specific case, but I don’t know what is the iteration pointer through data?  
I found " postman.setNextRequest(“”);" but it is depend on request.
