Is running multiple requests in a postman script feasible? I have an endpoint:
http://localhost/gadgets/{id}/buy
This endpoint sets a flag in a gadget object/entry based on its id. With hundreds of gadgets, can I use a shared file of ids to create and run requests independently?
For more information, check out:
and
which don't seem to address this specific issue.
Edit:
data.json:
{
"gadget_ids":
[
"8f338a25-c52a-4c47-9d5f-69a6c48c24f2",
"32461687-530e-4730-86c4-00fa4c284cd9",
"913ab956-b89d-41a2-9c09-0a970e202440",
"55c30784-3ad1-4a4e-a781-51a6f0f2fa42"
],
"users_ids":
[
"4b1c6bc3-d44d-492b-8360-d5076913578b",
"db0722e7-3224-4db1-8a94-372ab462ae70",
"8d0f87f1-6697-4e08-8ddd-0e34e2015787",
"9d788283-87a9-4c38-8d48-30ddc1604058",
"8a86b353-df4c-40fd-a5a1-cfa5f27c41c4",
"a67485e5-fb13-4863-ab55-01fd58c2600f",
"3ab7211d-99e7-4cc6-a862-ac106c2a24de",
"378b2e77-7e18-4d75-b780-c9281b86c8ee",
"df1e35ca-37c5-4026-aa59-ebc02e348fdf",
"2e0aadab-efe2-42e5-9088-c0bb1c6c9631"
]
}
throws an error when importing, mentioning an unexpected array format due to lack of JSON structure specifications.