Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | < 14 hours ago | 1.6 kB | |
Release 4.1.0 source code.tar.gz | < 14 hours ago | 57.7 MB | |
Release 4.1.0 source code.zip | < 14 hours ago | 58.2 MB | |
Totals: 3 Items | 115.9 MB | 0 |
:rocket: Schemathesis 4.1 is out :rocket:
The main addition: Automatic Link Inference for Stateful Testing
Schemathesis now generates OpenAPI links by analyzing Location
headers from API responses.
How it works:
- Collects
Location
headers during earlier test phases (e.g.,POST /users → Location: /users/123
) - Generates parameter extraction rules (
userId
fromLocation
) - Enables automatic operation chaining in stateful phase (
POST /users → GET /users/{id} → PUT /users/{id}
)
This is a basic inference mechanism - more sophisticated heuristics for discovering operation relationships will be added in future releases.
Other notable changes:
:rocket: Added
--max-redirects
CLI & config file option. #712enabled
config file option to disable all test phases. #2951- Support PyPy3 on a best effort basis without running tests in CI due to long running time. #1079
:bug: Fixed
- Ignored
codec
for header generation. - Properly try to load schema as YAML if the
Content-Type
header is unknown.
:wrench: Changed
before_call
hooks now acceptkwargs
as a regular parameter instead of**kwargs
. There is a backward compatibility shim for existing hooks with**kwargs
signatures. The old calling convention will be removed in Schemathesis 5.0. #3028