Open
Description
Hi,
I'm developping a postman collection for do a regression-test on my API.
I'm validating all my responses schemes with tv4.
I run some similar queries whose answers are usually very close. Therefore the validation schemes are the same.
How can I outsource my schemes in order to simplify my collection and simplify the corrections?
Best Regards,
Yann
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
shamasis commentedon Aug 30, 2019
Indeed we are considering an api to read files in away similar to how files are read for request body via a working directory.
BidyutJBorah commentedon Aug 12, 2020
Any updates on this feature?
deepayadav06 commentedon Sep 23, 2020
Hi @shamasis Any updates on this feature, We use GraphQL where we have lots of mutations and queries against which automated tests are written, But we are struggling at the moment to deal with last and complex data sets. Thanks
zekikaraca commentedon Oct 2, 2020
Any progress on this feature guys? An update would be great. I would love to be able to use this in Postman.
fionayang99 commentedon Oct 24, 2020
This will be a great feature to have, any updates?
sanster9292 commentedon Feb 12, 2021
Any updates on this issue??
froyo2 commentedon Feb 18, 2021
I need to calculate the file md5 before calling the api, so I really need this feature, any updates on this issue?
mrkprdo commentedon Feb 19, 2021
If this feature is going to be implemented, READ/WRITE External file, I'm going to devote my devops career to use Postman, till something will surpass its functionality.
But for now, sticking to native testing frameworks, currently using Rest-Assured.
Chris-Loughnane commentedon Feb 23, 2021
... why is this still not available? I have found posts from 5~6 years ago with people asking for it. I'm tired of generating JWT tokens in my CLI and then manually updating my postman environment. Let us access system environment variables or let us load from a file.
phalverson commentedon Feb 25, 2021
Waiting for this as well, I want to read AWS authorization credentials (key, secret, session token) from a local
.aws/credentials
file that changes very frequently (SSO timeouts), instead of constantly having to copy and paste values into workspace environment variables.jiteshk11 commentedon Mar 11, 2021
Waiting for this feature for long time now!!!!
shamasis commentedon Mar 16, 2021
Newman and Postman App shares the same core code. As such these become exponentially difficult to build.
direct access to OS environment variables seems something that will not fit the abstractions
reading files from a repository / specified folder is something we need to align on. This is already available in Postman app (not exactly the feature discussed in this thread, but the ability store file in a working directory and use it in file upload APIs) we need to adopt and perhaps extend the same.
I don't see these come together soon a bit of more groundwork is needed how external files fit into the whole API lifecycle.
Would love to continue this discussion around the bigger picture here and know more around what adds up.
rothrock commentedon May 5, 2021
Really need to read a local file.
Creedzy commentedon Jul 29, 2021
It's been 8 years since it was requested in another ticket. Just saying.
igorbljahhin commentedon Aug 4, 2021
I also would like to read local files in pre-request scripts. In our project we use postman/newman to upload website provisioning data to STAGE/PROD environments. At the moment we successfully uploading data from CSV files. Now I would like to upload text files also.
8 remaining items