Releases: httprunner/httprunner
Releases · httprunner/httprunner
v4.3.6
go version
plugin related:
- feat: add hrp executable directory for searching plugin
- feat: init device driver with plugin options,
WithDriverCapabilities
andWithDriverPlugin
- feat: support printing stderr output in myexec.RunCommand
- change: upgrade funplugin to 0.5.3
- refactor: move internal myexec to funplugin/myexec
- change: create python3 plugin venv with latest funppy/httprunner
UI related:
- feat: get current feed info from app event trackings
- feat: log feed screenshot take/cv elapsed time
- feat: support to reset driver (or session only) automatically when UIA2 / WDA crashed or WebDriver request failed
- feat:
tap_cv
action supports ui type detection and tap - feat: support action options for
ScreenShot
,WithScreenShotOCR
/WithScreenShotUpload
/WithScreenShotLiveType
/WithScreenShotUIType
- fix: add compatible support for indicating options separately at the
MobileAction
level - fix: use Override size if existed, otherwise use Physical size (android devices)
- fix: add default options for
swipe_to_tap_app
action - refactor: ui validation methods, support parsing expect value
- fix: reuse the same request body during
GetImage
retry - fix: iOS
tap_xy
scale adaption error - feat: support new action:
close_popups
- fix: swipeToTapTexts with identifiers/regex
others:
- change: log elapsed duration in milliseconds
- change: set log timestamp precise to milliseconds
v4.3.5
- refactor: send events to Google Analytics 4, replace GA v1
- fix: failure unittests caused by httpbin.org, replace with docker service
- fix: handle unstable unittests, restore github actions pipeline
go version
- feat: report GA4 events for hrp cmd
- change: create python venv with httprunner minimum version v4.3.5
- fix #1603: ensure path suffix '/' exists
python version
- fix: upgrade pyyaml from 5.4.1 to 6.0.1, fix installing error
- refactor: update httprunner dependencies
v4.3.4: Merge pull request #1629 from httprunner/ios-pcap
go version
- feat: add video crawler for feed and live
- feat: cache screenshot ocr texts
- feat: set testcase and request timeout in seconds
- feat: catch interrupt signal
- feat: add new exit code MobileUILaunchAppError/InterruptError/TimeoutError/MobileUIActivityNotMatchError/MobileUIPopupError/LoopActionNotFoundError
- feat: find text with regex
- feat: add UI ocr tags to summary
- feat: check android device offline when running shell failed
- feat: print hrp runner exit code when running finished
- feat: add screen resolution and step start time in summary
- refactor: replace OCR APIs with image APIs
- refactor: FindText(s) returns OCRText(s)
- refactor: merge ActionOption with DataOption
- change: exit with AndroidShellExecError code for adb shell failure
- change: request vedem ocr with uploading image
- change: remove ping/dns sub commands
v4.3.3
go version
- feat: add
sleep_random
to sleep random seconds, with weight for multiple time ranges - feat: input text with adb
- feat: add adb
screencap
sub command - feat: add
IsAppInForeground
to check if the given package is in foreground - feat: check if app is in foreground when step failed
- feat: add validator AssertAppInForeground and AssertAppNotInForeground
- feat: save screenshots of all steps including ocr and cv recognition process data
- fix: adb driver for TapFloat
- fix: stop logcat only when enabled
- fix: do not fail case when kill logcat error
- fix: take screenshot after each step
- fix: screencap compatibility for shell v1 and v2 protocol
- fix: display parsed url in html report
- fix: fast fail not closing the websocket connection
- fix #1467: failed to parse parameters with plugin functions
- fix #1549: avoid duplicate creating plugins
- fix #1547: generate html report failed for referenced testcases
- fix: setup hooks compatible with v3
v4.3.1
go version
- feat: add option WithScreenShot
- feat: run xctest before start ios automation
- feat: run step with specified loop times
- feat: add options for FindTexts
- feat: capture pcap file for iOS, including CLI
hrp ios pcap
and optionuixt.WithIOSPcapOptions(...)
- feat: add performance monitor for iOS, including CLI
hrp ios perf
and optionsuixt.WithIOSPerfOptions(...)
- refactor: move all UI APIs to uixt pkg
- docs: add examples for UI APIs
v4.3.0
Release hrp sub package uixt
to support iOS/Android UI automation testing 🎉
- feat: support iOS UI automation with WebDriverAgent and gwda
- feat: support Android UI automation with uiautomator2 and guia2
- feat: support UI recognition with OCR service and gwda-ext-opencv
For iOS/Android device management:
- feat: integrage ios device management with gidevice
- feat: integrage android device management with gadb
- feat: add simple commands to interact with iOS/Android devices, try
hrp ios
andhrp adb
Other improvements:
- feat: exit with specified code for different exceptions
- refactor: make uixt/gadb/gidevice/boomer/httpstat as hrp sub package
v4.2.0
- feat: support distributed load testing on multi-machines
- feat: support run/boom/convert curl command(s)
- feat: add ping/dns/traceroute/curl sub commands
- feat: improve builtin uploading feature, support
@
indicator and inferring MIME type - feat: hrp boom support setting duration of run time
- change: support omitting websocket url if not necessary
- change: support multiple websocket connections for each session
- fix: optimize websocket step initialization
- fix: reuse plugin instance if already initialized
- fix: deep copy api step to avoid data racing
v4.1.6
v4.1.5
go version
- feat: support setting global testcase timeout and step timeout
- feat: support uploading file by multipart/form-data
- change: set http request timeout default to 120s
- fix: insert response cookies into request for redirect requests
- fix: support log debug level for load testing
- fix: failed to load json/data content in api reference
- fix: failed to convert postman collection containing multipart/form-data requests to pytest
- fix: only get the first parameter in referenced testcase
- fix: support variable reference during extraction
- fix: simplify jmespath compatibility conversion
- refactor: simplify testcase converter
python version
- fix: failed to parse variable referenced in upload
- refactor: make pytest testcases
Full Changelog: v4.1.4...v4.1.5
v4.1.4
go version
- feat: config pypi index url by setting environment
PYPI_INDEX_URL
- fix: filter commented out functions when generating plugin file
- fix: failed to use parameters in referenced testcase
- fix: failed to run testcase if python3 is not available on windows
- fix: panic occurred when running API step failed
- fix: step name overrides referenced testcase name
python version
- feat: support skip for pytest
- feat: print request and response details in DEBUG level when running API cases
- fix: support None/dict/list format when printing sql response
- fix: omit pseudo header names for HTTP/1, e.g. :authority, :method, :path, :schema
Full Changelog: v4.1.3...v4.1.4