# Newman - how to add and send multiple files stored in GitLab by newman

**URL:** <https://community.postman.com/t/newman-how-to-add-and-send-multiple-files-stored-in-gitlab-by-newman/28844>\
**Category:** Help Hub\
**Tags:** newman-project, collections, form-data, gitlab\
**Created:** [October 18, 2021, 7:11pm UTC](https://community.postman.com/t/newman-how-to-add-and-send-multiple-files-stored-in-gitlab-by-newman/28844 "2021-10-18T19:11:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romanjelinek](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@romanjelinek](https://community.postman.com/u/romanjelinek)\
**Post date:** [October 18, 2021, 7:11pm UTC](https://community.postman.com/t/newman-how-to-add-and-send-multiple-files-stored-in-gitlab-by-newman/28844/1 "2021-10-18T19:11:15Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi all,

I am here pretty new and I would like kindly ask you, everybody, for help with a problem that I solve in my project.

I already solved how to run collections via API key not only locally like this

> newman run "[https://api.getpostman.com/collections/](https://api.getpostman.com/collections/)\<collection\_id\>?apikey=\<my\_postman\_api\_key\>“ --environment “[https://api.getpostman.com/environments/](https://api.getpostman.com/environments/)\<environment\_id\>?apikey=\<my\_postman\_api\_key\>” –

but the problem is that files are not uploaded during tests running  
as you can see in the screen

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/8/817861a5b46583cfe95a4c134570e6e8dc5e0fbe.png)

I do not know how to get data to the requests to be uploaded.Both “Postman\_Sprints\_x.json” collection and data which I want to upload during request are send and the same level in GitLab.

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/f/fb16be225f68ee067159982ba23a6f95580fe0f5.png)

I have already tried to use e. parameters --folder but there must be also set path (at least relative). I do not if this would be a way?

There is an example of structure in my “Postman\_Sprints\_x.json” and there are different “src” in the json file

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/d/d83c3e8a2c5ba0f39bd0605ff20693640b572a25.png)

Is there any possibility how to share/upload the files from GitLab to be used in Newman always after checkout the GIT on the local drive? I would appreciate any advice or clue how to solve.

The goal is to run the collection from any place or via eg. from Teamcity.

Thanks for your Help

Roman
