Untitled
const list = [{ term: 'blockchain', profile: 'courses', urls: ['https://something/study/something', 'https://another.good.thing/'] }, { term: 'blockchain', profile: 'courses', urls: ['https://something/study/something', 'https://another.good.thing/'] }] let i=0 for (let search in list) { i++ postman.setEnvironmentVariable("term", search.term); postman.setEnvironmentVariable("profile", search.profile); if (i > 4) { break; } } ------ { "profile": "{{profile}}", "query": "{{term}}", }