iT邦幫忙

1

postman 腳本匯出後 如何到C#執行

請問 postman測試腳本匯出後要怎麼能在C#上去跑測試
抱歉!網路上搜尋了很久實在找不到相關作法所以到這邊來發問

呃,WebClient / TcpClient / HttpRequest ........
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

0
海綿寶寶
iT邦大神 1 級 ‧ 2021-03-19 16:16:18

網路上搜尋了很久

有找到這篇Postman 直接產生 C# code嗎?

q51477 iT邦新手 5 級 ‧ 2021-03-19 20:25:22 檢舉

有找到
因為我看到一篇文章 是Collection測試案例腳本匯出後用python跑
https://cloud.tencent.com/developer/article/1601231
想問問 C#是不是也有這種方法

0
echochio
iT邦高手 1 級 ‧ 2021-03-20 08:37:02

之前我也有這個問題
後來用 postman to curl
然後 curl 轉成你要的語言
上網google 很多轉換的
如 C#
https://curl.olsh.me/
如 python
https://curl.trillworks.com/

發現 curl 還真好用

我要發表回答

立即登入回答