# Hello,how to write null in csv for used in postman's Tests?

**URL:** <https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805>\
**Category:** Help Hub\
**Created:** [April 2, 2019, 3:25pm UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805 "2019-04-02T15:25:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tester20183450](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tester20183450](https://community.postman.com/u/tester20183450)\
**Post date:** [April 2, 2019, 3:25pm UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/1 "2019-04-02T15:25:57Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/2X/b/b81883475b05aec466d1b4e87da5a5d064447cbd.png)  
Now my null or “” or blank in csv is useless.  
It can’t assert with null.

---

<div class="post-metadata">

**Author:** ![tmccann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tmccann/32/3550_2.png) [@tmccann](https://community.postman.com/u/tmccann)\
**Post date:** [April 3, 2019, 11:41am UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/2 "2019-04-03T11:41:38Z")

</div>

Hello and welcome to the Postman community.

One quick question about this, are you looking to have the actual value of `null` in the data or are you just looking for it to be blank?

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [April 3, 2019, 11:58am UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/3 "2019-04-03T11:58:41Z")

</div>

Unfortunately it seem that Postman does not allow for null values to be used in .csv files anymore. There is a workaround that you might be able to use though.

You are able to upload data files in both csv and json format. I was able to verify that the json format does work for the null use case.

 ![Null%20value%20in%20file%20Upload](https://us1.discourse-cdn.com/getpostman/original/3X/2/e/2e903d0271721b44faf3f5c488ee73f3e313e9dd.png)

More information can be found at the below link.  
[https://learning.getpostman.com/docs/postman/collection\_runs/working\_with\_data\_files/](https://learning.getpostman.com/docs/postman/collection_runs/working_with_data_files/)

---

<div class="post-metadata">

**Author:** ![tester20183450](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tester20183450](https://community.postman.com/u/tester20183450)\
**Post date:** [April 3, 2019, 12:24pm UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/4 "2019-04-03T12:24:22Z")

</div>

Thanks~ But, I have a problem

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/e/8e01c61d9809c6e3b2181e1bb174ce7f39d1be09.png)

---

<div class="post-metadata">

**Author:** ![tester20183450](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tester20183450](https://community.postman.com/u/tester20183450)\
**Post date:** [April 3, 2019, 12:27pm UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/5 "2019-04-03T12:27:42Z")

</div>

I will use your method!

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [April 3, 2019, 12:39pm UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/6 "2019-04-03T12:39:30Z")

</div>

There is ANOTHER workaround I just found.

If you are set on using csv you can add an additional (unused) column/variable at the end and leave it blank.

You then can just leave a blank for any column you need to leave NULL.

 ![Null%20value%20in%20file%20Upload%20wokraround](https://us1.discourse-cdn.com/getpostman/original/3X/f/d/fd81aad37cabb00da15b02cecf99c08a2deffd82.png)

---

<div class="post-metadata">

**Author:** ![pete](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@pete](https://community.postman.com/u/pete)\
**Post date:** [April 17, 2020, 1:57am UTC](https://community.postman.com/t/hello-how-to-write-null-in-csv-for-used-in-postmans-tests/4805/7 "2020-04-17T01:57:51Z")

</div>

I have a column call description which is blank and the in the json file is states null. I did create a empty column, but no luck
