tahitimoon / lunarlink Goto Github PK
View Code? Open in Web Editor NEW一个基于 HttpRunner + Django + Vue + Element UI 的接口自动化测试平台,生产可用。
Home Page: https://lunar-link-docs.fun
License: MIT License
一个基于 HttpRunner + Django + Vue + Element UI 的接口自动化测试平台,生产可用。
Home Page: https://lunar-link-docs.fun
License: MIT License
作者是否考虑增加gRPC类型的接口协议?
1.一个全新的平台,无论是使用swagger 接口导入还是使用yapi 导入, 导入的都只是接口, 由单接口而需要产生的测试用例并没有, 光导入了接口, 然后单接口的测试用例还是要自己一个个的拖拉拽去生成, 这一步的操作反而更浪费时间
2.另外默认的状态码校验这个是否支持全局配置 配置,举例,系统只要接口通了 http码就是200 ,但是实际可能是根据响应的data 里面的code 去判断是否业务有异常
1里面的步骤暂时可能需要使用已有的系统添加的接口去写代码 先生成一波
2. 这个可能是要对导入yapi 时进行修改源代码进行校验的修改
使用rabbitmq 链接失败, 将celery 的后端broker 改成redis 的链接成功,redis 中也可以看到相关的信息,
INFO [pid:31004] [basehttp.py->log_message:161] "POST /api/lunarlink/yapi/1 HTTP/1.1" 200 149
2024-04-09 09:23:52,401 [none] django.server INFO [pid:31004] [basehttp.py->log_message:161] "OPTIONS /api/lunarlink/tree/1?type=1 HTTP/1.1" 200 0
2024-04-09 09:23:52,714 [d0795e6da284401991b3af8049b8185c] lunarlink.utils.decorator INFO [pid:31004] [decorator.py->inner_wrapper:32] before process request params:
{
"type": "1"
}
2024-04-09 09:23:52.715 | INFO | crud.crud_helper:get_or_create:43 - input get_or_create=Relation, filter_kwargs={'project_id': 1, 'type': 1}, defaults={'tree': [{'id': 1, 'label': '默认目录', 'children': []}], 'project_id': 1}
2024-04-09 09:23:52.750 | INFO | lunarlink.services.tree_service_impl:get_or_create:49 - tree exist project_id=1 type=1
2024-04-09 09:23:52,847 [d0795e6da284401991b3af8049b8185c] django.server INFO [pid:31004] [basehttp.py->log_message:161] "GET /api/lunarlink/tree/1?type=1 HTTP/1.1" 200 166
2024-04-09 09:23:52,423 INFO [pid:38720] [celery.worker.strategy strategy.py->task_message_handler:161] Task lunarlink.tasks.async_import_yapi_api[2e0dd4f2-ebbb-4dd9-a507-3afbc8f1b81f] received[2024-04-09 09:23:54,145: INFO/SpawnPoolWorker-27] child process 22544 calling self.run()
另外windows下rotation 写00:00 会报错 ,且需要加 enqueue=True
最后yapi 导入接口 还是没有
作者你好 是否考虑创建个群聊,大家可以一起沟通一下
django.setup()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/django/init.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/config.py", line 795, in dictConfig
dictConfigClass(config).configure()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/config.py", line 549, in configure
'filter %r: %s' % (name, e))
ValueError: Unable to configure filter 'request_id': Cannot resolve 'log_request_id.filters.RequestIDFilter': No module named 'log_request_id'
macdeMacBook-Pro-6:backend mac$
showdoc是和yapi类似的接口管理平台,目前项目中使用showdoc做文档管理,请问作者有计划接入showdoc的导入吗?
如果项目部署在服务器上,想要录制我浏览器上的请求需要怎么配置呢? ip填服务器的ip, 端口填7778 ? 本地录制还是远端呢? 本地还会启动一个vpn 用于访问内网私有域名
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.