httprunner源码解析

本文主要介绍了HttpRunner的主要特性,包括使用YAML或JSON定义测试用例,支持通过Charles生成HAR文件,利用jmespath进行JSON响应的提取和验证,以及与JMeter和Locust的集成进行性能测试。HttpRunner还提供了丰富的插件和漂亮的测试报告。此外,文章提到了HttpRunner的CLI命令与持续集成的完美结合。
摘要由CSDN通过智能技术生成

 

 

Key Features

  • Inherit all powerful features of requests, just have fun to handle HTTP(S) in human way.
  • Define testcase in YAML or JSON format, run with pytest in concise and elegant manner.
  • Record and generate testcases with HAR support.                                                                        --- 通过charles抓包工具可以生成HTTP Archive.har格式文件
  • Supports variables/extract/validate/hooks mechanisms to create extremely complex test scenarios.
  • With debugtalk.py plugin, any function can be used in any part of your testcase.
  • With jmespath, extract and validate json respon
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值