reqable-app icon indicating copy to clipboard operation
reqable-app copied to clipboard

[feature] 是否可以支持接口参数化

Open nwcrazysword opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. 实际使用过程中,跑一个接口时所有参数值放在一个csv文件中,目前没有功能支持将csv文件中的参数值循环替换入接口中,以达到自动批量验证接口的作用

Describe the solution you'd like 支持批量参数化

nwcrazysword avatar Sep 23 '24 03:09 nwcrazysword

@nwcrazysword 您好,感谢建议。跑一个接口时所有参数值放在一个csv文件中,请问这个csv文件能提供一个范例吗

MegatronKing avatar Sep 23 '24 04:09 MegatronKing

@nwcrazysword 您好,感谢建议。跑一个接口时所有参数值放在一个csv文件中,请问这个csv文件能提供一个范例吗

csv内容示例:

keyword,verify
HP(惠普),惠普
EPSON(爱普生),爱普生
Canon(佳能),佳能
Brother(兄弟),兄弟
Jolimark(映美),映美

预期: 接口请求时,可以通过变量 <<keyword>> 逐次迭代进去

nwcrazysword avatar Sep 23 '24 06:09 nwcrazysword

感谢,我大概理解了。现在有其他工具支持吗,我想研究下。

MegatronKing avatar Sep 23 '24 06:09 MegatronKing

感谢,我大概理解了。现在有其他工具支持吗,我想研究下。

Postman集合里面的runner ,可以实现类似功能

nwcrazysword avatar Sep 23 '24 08:09 nwcrazysword

这个功能有计划支持吗?需要类似postman的run功能

abclint avatar Dec 10 '25 05:12 abclint