GithubHelp home page GithubHelp logo

thixiaoxiao / autotestplat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from testdevhome/autotestplat

0.0 0.0 0.0 24.92 MB

一站式自动化测试平台及解决方案

License: GNU General Public License v3.0

JavaScript 31.41% Python 19.29% CSS 30.70% HTML 18.59% Batchfile 0.01%

autotestplat's Introduction

Autotestplat

一站式自动化测试平台及解决方案 Autotestplat-v5.2.2版本

功能介绍:
实现了接口自动化测试,产品/项目,用户,系统参数设置,接口测试用例,测试计划,定时任务,测试报告。
实现了实时接口性能测试,生成测试脚本,执行测试,测试报告。
实现了AppUI自动化设置,用例录入,单个用例运行,全部用例运行。
实现了WebUI自动化设置,用例录入,单个用例执行,全部用例执行。

部署指南: python3.6 django2.1.3 更高版本待后续更新...
1、下载和安装python 3.6、git、mysql、redis等安装包https://github.com/testdevhome/installPackage
2、git clone https://github.com/testdevhome/Autotestplat
3、cd Autotestplat 
4、pip install -r requirements.txt
5、创建和导入数据库
创建数据库名autotestplat,导入autotestplat.sql 修改数据库连接配置文件 Autotestplat/settings.py 77行 DATABASES 6、运行命令 python manage.py runserver 0.0.0.0:80 
7、运行命令 redis-server redis.conf
8、python manage.py celery worker -c 6 -l debug
9、python manage.py celery beat
10、访问 127.0.0.1/autotest/login

操作手册:
接口测试
第一步、设置用户,设置产品/项目,用户设置默认产品,也就是当前正在进入使用的产品。
第二步、在系统设置中设置参数,环境设置即设置host地址,常量即设置固定值作为参数,变量可以是时间戳,随机数字、字符等。
第三步、在接口用例中进行接口用例录入调试,设置断言,通过正则表达式设置关联参数,执行;在接口中通过{关键字}设置参数。
第四步、在测试计划中选择接口用例,定时设置,勾选用例调试。
第五步、在测试报告中查看测试记录,报告的详情数据。
性能测试
第一步、选择接口,输入并发数,持续压测时间,点击生成jmeter脚本。
第二步、点击测试开始。
第三步、点击查看结果。
AppUI测试
第一步、系统设置App设置。
第二步、启动weditor,连接手机,抓取App元素控件,录入用例。
第三步、执行,查看用例结果。
WebUI测试
第一步、系统设置Web设置。
第二步、安装谷歌浏览器版本100.0.4896.75 (正式版本) (32 位)。
第三步、执行,查看用例结果。

image image image image image image image image image image

欢迎关注我们的微信公众号,请扫一扫如下图:

image

autotestplat's People

Contributors

testdevhome avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.