功能比較 #
| Postman | Hoppscotch | Comment | |
|---|---|---|---|
| Runner | ✅ | ||
| Workspace | ✅ | ✅ | |
| Force Online | ✅ | *⚠️ | You can’t access workspace when you’re offline in Postman. *If using web browser, then yes, otherwise use the dedicated app. |
| Environment | ✅ | ✅ | |
| Collection | ✅ | ✅ | |
| Generate Script | ✅ | ✅ | |
| Console | ✅ | ||
| All Request Type | ✅ | ⚠️(No gRPC) | Not really an issue for me cuz I’m not using it. |
| Roles Management | ✅* | ✅ | *Not for free account, but for paid account. |
| Self-Hosted | ✅ | ||
| Mock Server | ✅ | This is used for mocking API response when backend not ready yet or when you’re offline | |
| Manual Set Cookie | ✅ | ||
| Secret Vault | ✅ | ||
| History | ✅ | ✅ | |
| Monitor* | ✅ | For checking performance, I think this would be useful. | |
| Flows* | ✅ | If you want to do some integration testing, then you might need this. | |
| Tests | ✅ | ✅ | Both are identical |
| App Resource Usage | A lot | Less | Compare in ram usage |
Postman #
- 功能豐富的 API 開發環境
- 支持各種 HTTP 請求方法
- 環境變數設定以全域及單獨設定區分
- 可以創建和運行自動化測試(Flow與Runner)
- 支持團隊協作和 API 文件生成
- 提供桌面應用和瀏覽器擴充功能
- 有免費版和付費版(訂閱制)
Hoppscotch #
前身為Postwoman,很明顯是參考Postman
- 輕量級、開源的 API 請求工具
- 基於網頁的界面,無需安裝 (網頁版必須連網,但官方也有提供可離線桌面版app)
- 支持常見的 HTTP 請求方法 (如上面比較表,缺少gRPC,但影響不大)
- 提供簡潔直觀的客戶端界面
- 環境變數以個人及workspace區分
- 可以匯入和匯出請求
- 完全免費使用
結論 #
相比之下Postman更像功能完善的IDE,而Hoppscotch更像是一個具有主要功能的工具
2024/11/13更新 Hoppscotch無法下載查詢結果,即Postman的Send and Download功能,這點對於部分下載檔案的API來說無法進行測試