External library in Postman(Postman 中的外部库)
问题描述
我想将 linq.js 用于我的断言.有没有办法在 Postman 中包含一个外部库?
I want to use linq.js for my assertions. Is there a way to include an external library in Postman?
推荐答案
不,linq.js
或 Postman Sandbox 不能在 Postman 中使用(默认情况下,有一个变通方法).
No, linq.js
, or any library not available in the Postman Sandbox cannot be used in Postman (by default, there is a workaround).
实际上,如果你在请求中获取一个脚本并eval
它,你可以在Postman中使用它.此博客文章中给出了一个示例 - http://blog.getpostman.com/2015/09/29/writing-a-behaviour-driven-api-testing-environment-within-postman/
Actually, if you fetch a script in a request and eval
it, you can use it in Postman. An example is given in this blog post - http://blog.getpostman.com/2015/09/29/writing-a-behaviour-driven-api-testing-environment-within-postman/
这篇关于Postman 中的外部库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Postman 中的外部库


基础教程推荐
- fetch 是否支持原生多文件上传? 2022-01-01
- 原生拖动事件后如何获取 mouseup 事件? 2022-01-01
- 检查 HTML5 拖放文件类型 2022-01-01
- 在 contenteditable 中精确拖放 2022-01-01
- 如何添加到目前为止的天数? 2022-01-01
- Bokeh Div文本对齐 2022-01-01
- npm start 错误与 create-react-app 2022-01-01
- 即使用户允许,Gmail 也会隐藏外部电子邮件图片 2022-01-01
- Fabric JS绘制具有活动形状的多边形 2022-01-01
- Bootstrap 模态出现在背景下 2022-01-01