如何在邮递员集合中传递CSV数据,以便监视器可以选择它 [英] How to pass csv data in postman collection so monitor can pick it

查看:100
本文介绍了如何在邮递员集合中传递CSV数据,以便监视器可以选择它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一种情况,我已将测试数据添加到csv表中。此外,我已经在js中创建了自动化测试,并且在Collection Runner时将csv数据与csv一起传递。在我的本地邮递员上运行正常,但是当我在邮递员监视器上运行这些测试用例时( https://monitor.getpostman。 com / )这些测试用例都失败了。肯定是因为csv文件不可用。

I have a situation where I have added my testdata in csv sheet. Moreover, I have created automated tests in js and I am passing this csv data with csv at the time of Collection Runner. It is working fine with postman on my local but when I run these testcases on postman monitor(https://monitor.getpostman.com/) these testcases is failing. Surely because of csv file unavailability. Is there any way I can pass my csv to monitor mode?

推荐答案

不幸的是,目前没有这样的功能。您可以直接通过newman cli工具将csv文件用于收集运行,如此处

Unfortunately there is no such functionality in place right now. You can use csv files with collection runs and directly via the newman cli tool as described here.

您可以为此提交功能请求并查看当前产品路线图此处

You can file a feature request for this and look at the current product roadmap here.

这篇关于如何在邮递员集合中传递CSV数据,以便监视器可以选择它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆