# How can I use dataset json file to run a request automatically?

**URL:** <https://community.postman.com/t/how-can-i-use-dataset-json-file-to-run-a-request-automatically/2457>\
**Category:** Help Hub\
**Tags:** monitors, collections, request\
**Created:** [August 21, 2018, 4:34am UTC](https://community.postman.com/t/how-can-i-use-dataset-json-file-to-run-a-request-automatically/2457 "2018-08-21T04:34:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.ngo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/c.ngo/32/861_2.png) [@c.ngo](https://community.postman.com/u/c.ngo)\
**Post date:** [August 21, 2018, 4:34am UTC](https://community.postman.com/t/how-can-i-use-dataset-json-file-to-run-a-request-automatically/2457/1 "2018-08-21T04:34:09Z")

</div>

I have a dataset for my request and it just run when I import manually in collection runner. How can I use my json file to run a request automatically?  
Ex: I have an authentication request with username and password. I try to test some cases for it like valid login and invalid login and define it in the json file. I would like running it every single day with monitor. How can I handle that case?

---

<div class="post-metadata">

**Author:** ![tkloeber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tkloeber/32/8884_2.png) [@tkloeber](https://community.postman.com/u/tkloeber)\
**Post date:** [September 10, 2018, 12:33pm UTC](https://community.postman.com/t/how-can-i-use-dataset-json-file-to-run-a-request-automatically/2457/2 "2018-09-10T12:33:41Z")

</div>

Did you look at Newman, [https://www.npmjs.com/package/newman#newman-options](https://www.npmjs.com/package/newman#newman-options)?  
That’s an CLI for your Postman collections.

All you need to do is

1. define a collection in Postman
2. test it and get it to work
3. export it and use Newman to run the exported collection.

In your particular case you can also use import files to import some valid/invalid usernames. (Works with Newman too ;)).

---

<div class="post-metadata">

**Author:** ![jaswinder97](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jaswinder97](https://community.postman.com/u/jaswinder97)\
**Post date:** [October 16, 2019, 2:12pm UTC](https://community.postman.com/t/how-can-i-use-dataset-json-file-to-run-a-request-automatically/2457/3 "2019-10-16T14:12:24Z")

</div>

@c.ngo did you find any solution in postman web account view?
