Z01_自动化接口测试框架:HttpRunner 系列文章目录

自动化接口测试框架:HttpRunner 系列文章目录

 

Z01_自动化接口测试框架:HttpRunner 系列文章目录_第1张图片

 

 

接口测试方兴未艾,自动化接口测试又是其中的重要手段,在这个过程中,测试框架的引用是必不可少的,业内有不少成熟的自动化测试框架,本系列文章旨在学习和分享 HttpRunner 这个通用测试框架的使用,以及进行相应的案例分析。

 

为了方便进行检索,将相关文章及链接制作了一个目录,后期有时间随时进行更新。

 

 

A01_HttpRunner 介绍

https://blog.csdn.net/weixin_42007999/article/details/105579700

A02_安装HttpRunner

https://blog.csdn.net/weixin_42007999/article/details/105579851

A03_一个简单的接口案例说明

https://blog.csdn.net/weixin_42007999/article/details/105580202

A04_开始于一个简单的测试用例

https://blog.csdn.net/weixin_42007999/article/details/105580536

A05_再写一个 YAML 格式的测试用例

https://blog.csdn.net/weixin_42007999/article/details/105581904

A06_写一个针对 PM2.5 接口的测试用例

https://blog.csdn.net/weixin_42007999/article/details/105582439

A07_测试用例的格式验证

https://blog.csdn.net/weixin_42007999/article/details/105638708

 

B01_接口测试前置知识补充:请求提交类型

https://blog.csdn.net/weixin_42007999/article/details/105681674

B02_接口测试前置知识补充:POST请求之Content-Type

https://blog.csdn.net/weixin_42007999/article/details/105682091

B03_接口测试前置知识补充:cookie和session

https://blog.csdn.net/weixin_42007999/article/details/105682596

B04_接口测试前置知识补充:Token、JWT和OAuth2

https://blog.csdn.net/weixin_42007999/article/details/105682752

B05_接口测试前置知识补充:正则表达式

https://blog.csdn.net/weixin_42007999/article/details/105683013

B06_接口测试前置知识补充:HTTP响应状态码

https://blog.csdn.net/weixin_42007999/article/details/105683260

 

C01_HttpRunner测试框架文件编写规范:JSON文件规范引入

https://blog.csdn.net/weixin_42007999/article/details/105683859

C02_HttpRunner测试框架文件编写规范:testcase 测试用例编写规范

https://blog.csdn.net/weixin_42007999/article/details/105684212

C03_HttpRunner测试框架文件编写规范:request 请求规范

https://blog.csdn.net/weixin_42007999/article/details/105686384

C04_HttpRunner测试框架文件编写规范:config 配置规范

https://blog.csdn.net/weixin_42007999/article/details/105686576

C05_HttpRunner测试框架文件编写规范:api 接口文件规范

https://blog.csdn.net/weixin_42007999/article/details/105686759

C06_HttpRunner测试框架文件编写规范:suite 测试用例集合文件编写规范

https://blog.csdn.net/weixin_42007999/article/details/105686873

 

D01_用例中设置变量(variables)

https://blog.csdn.net/weixin_42007999/article/details/105717872

D02_用例中提取数据:extract 关键字简要说明

https://blog.csdn.net/weixin_42007999/article/details/105718124

D03_用例中提取数据:regex 正则方式

https://blog.csdn.net/weixin_42007999/article/details/105718240

D04_用例中提取数据:delimiter 界定符方式

https://blog.csdn.net/weixin_42007999/article/details/105718351

D05_用例中提取数据:delimiter 界定符方式源码解读

https://blog.csdn.net/weixin_42007999/article/details/105718462

D06_用例中提取数据:案例实践

https://blog.csdn.net/weixin_42007999/article/details/105718609

D07_用例中提取数据:elapsed 响应时间提取案例

https://blog.csdn.net/weixin_42007999/article/details/105718754

D08_用例中提取数据:headers 响应头提取案例

https://blog.csdn.net/weixin_42007999/article/details/105718900

D09_用例中提取数据:content 响应实体提取案例

https://blog.csdn.net/weixin_42007999/article/details/105718994

 

E01_HttpRunner断言:validate 总述

https://blog.csdn.net/weixin_42007999/article/details/105724237

E02_HttpRunner断言:断言类型列表

https://blog.csdn.net/weixin_42007999/article/details/105724379

E03_HttpRunner断言:比较器的名称

https://blog.csdn.net/weixin_42007999/article/details/105724520

E04_HttpRunner断言:可断言的响应属性

https://blog.csdn.net/weixin_42007999/article/details/105730752

 

F01_HttpRunner关联:关于 SessionID 问题

https://blog.csdn.net/weixin_42007999/article/details/105731026

F02_HttpRunner关联:提取固定名称方式的 SessionID

https://blog.csdn.net/weixin_42007999/article/details/105731134

F03_HttpRunner关联:通过正则提取 SessionID

https://blog.csdn.net/weixin_42007999/article/details/105731248

F04_HttpRunner关联:通过头域匹配方式提取 SessionID

https://blog.csdn.net/weixin_42007999/article/details/105731387

F05_HttpRunner关联:使用提取到的 SessionID

https://blog.csdn.net/weixin_42007999/article/details/105731550

 

G01_HttpRunner重定向:WordPress 登录抓包分析

https://blog.csdn.net/weixin_42007999/article/details/105732063

G02_HttpRunner重定向:WordPress 编写登录用例

https://blog.csdn.net/weixin_42007999/article/details/105732204

G03_HttpRunner重定向:WordPress 改写登录用例试错

https://blog.csdn.net/weixin_42007999/article/details/105732323

G04_HttpRunner重定向:WordPress 编写登录用例重定向解决方案

https://blog.csdn.net/weixin_42007999/article/details/105732406

 

H01_HttpRunner 重复执行用例指定步骤:times

https://blog.csdn.net/weixin_42007999/article/details/105732682

H02_HttpRunner 重复或跳过用例指定步骤:skip、skipIf、skipUnless

https://blog.csdn.net/weixin_42007999/article/details/105732880

 

I01_HttpRunner上传图片:抓包分析

https://blog.csdn.net/weixin_42007999/article/details/105733321

I02_HttpRunner上传图片:file-like-objects 方式

https://blog.csdn.net/weixin_42007999/article/details/105733461

I03_HttpRunner上传图片:file-tuple方式

https://blog.csdn.net/weixin_42007999/article/details/105733842

I04_HttpRunner上传图片:upload 方式

https://blog.csdn.net/weixin_42007999/article/details/105733932

 

J01_使用脚手架生成 HttpRunner 默认项目结构

https://blog.csdn.net/weixin_42007999/article/details/105767996

J02_HttpRunner自动化测试用例分层思想

https://blog.csdn.net/weixin_42007999/article/details/105768092

J03_在HttpRunner中定义独立的接口文件

https://blog.csdn.net/weixin_42007999/article/details/105768188

J04_在测试用例中调用独立接口文件

https://blog.csdn.net/weixin_42007999/article/details/105772336

J05_在测试用例中嵌套调用其他测试用例

https://blog.csdn.net/weixin_42007999/article/details/105772464

J06_在 HttpRunner 中通过“测试用例集合”组织多个用例的执行

https://blog.csdn.net/weixin_42007999/article/details/105772698

J07_优化一下测试用例集合

https://blog.csdn.net/weixin_42007999/article/details/105772925

J08_按 HttpRunner 推荐项目结构组织文件

https://blog.csdn.net/weixin_42007999/article/details/105773027

 

K01_HttpRunner参数化:参数化数据驱动概述

https://blog.csdn.net/weixin_42007999/article/details/105773548

K02_HttpRunner参数化:内置参数 + 独立参数 https://blog.csdn.net/weixin_42007999/article/details/105773645

K03_HttpRunner参数化:内置参数 + 组合参数(固定组合策略)

https://blog.csdn.net/weixin_42007999/article/details/105773709

K04_HttpRunner参数化:内置参数 + 组合参数(笛卡尔积式组合)

https://blog.csdn.net/weixin_42007999/article/details/105773780

K05_HttpRunner参数化:外置参数 + CSV文件 + 独立参数

https://blog.csdn.net/weixin_42007999/article/details/105773872

K06_HttpRunner参数化:外置参数 + CSV文件 + 组合参数(固定组合策略)

https://blog.csdn.net/weixin_42007999/article/details/105773957

K07_HttpRunner参数化:外置参数 + CSV文件 + 组合参数(笛卡尔积式组合)

https://blog.csdn.net/weixin_42007999/article/details/105785104

K08_HttpRunner参数化:函数动态生成测试数据 + 独立参数

https://blog.csdn.net/weixin_42007999/article/details/105785232

K09_HttpRunner参数化:函数动态生成测试数据 + 组合关联参数

https://blog.csdn.net/weixin_42007999/article/details/105785345

 

L01_HttpRunner的hook(钩子)机制:(setup/teardown)用例层面的调用

https://blog.csdn.net/weixin_42007999/article/details/105788094

L02_HttpRunner的hook(钩子)机制:(setup/teardown)用例步骤层面的调用

https://blog.csdn.net/weixin_42007999/article/details/105788146

L03_HttpRunner的hook(钩子)机制:(setup/teardown)对请求和响应内容进行预处理

https://blog.csdn.net/weixin_42007999/article/details/105788187

 

M01_cookie整理:提取指定某个名称的 cookie 值

https://mp.csdn.net/console/editor/html/105789498

M02_cookie整理:通过header提取所有 cookies 项

https://mp.csdn.net/console/editor/html/105789632

M03_HttpRunner中文乱码问题:悟空CRM 系统断言中文失败显示乱码分析

https://mp.csdn.net/console/editor/html/105789730

M04_HttpRunner中文乱码问题:悟空CRM 中文断言乱码问题处理

https://mp.csdn.net/console/editor/html/105789841

 

 

 

 

 

 

 

你可能感兴趣的:(接口自动化测试之,-,HttpRunner框架)