Comments (13)
我想通过yAPI去导入测试用例,我看通过yapi导入的时候都是忽略域名的,那默认都是使用设置里的host,请问跨域的如何进行上传,我试了一下没有成功。提示开启跨域代理,开启后提示非debug模式不允许使用服务器代理。
apijson.Log.DEBUG = true
https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/boot/DemoApplication.java#L93
https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/boot/DemoApplication.java#L93
from apiauto.
首页的快速上手就包含了私有化部署的文档
https://github.com/TommyLemon/APIAuto#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B
APIAuto 及 APIJSON 都是免费开源,且都用 Apache License 2.0 开源协议,对商用和非商用都很友好
from apiauto.
你好,非常感谢,我的理解APIAuto这个工具是针对当前正在开发的项目后端(可以配合APIJSON)使用的是吧,方便进行接口测试。
我想问一下这个工具是否可以针对已经开发好的不同的项目的接口(域名也不同)进行测试。
再次感谢 @TommyLemon
from apiauto.
只要是一个能访问的 HTTP/GRPC API 都可以,和项目、域名、是否正在开发等都无关,主页就提供了 百度、搜狗、抖音 的接口调用示例
from apiauto.
你提的问题很奇怪,提问题前麻烦先认真看下文档、体验一下功能谢谢
from apiauto.
我想通过yAPI去导入测试用例,我看通过yapi导入的时候都是忽略域名的,那默认都是使用设置里的host,请问跨域的如何进行上传,我试了一下没有成功。提示开启跨域代理,开启后提示非debug模式不允许使用服务器代理。
或者有更详细的通过yapi上传的文档或demo,多谢。 @TommyLemon
from apiauto.
另外需要把 YApi 的 Cookie 填到 APIAuto 请求头输入框
from apiauto.
您好,跨域的问题已经解决了,出现了一个新的问题就是我按照要求填写了请求头但是好像没有生效,一直提示要登录,同样的Cookie我在postman上使用是可以的
我使用的是APIJSONBoot 这个demo, 这个APIJSONBoot-MultiDataSource项目需要Java jdk11版本
from apiauto.
我还想问一下,从YAPI导入成功后,会保存到数据库中么,多谢 @TommyLemon
from apiauto.
您好,跨域的问题已经解决了,出现了一个新的问题就是我按照要求填写了请求头但是好像没有生效,一直提示要登录,同样的Cookie我在postman上使用是可以的
我使用的是APIJSONBoot 这个demo, 这个APIJSONBoot-MultiDataSource项目需要Java jdk11版本
除了 Cookie 还没有别的鉴权参数(请求头/URL query/Form 表单/JSON Body)?
或者 Cookie 过期也有问题,需要重新登录 YApi 并抓取 Cookie。
另外推荐 APIJSONBoot-MultiDataSource,代码最新,或者把 DemoController.delegate 相关代码同步到 APIJSONBoot
from apiauto.
我还想问一下,从YAPI导入成功后,会保存到数据库中么,多谢 @TommyLemon
会,除了本地保存的,其它都是存数据库的
from apiauto.
好的,我在试试,十分感谢
from apiauto.
@wuyou10206 如果 YApi 也是你们自己拿源码部署的,那把 YApi 的登录鉴权关掉就行了
from apiauto.
Related Issues (20)
- 【Xiaomi 小米】【500 强】 内网部署的飞书内部文档链接了 APIAuto
- 【AOMI 澳門網絡傳媒發展有限公司】澳覓 APP 官网链接了 APIAuto
- 能力不足,折腾一下午,也没有跑通 go 的 UnitAuto HOT 4
- APIAuto如何自动构造正确的请求参数,如何知道该参数的返回结果是否正确 HOT 1
- 首个 Python 零代码单元测试 unitauto-py 开源,UnitAuto Python 版
- 首个 Go 零代码单元测试 unitauto-go 1.1 发布,UnitAuto 的 Go 版
- 机器学习零代码单元测试平台 UnitAuto 2.9 新增 Go 版、Mock Java 复杂对象
- 机器学习零代码单元测试 UnitAuto 3 新增 Python&更新 Java, Go•优化算法
- 首个 Go 零代码单元测试 unitauto-go demo 开源,自带 .http 本地测试
- 首个 Python 零代码单元测试 unitauto-py 1.1 发布,覆盖率统计报告
- 机器学习零代码接口工具 APIAuto 3.1.5 华为也用・自动深度测试・各种方法・路径变量
- 【SHEIN】全球跨境电商巨头 SHEIN 内网链接了 APIAuto
- 【BONC 东方国信】百亿市值公司东方国信 CirroData 飞书官方文档链接了 SQLAuto
- 【FIT2CLOUD 飞致云】热门开源项目 DataEase 官网链接了 APIAuto
- 【Hutool】Java 热门开源项目 Hutool 官网链接了 APIAuto
- 【Tencent 腾讯】【500 强】微信开放社区官网链接了 UIGO
- 【RxDB】知名热门开源项目 RxDB 网站链接了 UnitAuto
- 零代码UI测试 HOT 3
- 【RunnerGo】北京北极狐信息科技 RunnerGo 官网链接了 UnitAuto
- 【JD 京东】【500 强】京东官方内网链接了 UIGO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiauto.