mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-30 04:27:30 +08:00
1051 lines
33 KiB
HTML
1051 lines
33 KiB
HTML
|
|
|
|
|
|
<!doctype html>
|
|
<html lang="zh" class="no-js">
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<meta name="description" content="HttpRunner V3.x User Documentation">
|
|
|
|
|
|
|
|
<meta name="author" content="debugtalk">
|
|
|
|
<link rel="shortcut icon" href="../assets/images/favicon.png">
|
|
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-5.2.2">
|
|
|
|
|
|
|
|
<title>CHANGELOG - HttpRunner V3.x Docs</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../assets/stylesheets/main.a2408e81.min.css">
|
|
|
|
<link rel="stylesheet" href="../assets/stylesheets/palette.a46bcfb3.min.css">
|
|
|
|
|
|
|
|
|
|
<meta name="theme-color" content="#3f51b5">
|
|
|
|
|
|
|
|
|
|
|
|
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
|
|
<style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
|
|
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-114587036-3","auto"),ga("set","anonymizeIp",!0),ga("send","pageview"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}),document.addEventListener("DOMContentSwitch",function(){ga("send","pageview")})</script>
|
|
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="indigo" data-md-color-accent="indigo">
|
|
|
|
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
|
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
|
<label class="md-overlay" for="__drawer"></label>
|
|
<div data-md-component="skip">
|
|
|
|
|
|
<a href="#release-history" class="md-skip">
|
|
跳转至
|
|
</a>
|
|
|
|
</div>
|
|
<div data-md-component="announce">
|
|
|
|
</div>
|
|
|
|
<header class="md-header" data-md-component="header">
|
|
<nav class="md-header-nav md-grid" aria-label="Header">
|
|
<a href=".." title="HttpRunner V3.x Docs" class="md-header-nav__button md-logo" aria-label="HttpRunner V3.x Docs">
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
|
|
|
|
</a>
|
|
<label class="md-header-nav__button md-icon" for="__drawer">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
|
|
</label>
|
|
<div class="md-header-nav__title" data-md-component="header-title">
|
|
|
|
<div class="md-header-nav__ellipsis">
|
|
<span class="md-header-nav__topic md-ellipsis">
|
|
HttpRunner V3.x Docs
|
|
</span>
|
|
<span class="md-header-nav__topic md-ellipsis">
|
|
|
|
CHANGELOG
|
|
|
|
</span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<label class="md-header-nav__button md-icon" for="__search">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
|
</label>
|
|
|
|
<div class="md-search" data-md-component="search" role="dialog">
|
|
<label class="md-search__overlay" for="__search"></label>
|
|
<div class="md-search__inner" role="search">
|
|
<form class="md-search__form" name="search">
|
|
<input type="text" class="md-search__input" name="query" aria-label="搜索" placeholder="搜索" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
|
|
<label class="md-search__icon md-icon" for="__search">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
|
</label>
|
|
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
|
|
</button>
|
|
</form>
|
|
<div class="md-search__output">
|
|
<div class="md-search__scrollwrap" data-md-scrollfix>
|
|
<div class="md-search-result" data-md-component="search-result">
|
|
<div class="md-search-result__meta">
|
|
Initializing search
|
|
</div>
|
|
<ol class="md-search-result__list"></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="md-header-nav__source">
|
|
|
|
<a href="https://github.com/httprunner/httprunner" title="前往 GitHub 仓库" class="md-source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
HttpRunner
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</nav>
|
|
</header>
|
|
|
|
<div class="md-container" data-md-component="container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<main class="md-main" data-md-component="main">
|
|
<div class="md-main__inner md-grid">
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
|
<label class="md-nav__title" for="__drawer">
|
|
<a href=".." title="HttpRunner V3.x Docs" class="md-nav__button md-logo" aria-label="HttpRunner V3.x Docs">
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
|
|
|
|
</a>
|
|
HttpRunner V3.x Docs
|
|
</label>
|
|
|
|
<div class="md-nav__source">
|
|
|
|
<a href="https://github.com/httprunner/httprunner" title="前往 GitHub 仓库" class="md-source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
HttpRunner
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href=".." title="Introduction" class="md-nav__link">
|
|
Introduction
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../installation/" title="Installation" class="md-nav__link">
|
|
Installation
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-3" type="checkbox" id="nav-3">
|
|
|
|
<label class="md-nav__link" for="nav-3">
|
|
User Guide
|
|
<span class="md-nav__icon md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59 16.58L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42z"/></svg>
|
|
</span>
|
|
</label>
|
|
<nav class="md-nav" aria-label="User Guide" data-md-level="1">
|
|
<label class="md-nav__title" for="nav-3">
|
|
<span class="md-nav__icon md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
|
</span>
|
|
User Guide
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/concepts/" title="Concepts" class="md-nav__link">
|
|
Concepts
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/scaffold/" title="Scaffold" class="md-nav__link">
|
|
Scaffold
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/gen_tests/" title="Record & Generate testcase" class="md-nav__link">
|
|
Record & Generate testcase
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/write_testcase/" title="Write Testcase" class="md-nav__link">
|
|
Write Testcase
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/run_testcase/" title="Run Testcase" class="md-nav__link">
|
|
Run Testcase
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/testing_report/" title="Testing Report" class="md-nav__link">
|
|
Testing Report
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user/run_loadtest/" title="Run load test" class="md-nav__link">
|
|
Run load test
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../sponsors/" title="Sponsors" class="md-nav__link">
|
|
Sponsors
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--active">
|
|
|
|
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
CHANGELOG
|
|
<span class="md-nav__icon md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 9h14V7H3v2m0 4h14v-2H3v2m0 4h14v-2H3v2m16 0h2v-2h-2v2m0-10v2h2V7h-2m0 6h2v-2h-2v2z"/></svg>
|
|
</span>
|
|
</label>
|
|
|
|
<a href="./" title="CHANGELOG" class="md-nav__link md-nav__link--active">
|
|
CHANGELOG
|
|
</a>
|
|
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="目录">
|
|
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
|
</span>
|
|
目录
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#314-2020-07-30" class="md-nav__link">
|
|
3.1.4 (2020-07-30)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#313-2020-07-06" class="md-nav__link">
|
|
3.1.3 (2020-07-06)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#312-2020-06-29" class="md-nav__link">
|
|
3.1.2 (2020-06-29)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#311-2020-06-23" class="md-nav__link">
|
|
3.1.1 (2020-06-23)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#310-2020-06-21" class="md-nav__link">
|
|
3.1.0 (2020-06-21)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3013-2020-06-17" class="md-nav__link">
|
|
3.0.13 (2020-06-17)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3012-2020-06-14" class="md-nav__link">
|
|
3.0.12 (2020-06-14)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3011-2020-06-08" class="md-nav__link">
|
|
3.0.11 (2020-06-08)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3010-2020-06-07" class="md-nav__link">
|
|
3.0.10 (2020-06-07)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#309-2020-06-07" class="md-nav__link">
|
|
3.0.9 (2020-06-07)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#308-2020-06-04" class="md-nav__link">
|
|
3.0.8 (2020-06-04)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#307-2020-06-03" class="md-nav__link">
|
|
3.0.7 (2020-06-03)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#306-2020-05-29" class="md-nav__link">
|
|
3.0.6 (2020-05-29)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#305-2020-05-22" class="md-nav__link">
|
|
3.0.5 (2020-05-22)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#304-2020-05-19" class="md-nav__link">
|
|
3.0.4 (2020-05-19)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#303-2020-05-17" class="md-nav__link">
|
|
3.0.3 (2020-05-17)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#302-2020-05-16" class="md-nav__link">
|
|
3.0.2 (2020-05-16)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#301-2020-03-24" class="md-nav__link">
|
|
3.0.1 (2020-03-24)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#300-2020-03-10" class="md-nav__link">
|
|
3.0.0 (2020-03-10)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="目录">
|
|
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
|
</span>
|
|
目录
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#314-2020-07-30" class="md-nav__link">
|
|
3.1.4 (2020-07-30)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#313-2020-07-06" class="md-nav__link">
|
|
3.1.3 (2020-07-06)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#312-2020-06-29" class="md-nav__link">
|
|
3.1.2 (2020-06-29)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#311-2020-06-23" class="md-nav__link">
|
|
3.1.1 (2020-06-23)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#310-2020-06-21" class="md-nav__link">
|
|
3.1.0 (2020-06-21)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3013-2020-06-17" class="md-nav__link">
|
|
3.0.13 (2020-06-17)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3012-2020-06-14" class="md-nav__link">
|
|
3.0.12 (2020-06-14)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3011-2020-06-08" class="md-nav__link">
|
|
3.0.11 (2020-06-08)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#3010-2020-06-07" class="md-nav__link">
|
|
3.0.10 (2020-06-07)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#309-2020-06-07" class="md-nav__link">
|
|
3.0.9 (2020-06-07)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#308-2020-06-04" class="md-nav__link">
|
|
3.0.8 (2020-06-04)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#307-2020-06-03" class="md-nav__link">
|
|
3.0.7 (2020-06-03)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#306-2020-05-29" class="md-nav__link">
|
|
3.0.6 (2020-05-29)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#305-2020-05-22" class="md-nav__link">
|
|
3.0.5 (2020-05-22)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#304-2020-05-19" class="md-nav__link">
|
|
3.0.4 (2020-05-19)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#303-2020-05-17" class="md-nav__link">
|
|
3.0.3 (2020-05-17)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#302-2020-05-16" class="md-nav__link">
|
|
3.0.2 (2020-05-16)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#301-2020-03-24" class="md-nav__link">
|
|
3.0.1 (2020-03-24)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#300-2020-03-10" class="md-nav__link">
|
|
3.0.0 (2020-03-10)
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="md-content">
|
|
<article class="md-content__inner md-typeset">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h1 id="release-history">Release History<a class="headerlink" href="#release-history" title="Permanent link">¶</a></h1>
|
|
<h2 id="314-2020-07-30">3.1.4 (2020-07-30)<a class="headerlink" href="#314-2020-07-30" title="Permanent link">¶</a></h2>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: override variables strategy, step variables > extracted variables from previous steps</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: parameters feature with custom functions</li>
|
|
<li>fix: request json field with variable reference</li>
|
|
<li>fix: pickle BufferedReader TypeError in upload feature</li>
|
|
</ul>
|
|
<h2 id="313-2020-07-06">3.1.3 (2020-07-06)<a class="headerlink" href="#313-2020-07-06" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: implement <code>parameters</code> feature</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: validate with variable or function whose evaluation result is "" or not text</li>
|
|
<li>fix: raise TestCaseFormatError if teststep validate invalid</li>
|
|
<li>fix: raise TestCaseFormatError if ref testcase is invalid</li>
|
|
</ul>
|
|
<h2 id="312-2020-06-29">3.1.2 (2020-06-29)<a class="headerlink" href="#312-2020-06-29" title="Permanent link">¶</a></h2>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: missing setup/teardown hooks for referenced testcase</li>
|
|
<li>fix: compatibility for <code>black</code> on Android termux that does not support multiprocessing well</li>
|
|
<li>fix: mishandling of request header <code>Content-Length</code> for GET method</li>
|
|
<li>fix: validate with jmespath containing variable or function, e.g. <code>body.locations[$index].name</code></li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: import locust at beginning to monkey patch all modules</li>
|
|
<li>change: open file in binary mode</li>
|
|
</ul>
|
|
<h2 id="311-2020-06-23">3.1.1 (2020-06-23)<a class="headerlink" href="#311-2020-06-23" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: add optional message for assertion</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: ValueError when type_match None</li>
|
|
<li>fix: override referenced testcase export in teststep</li>
|
|
<li>fix: avoid duplicate import</li>
|
|
<li>fix: override locust weight</li>
|
|
</ul>
|
|
<h2 id="310-2020-06-21">3.1.0 (2020-06-21)<a class="headerlink" href="#310-2020-06-21" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: integrate <a href="https://locust.io/">locust</a> v1.0</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: make converted referenced pytest files always relative to ProjectRootDir</li>
|
|
<li>change: log function details when call function failed</li>
|
|
<li>change: do not raise error if failed to get client/server address info</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: path handling error when har2case har file and cwd != ProjectRootDir</li>
|
|
<li>fix: missing list type for request body</li>
|
|
</ul>
|
|
<h2 id="3013-2020-06-17">3.0.13 (2020-06-17)<a class="headerlink" href="#3013-2020-06-17" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: log client/server IP and port</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: avoid '.csv' been converted to '_csv'</li>
|
|
<li>fix: convert har to JSON format testcase</li>
|
|
<li>fix: missing ${var} handling in overriding config variables</li>
|
|
<li>fix: SyntaxError caused by quote in case of headers."Set-Cookie"</li>
|
|
<li>fix: FileExistsError when specified project name conflicts with existed file</li>
|
|
<li>fix: testcase path handling error when path startswith "./" or ".\"</li>
|
|
</ul>
|
|
<h2 id="3012-2020-06-14">3.0.12 (2020-06-14)<a class="headerlink" href="#3012-2020-06-14" title="Permanent link">¶</a></h2>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: compatibility with different path separators of Linux and Windows</li>
|
|
<li>fix: IndexError in ensure_file_path_valid when file_path=os.getcwd()</li>
|
|
<li>fix: ensure step referenced api, convert to v3 testcase</li>
|
|
<li>fix: several other compatibility issues</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: skip reporting sentry for errors occurred in debugtalk.py</li>
|
|
</ul>
|
|
<h2 id="3011-2020-06-08">3.0.11 (2020-06-08)<a class="headerlink" href="#3011-2020-06-08" title="Permanent link">¶</a></h2>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: override variables
|
|
(1) testcase: session variables > step variables > config variables
|
|
(2) testsuite: testcase variables > config variables
|
|
(3) testsuite testcase variables > testcase config variables</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: incorrect summary success when testcase failed</li>
|
|
<li>fix: reload to refresh previously loaded debugtalk module</li>
|
|
<li>fix: escape $$ in variable value</li>
|
|
</ul>
|
|
<h2 id="3010-2020-06-07">3.0.10 (2020-06-07)<a class="headerlink" href="#3010-2020-06-07" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: implement step setup/teardown hooks</li>
|
|
<li>feat: support alter response in teardown hooks</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: ensure upload ready</li>
|
|
<li>fix: add ExtendJSONEncoder to safely dump json data with python object, such as MultipartEncoder</li>
|
|
</ul>
|
|
<h2 id="309-2020-06-07">3.0.9 (2020-06-07)<a class="headerlink" href="#309-2020-06-07" title="Permanent link">¶</a></h2>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: miss formatting referenced testcase</li>
|
|
<li>fix: handle cases when parent directory name includes dot/hyphen/space</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: add <code>export</code> keyword in TStep to export session variables from referenced testcase</li>
|
|
<li>change: rename TestCaseInOut field, config_vars and export_vars</li>
|
|
<li>change: rename StepData field, export_vars</li>
|
|
<li>change: add <code>--tb=short</code> for <code>hrun</code> command to use shorter traceback format by default</li>
|
|
<li>change: search debugtalk.py upward recursively until system root dir</li>
|
|
</ul>
|
|
<h2 id="308-2020-06-04">3.0.8 (2020-06-04)<a class="headerlink" href="#308-2020-06-04" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: add sentry sdk</li>
|
|
<li>feat: extract session variable from referenced testcase step</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: missing request json</li>
|
|
<li>fix: override testsuite/testcase config verify</li>
|
|
<li>fix: only strip whitespaces and tabs, \n\r are left because they maybe used in changeset</li>
|
|
<li>fix: log testcase duration before raise ValidationFailure</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: add httprunner version in generated pytest file</li>
|
|
</ul>
|
|
<h2 id="307-2020-06-03">3.0.7 (2020-06-03)<a class="headerlink" href="#307-2020-06-03" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: make pytest files in chain style</li>
|
|
<li>feat: <code>hrun</code> supports run pytest files</li>
|
|
<li>feat: get raw testcase model from pytest file</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: convert jmespath.search result to int/float unintentionally</li>
|
|
<li>fix: referenced testcase should not be run duplicately</li>
|
|
<li>fix: requests.cookies.CookieConflictError, multiple cookies with name</li>
|
|
<li>fix: missing exit code from pytest</li>
|
|
<li>fix: skip invalid testcase/testsuite yaml/json file</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: <code>har2case</code> generate pytest file by default</li>
|
|
<li>docs: update sponsor info</li>
|
|
</ul>
|
|
<h2 id="306-2020-05-29">3.0.6 (2020-05-29)<a class="headerlink" href="#306-2020-05-29" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: make referenced testcase as pytest class</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: ensure converted python file in utf-8 encoding</li>
|
|
<li>fix: duplicate running referenced testcase</li>
|
|
<li>fix: ensure compatibility issues between testcase format v2 and v3</li>
|
|
<li>fix: ensure compatibility with deprecated cli args in v2, include --failfast/--report-file/--save-tests</li>
|
|
<li>fix: UnicodeDecodeError when request body in protobuf</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: make <code>allure-pytest</code>, <code>requests-toolbelt</code>, <code>filetype</code> as optional dependencies</li>
|
|
<li>change: move all unittests to tests folder</li>
|
|
<li>change: save testcase log in PWD/logs/ directory</li>
|
|
</ul>
|
|
<h2 id="305-2020-05-22">3.0.5 (2020-05-22)<a class="headerlink" href="#305-2020-05-22" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: each testcase has an unique id in uuid4 format</li>
|
|
<li>feat: add default header <code>HRUN-Request-ID</code> for each testcase #721</li>
|
|
<li>feat: builtin allure report</li>
|
|
<li>feat: dump log for each testcase</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: ensure referenced testcase share the same session</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: remove default added <code>-s</code> option for hrun</li>
|
|
</ul>
|
|
<h2 id="304-2020-05-19">3.0.4 (2020-05-19)<a class="headerlink" href="#304-2020-05-19" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: make testsuite and run testsuite</li>
|
|
<li>feat: testcase/testsuite config support getting variables by function</li>
|
|
<li>feat: har2case with request cookies</li>
|
|
<li>feat: log request/response headers and body with indent</li>
|
|
</ul>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: extract response cookies</li>
|
|
<li>fix: handle errors when no valid testcases generated</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>change: har2case do not ignore request headers, except for header startswith :</li>
|
|
</ul>
|
|
<h2 id="303-2020-05-17">3.0.3 (2020-05-17)<a class="headerlink" href="#303-2020-05-17" title="Permanent link">¶</a></h2>
|
|
<p><strong>Fixed</strong></p>
|
|
<ul>
|
|
<li>fix: compatibility with testcase file path includes dots, space and minus sign</li>
|
|
<li>fix: testcase generator, validate content.xxx => body.xxx</li>
|
|
<li>fix: scaffold for v3</li>
|
|
</ul>
|
|
<h2 id="302-2020-05-16">3.0.2 (2020-05-16)<a class="headerlink" href="#302-2020-05-16" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: add <code>make</code> sub-command to generate python testcases from YAML/JSON </li>
|
|
<li>feat: format generated python testcases with <a href="https://github.com/psf/black"><code>black</code></a></li>
|
|
<li>test: add postman echo & httpbin as testcase examples</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>refactor all</li>
|
|
<li>replace jsonschema validation with pydantic</li>
|
|
<li>remove compatibility with testcase/testsuite format v1</li>
|
|
<li>replace unittest with pytest</li>
|
|
<li>remove builtin html report, allure will be used with pytest later</li>
|
|
<li>remove locust support temporarily</li>
|
|
<li>update command line interface</li>
|
|
</ul>
|
|
<h2 id="301-2020-03-24">3.0.1 (2020-03-24)<a class="headerlink" href="#301-2020-03-24" title="Permanent link">¶</a></h2>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>remove sentry sdk</li>
|
|
</ul>
|
|
<h2 id="300-2020-03-10">3.0.0 (2020-03-10)<a class="headerlink" href="#300-2020-03-10" title="Permanent link">¶</a></h2>
|
|
<p><strong>Added</strong></p>
|
|
<ul>
|
|
<li>feat: dump log for each testcase</li>
|
|
<li>feat: add default header <code>HRUN-Request-ID</code> for each testcase #721</li>
|
|
</ul>
|
|
<p><strong>Changed</strong></p>
|
|
<ul>
|
|
<li>remove support for Python 2.7</li>
|
|
<li>replace logging with <a href="https://github.com/Delgan/loguru">loguru</a></li>
|
|
<li>replace string format with f-string</li>
|
|
<li>remove dependency colorama and colorlog</li>
|
|
<li>generate reports/logs folder in current working directory</li>
|
|
<li>remove cli <code>--validate</code></li>
|
|
<li>remove cli <code>--pretty</code></li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
|
|
<footer class="md-footer">
|
|
|
|
<div class="md-footer-nav">
|
|
<nav class="md-footer-nav__inner md-grid" aria-label="Footer">
|
|
|
|
<a href="../sponsors/" title="Sponsors" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
|
<div class="md-footer-nav__button md-icon">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
|
</div>
|
|
<div class="md-footer-nav__title">
|
|
<div class="md-ellipsis">
|
|
<span class="md-footer-nav__direction">
|
|
上一页
|
|
</span>
|
|
Sponsors
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="md-footer-meta md-typeset">
|
|
<div class="md-footer-meta__inner md-grid">
|
|
<div class="md-footer-copyright">
|
|
|
|
<div class="md-footer-copyright__highlight">
|
|
Copyright © 2017 - 2020 debugtalk
|
|
</div>
|
|
|
|
Made with
|
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
|
Material for MkDocs
|
|
</a>
|
|
</div>
|
|
|
|
<div class="md-footer-social">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://debugtalk.com" target="_blank" rel="noopener" title="debugtalk.com" class="md-footer-social__link">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://github.com/httprunner" target="_blank" rel="noopener" title="github.com" class="md-footer-social__link">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 512"><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<script src="../assets/javascripts/vendor.d710d30a.min.js"></script>
|
|
<script src="../assets/javascripts/bundle.5f27aba8.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "\u590d\u5236", "clipboard.copied": "\u5df2\u590d\u5236", "search.config.lang": "ja", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\uff0c\\u3002]+", "search.result.placeholder": "\u952e\u5165\u4ee5\u5f00\u59cb\u641c\u7d22", "search.result.none": "\u6ca1\u6709\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.one": "\u627e\u5230 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.other": "# \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c"}</script>
|
|
|
|
<script>
|
|
app = initialize({
|
|
base: "..",
|
|
features: [],
|
|
search: Object.assign({
|
|
worker: "../assets/javascripts/worker/search.27c6a5e6.min.js"
|
|
}, typeof search !== "undefined" && search)
|
|
})
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html> |