All Projects → liwanlei → Jiekou Python3

liwanlei / Jiekou Python3

接口自动化测试框架——python版,支持HTTP,dubbo协议接口

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Jiekou Python3

Requestium
Integration layer between Requests and Selenium for automation of web actions.
Stars: ✭ 1,618 (+245.73%)
Mutual labels:  requests, interface
Opensourcetest
OpenSourceTest由自动化测试-夜行者社区维护,提供的是更多地灵活性和可配置性
Stars: ✭ 37 (-92.09%)
Mutual labels:  requests, interface
Node Elgato Stream Deck
A Node.js library for interfacing with the Elgato Stream Deck.
Stars: ✭ 359 (-23.29%)
Mutual labels:  interface
Open Stage Control
Libre and modular OSC / MIDI controller
Stars: ✭ 436 (-6.84%)
Mutual labels:  interface
Requests Respectful
Minimalist Requests wrapper to work within rate limits of any amount of services simultaneously. Parallel processing friendly.
Stars: ✭ 417 (-10.9%)
Mutual labels:  requests
Requests Threads
🎭 Twisted Deferred Thread backend for Requests.
Stars: ✭ 366 (-21.79%)
Mutual labels:  requests
Httmock
A mocking library for requests
Stars: ✭ 421 (-10.04%)
Mutual labels:  requests
Cpr
C++ Requests: Curl for People, a spiritual port of Python Requests.
Stars: ✭ 4,200 (+797.44%)
Mutual labels:  requests
Sppermissions
Ask permissions with ready-use interface. You can check status permission and if it has been requested before. Support SwiftUI.
Stars: ✭ 4,701 (+904.49%)
Mutual labels:  interface
Drissionpage
A module that integrates selenium and requests session, encapsulates common page operations, can achieve seamless switching between the two modes.
Stars: ✭ 409 (-12.61%)
Mutual labels:  requests
Scirius
Scirius is a web application for Suricata ruleset management.
Stars: ✭ 435 (-7.05%)
Mutual labels:  interface
Khttp
Kotlin HTTP requests library. Similar to Python requests.
Stars: ✭ 410 (-12.39%)
Mutual labels:  requests
Mechanicalsoup
A Python library for automating interaction with websites.
Stars: ✭ 3,863 (+725.43%)
Mutual labels:  requests
Promptui
Interactive prompt for command-line applications
Stars: ✭ 4,621 (+887.39%)
Mutual labels:  interface
C Cpp Notes
Notes about modern C++, C++11, C++14 and C++17, Boost Libraries, ABI, foreign function interface and reference cards.
Stars: ✭ 363 (-22.44%)
Mutual labels:  interface
Guzzle
Guzzle, an extensible PHP HTTP client
Stars: ✭ 21,384 (+4469.23%)
Mutual labels:  requests
Proxy requests
a class that uses scraped proxies to make http GET/POST requests (Python requests)
Stars: ✭ 357 (-23.72%)
Mutual labels:  requests
Many requests
Dead easy interface for executing many HTTP requests asynchronously. Also provides helper functions for executing embarrassingly parallel async coroutines.
Stars: ✭ 384 (-17.95%)
Mutual labels:  requests
Django Request
django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online etc.
Stars: ✭ 419 (-10.47%)
Mutual labels:  requests
Gowrap
GoWrap is a command line tool for generating decorators for Go interfaces
Stars: ✭ 464 (-0.85%)
Mutual labels:  interface

接口测试框架(基于json格式、http请求,python3,不兼容python2.x版本)

注:现在基于Excel文件管理测试用例基本实现,)

(目前在部分window上会出现FileNotFoundError [Errno 2] No such file or directory,这个bug是路径过长,解决方案为吧log日志放在当前目录,或者修改动态生成的文件的名字,给了第一种方式,测试日志放在当前目录)

qq交流群:194704520  

使用的库 requests,绝大部分是基于Python原有的库进行的,这样简单方便,

使用脚本参数分离等思想,尽可能降低代码的耦合度。

如果你不配置钉钉机器人,注释到机器人相关的代码

首先我们来看下我们的目录

Alt text

1.Case文件夹用来存放我们的测试用例相关的,

2.test_case用来存储我们的测试数据,Excel管理测试用例,yaml文件管理测试用例,后续要把yaml管理测试用例的也封装出来。

3.Interface对测试接口相关的封装,包括requests库,发送测试报告的email的封装,从Excel取测试数据的封装

4.Public 展示测试报告相关的脚本,这里可以自己封装,也可以使用现成的,我这里是基于我自己封装的,最后生成的测试报告更加易懂,出错可以尽快排查相关原因

5.report 存放测试报告,

6.run_excel_re.py/run_html.py 主运行文件。运行后可以生成相应的测试报告

欢迎大家关注我的公众号

Alt text

产生的html测试报告如下

Alt text

增加了Excel管理测试报告的功能,目前在继续优化功能,增加了config目录,一些配置文件的目录,

产生的Excel测试报告如下

Alt text Alt text

现在的测试结构更加完整,最新的一次提交增加了log日志的展示,使功能更加完善,log日志在控制台展示如下,对目录进行优化

Alt text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].