# FXTest **Repository Path**: nemo1122/FXTest ## Basic Information - **Project Name**: FXTest - **Description**: 接口自动化测试平台——python+flask版,支持http协议,java 版本开发完毕https://github.com/liwanlei/plan - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FXTest测试平台 ### flask + Python3.6 实现的API自动化测试平台。 ### 下面有介绍python flask部署相关的文章链接。为自己部署的记录文章 ### 前后端开始进行分离,通过接口进行交互 ---------------- # 敬告各位:本处代码开源后,版权归属本人所有,禁止利用本项目作为出去面试,后果自负。 ## 后续会基于python3.6+版本去维护平台。 ---------------- ### flask +gevent+nginx+Gunicorn+supervisor部署flask应用请用flaskapi_su.conf,用gunicorn部署应用,因为在使用uwsgi部署会影响定时任务的执行 ### supervisor配置可见super.conf文件。 ### 钉钉群发送多用例测试任务的执行情况的时候,需要在config.py里面进行配置钉钉群自定义机器人webhook,目前体验服没有钉钉配置 ### 定时任务模块定时任务测试完毕会按照config.py设置的钉钉群自定义机器人的配置进行发送通知的,当定时任务完成后,配置钉钉群会默认接受到一条钉钉机器人消息,显示定时任务的完成情况。 ### 定时任务现在依赖与redis做持久化,如果有报redis错误,请安装redis服务。 ---------------- ## 4.1版本更新(待更新) ### 1.开发注册入口(config可配置检验邮箱的格式后缀,对工号进行校验,一个工号只能注册一次,旧用户管理员管理用户处激活,开发完毕) ### 2.注册后邮件通知注册成功,将密码等附上(可不选择,将代码注释掉,开发完毕) ### 3.记录用户登录信息(ip+登录时间),密码输入5次锁定10分钟 (redis存储,开发完毕) ## [其他版本更新日志](https://github.com/liwanlei/FXTest/blob/master/versions.md) # 有问题可以联系我,可增加定制开发:QQ或者微信:952943386 [java版本基于springboot开发](https://github.com/liwanlei/plan),和基于微服务开发已经完毕,需要源码私聊 # Email:leileili126@163.com qq群:194704520 python测试开发群:683894834 # 个人公众号 ![Alt text](https://github.com/liwanlei/jiekou-python3/blob/master/img/weixin.png) # flask部署相关文章:http://www.cnblogs.com/leiziv5/p/7137277.html # http://www.cnblogs.com/leiziv5/p/8807135.html # 友情推荐本人其他开源代码: ## 1.python app自动化测试平台版本:https://github.com/liwanlei/UFATestPlan ## 2.python+flask 做后台,实现微信小程序:https://github.com/liwanlei/webchat_app ## 3.python接口测试非平台版本:https://github.com/liwanlei/FXTest ## 4.java开发自动化测试平台:https://github.com/liwanlei/plan # 微信打赏 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/weixin.png) ---------------- ## 效果图如下: ### 目录: ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/项目目录.png) ### 新目录: ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/最新优化后项目结构.png) ### 效果图: #### 用户登录 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/denglu.png) #### 首页 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/首页.png) #### 项目界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E9%A1%B9%E7%9B%AE.png) #### 测试环境界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/v3.0ceshihuanj.png) #### 模块界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E8%8E%AB%E5%B0%85.png) #### 接口界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/接口.png) #### 接口参数界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E6%8E%A5%E5%8F%A3%E5%8F%82%E6%95%B0%E8%AF%A6%E6%83%85.png) #### 接口参数添加界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E6%B7%BB%E5%8A%A0%E6%8E%A5%E5%8F%A3%E5%8F%82%E6%95%B0.png) #### 接口参数编辑界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E7%BC%96%E8%BE%91%E6%8E%A5%E5%8F%A3%E5%8F%82%E6%95%B0.png) #### 测试用例界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E6%B5%8B%E8%AF%95%E7%94%A8%E4%BE%8B.png) #### 定时任务界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/v3.0dingshi.png) #### 定时任务编辑界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/v3.0dingshirenbianji%20.png) #### mockserver界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/v3.0macok.png) #### mockserver调试界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/mocktiaposhj0.png) #### mockserver添加界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/v3.0zengjia.png) #### 测试报告界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E6%B5%8B%E8%AF%95%E6%8A%A5%E5%91%8A.png) #### 用户管理界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E7%94%A8%E6%88%B7%E7%AE%A1%E7%90%86.png) #### 用户设置默认邮件界面 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/%E9%82%AE%E4%BB%B6%E8%AE%BE%E7%BD%AE.png) #### 测试报告下载后html格式的报告 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/ceshibaogao.png) #### 测试日志 ![Alt text](https://github.com/liwanlei/FXTest/blob/master/image/log.png)