Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Arrays Postman Chrome:如何使用URL数组中的变量_Arrays_Rest_Api_Variables_Postman - Fatal编程技术网

Arrays Postman Chrome:如何使用URL数组中的变量

Arrays Postman Chrome:如何使用URL数组中的变量,arrays,rest,api,variables,postman,Arrays,Rest,Api,Variables,Postman,很抱歉打扰您,但我确实需要以下方面的帮助: 我正在对RESTAPI使用Postman Chrome扩展。 我的URI如下所示,请求类型为: PUT https://{{api fqdn}/some/path/to/something/ROLE111 我有大约100个不同名字的角色 如何使用Postman扫描数组并使用变量(如{rolename})替换数组中的所有值,而不是每次在URI的末尾传递不同的角色名 提前谢谢你 看看如何在Collection Runner中使用本机邮递员应用程序。您可以使

很抱歉打扰您,但我确实需要以下方面的帮助:

我正在对RESTAPI使用Postman Chrome扩展。 我的URI如下所示,请求类型为:

PUT https://{{api fqdn}/some/path/to/something/ROLE111

我有大约100个不同名字的角色

如何使用Postman扫描数组并使用变量(如{rolename})替换数组中的所有值,而不是每次在URI的末尾传递不同的角色名


提前谢谢你

看看如何在Collection Runner中使用本机邮递员应用程序。您可以使用不同的角色名创建一个数据文件(JSON或CSV),运行程序将用文件中的数据替换该变量占位符


这里可以找到更多的信息:

可以在JMIT中完成,你能考虑吗?不,我不能在这个场景中使用那个):但是谢谢你的建议,我会用它来做其他的事情。