如何在邮递员集合中传递 csv 数据以便监视器可以选择它邮递员、监视器、可以选择、数据

2023-09-08 08:50:51 作者:20.傲气与我同生

我有一种情况,我在 csv 表中添加了我的测试数据.此外,我在 js 中创建了自动化测试,并且在 Collection Runner 时使用 csv 传递了这个 csv 数据.它在我本地的邮递员上工作得很好,但是当我在邮递员监视器上运行这些测试用例时(https://monitor.getpostman.com/) 这些测试用例失败了.肯定是因为 csv 文件不可用.有什么方法可以将我的 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?

推荐答案

很遗憾,目前还没有这样的功能.您可以将 csv 文件与收集运行一起使用,也可以直接通过 newman cli 工具使用,如 这里.

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.