Running as unit: rb-build-arm64_10-68975.service ==================================================================================== Sun Apr 27 15:15:01 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_arm64_10) on jenkins, called using "codethink04-arm64 codethink03-arm64" as arguments. Sun Apr 27 15:15:01 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-HkGDBxlS" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sun Apr 27 15:15:01 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink04-arm64.debian.net is marked as down. Sun Apr 27 15:15:01 UTC 2025 - checking via ssh if codethink04-arm64.debian.net is up. removed '/tmp/read-only-fs-test-IIXS23' Sun Apr 27 15:15:02 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink03-arm64.debian.net is marked as down. Sun Apr 27 15:15:02 UTC 2025 - checking via ssh if codethink03-arm64.debian.net is up. removed '/tmp/read-only-fs-test-oEuqiL' ok, let's check if golang-github-go-resty-resty is building anywhere yet… ok, golang-github-go-resty-resty is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of golang-github-go-resty-resty in unstable on arm64 on jenkins now. 1st build will be done on codethink04-arm64.debian.net. 2nd build will be done on codethink03-arm64.debian.net. ============================================================================= Sun Apr 27 15:15:09 UTC 2025 I: starting to build golang-github-go-resty-resty/unstable/arm64 on jenkins on '2025-04-27 15:15' Sun Apr 27 15:15:09 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_10/68975/console.log 1745766909 arm64 unstable golang-github-go-resty-resty Sun Apr 27 15:15:09 UTC 2025 I: Downloading source for unstable/golang-github-go-resty-resty=2.10.0-2 --2025-04-27 15:15:09-- http://deb.debian.org/debian/pool/main/g/golang-github-go-resty-resty/golang-github-go-resty-resty_2.10.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1742 (1.7K) [text/prs.lines.tag] Saving to: ‘golang-github-go-resty-resty_2.10.0-2.dsc’ 0K . 100% 244M=0s 2025-04-27 15:15:09 (244 MB/s) - ‘golang-github-go-resty-resty_2.10.0-2.dsc’ saved [1742/1742] --2025-04-27 15:15:09-- http://deb.debian.org/debian/pool/main/g/golang-github-go-resty-resty/golang-github-go-resty-resty_2.10.0-2.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1742 (1.7K) [text/prs.lines.tag] Saving to: ‘golang-github-go-resty-resty_2.10.0-2.dsc’ 0K . 100% 244M=0s 2025-04-27 15:15:09 (244 MB/s) - ‘golang-github-go-resty-resty_2.10.0-2.dsc’ saved [1742/1742] Sun Apr 27 15:15:09 UTC 2025 I: golang-github-go-resty-resty_2.10.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: golang-github-go-resty-resty Binary: golang-github-go-resty-resty-dev Architecture: all Version: 2.10.0-2 Maintainer: Debian Go Packaging Team Uploaders: Aloïs Micard Homepage: https://github.com/go-resty/resty Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper-compat (= 13), dh-golang Build-Depends-Indep: golang-any, golang-golang-x-net-dev, golang-golang-x-time-dev Package-List: golang-github-go-resty-resty-dev deb golang optional arch=all Checksums-Sha1: c5246dc8ea9b9b63612dde2d08ccf1c09b5fb6de 2661337 golang-github-go-resty-resty_2.10.0.orig.tar.gz 46af070903582c3a0c76ebca602bd8e55124fb69 3444 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz Checksums-Sha256: 21761984a368dc3ffb4144db8b7b4162d481b7c3e116e941e0cfaa900bac221b 2661337 golang-github-go-resty-resty_2.10.0.orig.tar.gz e22cc57c3f3c7f12f53a630f5fee73019e733ce080e8aba356d75d411e41412b 3444 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz Files: 21fe4d357d3c5d3e00eb0d473e34cdf6 2661337 golang-github-go-resty-resty_2.10.0.orig.tar.gz 015128bec4bf2701353704ec671781f3 3444 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz Go-Import-Path: github.com/go-resty/resty -----BEGIN PGP SIGNATURE----- iIoEARYKADIWIQR+lHTq7mkJOyB6t2Un3j1FEEiG7wUCaAv6FxQcc2FudGlhZ29A ZGViaWFuLm9yZwAKCRAn3j1FEEiG79XMAQD+Vbe8hqEHhOpNZXYMHiLpAUZaoinM HZ7hMTJqKcpxqwEA6Vgokr1Umyx/Z89GGJ4XJaYAwYKnaIiSLN8NRJyzRg0= =PW1P -----END PGP SIGNATURE----- Sun Apr 27 15:15:09 UTC 2025 I: Checking whether the package is not for us Sun Apr 27 15:15:09 UTC 2025 I: Starting 1st build on remote node codethink04-arm64.debian.net. Sun Apr 27 15:15:09 UTC 2025 I: Preparing to do remote build '1' on codethink04-arm64.debian.net. Sun Apr 27 15:15:09 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink04-arm64.debian.net is marked as down. Sun Apr 27 15:15:09 UTC 2025 - checking via ssh if codethink04-arm64.debian.net is up. removed '/tmp/read-only-fs-test-mCjSzQ' ==================================================================================== Sun Apr 27 15:15:11 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink04-arm64, called using "1 golang-github-go-resty-resty unstable /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08 2.10.0-2" as arguments. Sun Apr 27 15:15:11 UTC 2025 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-sbfYieaP" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sun Apr 27 15:15:11 UTC 2025 I: Downloading source for unstable/golang-github-go-resty-resty=2.10.0-2 Reading package lists... NOTICE: 'golang-github-go-resty-resty' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2667 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (dsc) [1742 B] Get:2 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (tar) [2661 kB] Get:3 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (diff) [3444 B] Fetched 2667 kB in 0s (5490 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'golang-github-go-resty-resty' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2667 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (dsc) [1742 B] Get:2 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (tar) [2661 kB] Get:3 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (diff) [3444 B] Fetched 2667 kB in 0s (5490 kB/s) Download complete and in download only mode ============================================================================= Building golang-github-go-resty-resty in unstable on arm64 on codethink04-arm64 now. Date: Sun Apr 27 16:15:11 BST 2025 Date UTC: Sun Apr 27 15:15:11 UTC 2025 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Sun Apr 27 03:15:12 -12 2025 I: pbuilder-time-stamp: 1745766912 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-go-resty-resty_2.10.0-2.dsc] I: copying [./golang-github-go-resty-resty_2.10.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.10.0-2.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./golang-github-go-resty-resty_2.10.0-2.dsc: unsupported subcommand dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.10.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0.orig.tar.gz dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Don-t-put-the-same-bytes.Buffer-into-sync.Pool-twice.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='8650213c6c3649b38f6325d7c56f4b75' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1887562' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_SorN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1 --logfile b1/build.log golang-github-go-resty-resty_2.10.0-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink04-arm64 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-golang-x-net-dev, golang-golang-x-time-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-time-dev; however: Package golang-golang-x-time-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} binutils-gold{a} binutils-gold-aarch64-linux-gnu{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.24-go{a} golang-1.24-src{a} golang-any{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-golang-x-time-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 65.7 MB of archives. After unpacking 369 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main arm64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian unstable/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB] Get: 4 http://deb.debian.org/debian unstable/main arm64 file arm64 1:5.46-5 [43.7 kB] Get: 5 http://deb.debian.org/debian unstable/main arm64 gettext-base arm64 0.23.1-2 [241 kB] Get: 6 http://deb.debian.org/debian unstable/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian unstable/main arm64 groff-base arm64 1.23.0-7 [1129 kB] Get: 8 http://deb.debian.org/debian unstable/main arm64 bsdextrautils arm64 2.41-4 [93.9 kB] Get: 9 http://deb.debian.org/debian unstable/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian unstable/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian unstable/main arm64 m4 arm64 1.4.19-8 [285 kB] Get: 12 http://deb.debian.org/debian unstable/main arm64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main arm64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main arm64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main arm64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main arm64 binutils-gold-aarch64-linux-gnu arm64 2.44-2 [1700 kB] Get: 17 http://deb.debian.org/debian unstable/main arm64 binutils-gold arm64 2.44-2 [202 kB] Get: 18 http://deb.debian.org/debian unstable/main arm64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 19 http://deb.debian.org/debian unstable/main arm64 libtool all 2.5.4-4 [539 kB] Get: 20 http://deb.debian.org/debian unstable/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 21 http://deb.debian.org/debian unstable/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 22 http://deb.debian.org/debian unstable/main arm64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 23 http://deb.debian.org/debian unstable/main arm64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 24 http://deb.debian.org/debian unstable/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 25 http://deb.debian.org/debian unstable/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 26 http://deb.debian.org/debian unstable/main arm64 libunistring5 arm64 1.3-2 [453 kB] Get: 27 http://deb.debian.org/debian unstable/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.4 [629 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 gettext arm64 0.23.1-2 [1611 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.24.2 [919 kB] Get: 32 http://deb.debian.org/debian unstable/main arm64 dh-golang all 1.63 [24.4 kB] Get: 33 http://deb.debian.org/debian unstable/main arm64 golang-1.24-src all 1.24.2-2 [21.2 MB] Get: 34 http://deb.debian.org/debian unstable/main arm64 golang-1.24-go arm64 1.24.2-2 [24.6 MB] Get: 35 http://deb.debian.org/debian unstable/main arm64 golang-src all 2:1.24~2 [5136 B] Get: 36 http://deb.debian.org/debian unstable/main arm64 golang-go arm64 2:1.24~2 [44.3 kB] Get: 37 http://deb.debian.org/debian unstable/main arm64 golang-any arm64 2:1.24~2 [5216 B] Get: 38 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-sys-dev all 0.22.0-1 [431 kB] Get: 39 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 40 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.22.0-1 [3995 kB] Get: 41 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] Get: 42 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] Get: 43 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] Fetched 65.7 MB in 0s (156 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_arm64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_arm64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_arm64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_arm64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-4_arm64.deb ... Unpacking bsdextrautils (2.41-4) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_arm64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package binutils-gold-aarch64-linux-gnu. Preparing to unpack .../15-binutils-gold-aarch64-linux-gnu_2.44-2_arm64.deb ... Unpacking binutils-gold-aarch64-linux-gnu (2.44-2) ... Selecting previously unselected package binutils-gold. Preparing to unpack .../16-binutils-gold_2.44-2_arm64.deb ... Unpacking binutils-gold (2.44-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../23-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:arm64. Preparing to unpack .../25-libunistring5_1.3-2_arm64.deb ... Unpacking libunistring5:arm64 (1.3-2) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.12.7+dfsg+really2.9.14-0.4_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.23.1-2_arm64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.63_all.deb ... Unpacking dh-golang (1.63) ... Selecting previously unselected package golang-1.24-src. Preparing to unpack .../32-golang-1.24-src_1.24.2-2_all.deb ... Unpacking golang-1.24-src (1.24.2-2) ... Selecting previously unselected package golang-1.24-go. Preparing to unpack .../33-golang-1.24-go_1.24.2-2_arm64.deb ... Unpacking golang-1.24-go (1.24.2-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../34-golang-src_2%3a1.24~2_all.deb ... Unpacking golang-src (2:1.24~2) ... Selecting previously unselected package golang-go:arm64. Preparing to unpack .../35-golang-go_2%3a1.24~2_arm64.deb ... Unpacking golang-go:arm64 (2:1.24~2) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../36-golang-any_2%3a1.24~2_arm64.deb ... Unpacking golang-any:arm64 (2:1.24~2) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../37-golang-golang-x-sys-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../38-golang-golang-x-term-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-term-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../39-golang-golang-x-text-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../40-golang-golang-x-crypto-dev_1%3a0.25.0-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.25.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../41-golang-golang-x-net-dev_1%3a0.27.0-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.27.0-1) ... Selecting previously unselected package golang-golang-x-time-dev. Preparing to unpack .../42-golang-golang-x-time-dev_0.5.0-1_all.deb ... Unpacking golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-1.24-src (1.24.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up bsdextrautils (2.41-4) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up golang-golang-x-sys-dev (0.22.0-1) ... Setting up libmagic1t64:arm64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up binutils-gold-aarch64-linux-gnu (2.44-2) ... Setting up golang-golang-x-term-dev (0.22.0-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:arm64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up golang-golang-x-text-dev (0.22.0-1) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up golang-golang-x-crypto-dev (1:0.25.0-1) ... Setting up golang-src (2:1.24~2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up binutils-gold (2.44-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.24-go (1.24.2-2) ... Setting up golang-golang-x-net-dev (1:0.27.0-1) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up golang-go:arm64 (2:1.24~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:arm64 (2:1.24~2) ... Setting up debhelper (13.24.2) ... Setting up dh-golang (1.63) ... Processing triggers for libc-bin (2.41-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.10.0-2_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Santiago Ruano Rincón dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/go-resty/resty internal/profilerecord internal/goos internal/goarch internal/godebugs internal/asan internal/unsafeheader internal/coverage/rtcov internal/goexperiment math/bits unicode/utf8 unicode cmp internal/runtime/math internal/abi internal/byteorder internal/itoa internal/msan internal/cpu internal/runtime/syscall crypto/internal/fips140/alias crypto/internal/boring/sig sync/atomic math crypto/internal/fips140deps/byteorder container/list internal/chacha8rand unicode/utf16 crypto/internal/fips140/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding log/internal internal/bytealg crypto/internal/fips140deps/cpu internal/runtime/atomic internal/runtime/sys internal/runtime/exithook internal/stringslite internal/race internal/runtime/maps internal/sync runtime internal/reflectlite sync iter crypto/subtle weak slices maps internal/bisect internal/testlog internal/singleflight unique runtime/cgo errors sort internal/godebug io strconv internal/oserror path math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage bytes strings syscall reflect crypto/internal/fips140deps/godebug hash math/rand crypto/internal/randutil net/netip hash/crc32 crypto vendor/golang.org/x/text/transform bufio crypto/internal/fips140 crypto/internal/impl net/http/internal/ascii regexp/syntax crypto/internal/fips140/sha256 crypto/tls/internal/fips140tls crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/sha3 crypto/internal/fips140/hmac crypto/internal/fips140hash crypto/internal/fips140/check crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/bigmod crypto/internal/fips140/tls12 crypto/internal/fips140/edwards25519/field crypto/internal/fips140/hkdf crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 time internal/syscall/unix internal/syscall/execenv crypto/internal/fips140/nistec internal/fmtsort encoding/binary internal/poll context io/fs internal/filepathlite embed vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 os encoding/pem fmt crypto/internal/sysrand net path/filepath crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa crypto/rc4 crypto/md5 compress/flate encoding/hex math/big net/url log encoding/json crypto/cipher encoding/xml vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable vendor/golang.org/x/text/unicode/bidi net/http/internal crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/sha256 crypto/sha512 crypto/aes compress/gzip crypto/ecdh crypto/hmac crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/rand crypto/elliptic crypto/internal/boring/bbig crypto/dsa encoding/asn1 crypto/ed25519 crypto/internal/hpke crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' # Test fails if there's http_proxy, for example Ubuntu's autopkgtest infrastructure. http_proxy="" dh_auto_test cd _build && go test -vet=off -v -p 12 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:42: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 17.072918ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.02s) === RUN TestClientAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthToken (0.02s) === RUN TestClientAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthScheme (0.02s) === RUN TestClientDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:100: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.153367ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestAuth (0.00s) === RUN TestClientDigestSession resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:120: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 844.526µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestSession (0.00s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 --- PASS: TestClientDigestErrors (0.01s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext client_test.go:162: Request sent at: 2025-04-27 15:16:13.77826502 +0000 UTC m=+0.067301824 client_test.go:163: Response Received at: 2025-04-27 15:16:13.778784064 +0000 UTC m=+0.067820828 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-11 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-12 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-13 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-14 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-15 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-16 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-17 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-18 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-19 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-20 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 --- PASS: TestClientRedirectPolicy (0.01s) === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test --- PASS: TestClientTimeout (6.02s) === RUN TestClientTimeoutWithinThreshold resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence --- PASS: TestClientTimeoutWithinThreshold (4.02s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy --- PASS: TestClientProxy (0.00s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate --- PASS: TestClientSetRootCertificate (0.00s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString --- PASS: TestClientSetRootCertificateFromString (0.00s) === RUN TestClientSetRootCertificateFromStringErrorTls --- PASS: TestClientSetRootCertificateFromStringErrorTls (0.00s) === RUN TestClientOnBeforeRequestModification resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 816.565µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === RUN TestClientSetHeaderVerbatim --- PASS: TestClientSetHeaderVerbatim (0.00s) === RUN TestClientSetTransport --- PASS: TestClientSetTransport (0.00s) === RUN TestClientSetScheme --- PASS: TestClientSetScheme (0.00s) === RUN TestClientSetCookieJar --- PASS: TestClientSetCookieJar (0.00s) === RUN TestClientOptions --- PASS: TestClientOptions (0.00s) === RUN TestContentLengthWhenBodyIsNil --- PASS: TestContentLengthWhenBodyIsNil (0.00s) === RUN TestClientPreRequestHook resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestClientPreRequestHook (0.00s) === RUN TestClientAllowsGetMethodPayload resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientAllowsGetMethodPayloadIoReader resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadIoReader (0.00s) === RUN TestClientAllowsGetMethodPayloadDisabled resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadDisabled (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest --- PASS: TestClientNewRequest (0.00s) === RUN TestClientSetJSONMarshaler --- PASS: TestClientSetJSONMarshaler (0.00s) === RUN TestClientSetJSONUnmarshaler --- PASS: TestClientSetJSONUnmarshaler (0.00s) === RUN TestClientSetXMLMarshaler --- PASS: TestClientSetXMLMarshaler (0.00s) === RUN TestClientSetXMLUnmarshaler --- PASS: TestClientSetXMLUnmarshaler (0.00s) === RUN TestDebugBodySizeLimit resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /no-content resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /json-invalid resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestDebugBodySizeLimit (0.00s) === RUN TestAutoGzip resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.55173ms resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: This is Gzip response testing resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-gziped-empty-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 757.646µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-no-gziped-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 147.001µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestAutoGzip (0.00s) === RUN TestLogCallbacks resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestLogCallbacks (0.01s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestNewWithLocalAddr (0.00s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === PAUSE TestClientOnResponseError/successful_request === RUN TestClientOnResponseError/http_status_error === PAUSE TestClientOnResponseError/http_status_error === RUN TestClientOnResponseError/before_request_error === PAUSE TestClientOnResponseError/before_request_error === RUN TestClientOnResponseError/before_request_error_retry === PAUSE TestClientOnResponseError/before_request_error_retry === RUN TestClientOnResponseError/after_response_error === PAUSE TestClientOnResponseError/after_response_error === RUN TestClientOnResponseError/after_response_error_retry === PAUSE TestClientOnResponseError/after_response_error_retry === RUN TestClientOnResponseError/panic_with_error === PAUSE TestClientOnResponseError/panic_with_error === RUN TestClientOnResponseError/panic_with_string === PAUSE TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError/before_request_error_retry === CONT TestClientOnResponseError/before_request_error === CONT TestClientOnResponseError/http_status_error === CONT TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/panic_with_error === NAME TestClientOnResponseError/http_status_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer BAD === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/successful_request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) --- PASS: TestClientOnResponseError/panic_with_string (0.00s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/panic_with_error (0.00s) --- PASS: TestClientOnResponseError/http_status_error (0.01s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/after_response_error (0.02s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.30s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.32s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 client_test.go:960: ts.URL: http://127.0.0.1:44321 client_test.go:961: targetURL.Host: 127.0.0.1:44321 client_test.go:989: with leading `/` on request & with trailing `/` on host url resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestHostURLForGH318AndGH407 (0.00s) === RUN TestPostRedirectWithBody client_test.go:1003: ts.URL: http://127.0.0.1:34561 client_test.go:1004: targetURL.Host: 127.0.0.1:34561 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=396191357379101777 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2067541956301078058 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3679396984656341136 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=658074143971762788 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1393505486654242122 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=798062929487392868 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5926241864631383410 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5868895797752399166 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4446109663169551294 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6956477986509621613 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2264982119645162452 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=633285045234972824 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7904491982497131019 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5957473736690203855 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8941573403906813490 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7288976916320425485 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=7430274040898061188 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3479597628517842353 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8578372839208651102 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1616774787023658718 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6473930696981186520 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=446628494984369299 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6765984202559259985 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6610837293948175002 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1336088578798754853 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=209832256646655100 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=113578549249867237 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1920251338437057110 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6226802004048226898 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8869334267342953047 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6306048680962973224 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=861420429771790951 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=50132798929173426 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2158390796969138506 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8317944101439311197 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5599298326911254029 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7593576111754205726 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3461567311776712555 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4016933937248900532 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8694798048794485244 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4378168135032507839 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8773300454930582435 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2890016089744137749 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4975787457816906411 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4746690748579886621 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8310971749390548560 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=292351143476911264 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=414852269187068020 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=188786449485758084 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6376566754620722343 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3890262622412661648 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3574375053445655687 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4327894383130266202 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2432099946552289003 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4441819505144520146 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4021741410835306522 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5266262145415415660 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7419248071276352983 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5814321679832893375 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8682189051157885877 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8430480808896188281 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=168647221860459157 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3582989345820218770 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5885230050904941542 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2463443488957357495 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: body=6148459472899869580 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8436462307697932168 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3331545608422871205 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7657408802854652312 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5570551805472411348 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5343601086735193282 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8304981677947683226 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1794055386838229720 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4465146765135380469 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1152859874068528060 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8277940506506666959 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=8616620334345168164 resty_test.go:246: RawQuery: body=2644972336194431305 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=3799403195785014767 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=957960518159534967 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2752290803907343062 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7639220948225289843 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=1548053314421277393 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3264707760890638850 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6511015008603332594 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1000523388903839779 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7426656973249143685 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5168736548357379174 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4816874699318755061 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=252201236346949006 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=659105455788616141 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=7650880531064556621 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2112499211509345020 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5760266950267927803 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7531592039770146259 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4702619645730315272 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6229579216194096264 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4467732290952566965 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4235903238958485075 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8036638964115142432 resty_test.go:247: Content-Type: text/plain; charset=utf-8 --- PASS: TestPostRedirectWithBody (0.13s) === RUN TestUnixSocket --- PASS: TestUnixSocket (0.00s) === RUN TestSetContext resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 658.604µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) === RUN TestSetContextWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 764.885µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestSetContextWithError (0.00s) === RUN TestSetContextCancel context_test.go:57: Server: GET / context_test.go:62: Server: wrote 30 bytes context_test.go:63: Server: err is context_test.go:82: Error: Get "http://127.0.0.1:37317/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is context_test.go:125: Error: Get "http://127.0.0.1:34953/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is context_test.go:168: Error: Get "http://127.0.0.1:43865/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / --- PASS: TestClientRetryWithSetContext (5.52s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL === RUN Test_parseRequestURL/apply_client_path_parameters === RUN Test_parseRequestURL/apply_request_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_path_parameters === RUN Test_parseRequestURL/apply_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_raw_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_path_and_raw_path_parameters === RUN Test_parseRequestURL/empty_path_parameter_in_URL === RUN Test_parseRequestURL/not_closed_path_parameter_in_URL === RUN Test_parseRequestURL/extra_path_parameter_in_URL === RUN Test_parseRequestURL/_path_parameter_with_remainder === RUN Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash === RUN Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL === RUN Test_parseRequestURL/request_URL_without_scheme === RUN Test_parseRequestURL/BaseURL_without_scheme === RUN Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme === RUN Test_parseRequestURL/adding_query_parameters_by_client === RUN Test_parseRequestURL/adding_query_parameters_by_request === RUN Test_parseRequestURL/adding_query_parameters_by_client_and_request === RUN Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent === RUN Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values --- PASS: Test_parseRequestURL (0.00s) --- PASS: Test_parseRequestURL/apply_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_and_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/empty_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/not_closed_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/extra_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/_path_parameter_with_remainder (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL (0.00s) --- PASS: Test_parseRequestURL/request_URL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client_and_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values (0.00s) === RUN Test_parseRequestHeader === RUN Test_parseRequestHeader/headers_in_request === RUN Test_parseRequestHeader/headers_in_client === RUN Test_parseRequestHeader/headers_in_client_and_request === RUN Test_parseRequestHeader/no_headers === RUN Test_parseRequestHeader/user_agent === RUN Test_parseRequestHeader/json_content_type --- PASS: Test_parseRequestHeader (0.00s) --- PASS: Test_parseRequestHeader/headers_in_request (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client_and_request (0.00s) --- PASS: Test_parseRequestHeader/no_headers (0.00s) --- PASS: Test_parseRequestHeader/user_agent (0.00s) --- PASS: Test_parseRequestHeader/json_content_type (0.00s) === RUN Test_parseRequestBody === RUN Test_parseRequestBody/empty_body === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/string_body === RUN Test_parseRequestBody/string_body_with_GET_method === RUN Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload === RUN Test_parseRequestBody/string_body_with_HEAD_method === RUN Test_parseRequestBody/string_body_with_OPTIONS_method === RUN Test_parseRequestBody/string_body_with_POST_method === RUN Test_parseRequestBody/string_body_with_PATCH_method === RUN Test_parseRequestBody/string_body_with_PUT_method === RUN Test_parseRequestBody/string_body_with_DELETE_method === RUN Test_parseRequestBody/string_body_with_CONNECT_method === RUN Test_parseRequestBody/string_body_with_TRACE_method === RUN Test_parseRequestBody/string_body_with_BAR_method === RUN Test_parseRequestBody/byte_body === RUN Test_parseRequestBody/io.Reader_body,_no_bodyBuf === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/form_data_by_request === RUN Test_parseRequestBody/form_data_by_client === RUN Test_parseRequestBody/form_data_by_client_and_request === RUN Test_parseRequestBody/json_from_struct === RUN Test_parseRequestBody/json_from_slice === RUN Test_parseRequestBody/json_from_map === RUN Test_parseRequestBody/json_from_map#01 === RUN Test_parseRequestBody/json_from_map#02 === RUN Test_parseRequestBody/xml_from_struct === RUN Test_parseRequestBody/mulipart_form_data middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "baz":"4", "foo":"5", "xyz":"6"} === RUN Test_parseRequestBody/mulipart_fields middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/mulipart_files middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/body_with_errorReader === RUN Test_parseRequestBody/unsupported_type === RUN Test_parseRequestBody/unsupported_xml === RUN Test_parseRequestBody/multipart_fields_with_errorReader === RUN Test_parseRequestBody/multipart_files_with_errorReader === RUN Test_parseRequestBody/multipart_with_file_not_found --- PASS: Test_parseRequestBody (0.00s) --- PASS: Test_parseRequestBody/empty_body (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/string_body (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload (0.00s) --- PASS: Test_parseRequestBody/string_body_with_HEAD_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_OPTIONS_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_POST_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PATCH_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PUT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_DELETE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_CONNECT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_TRACE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_BAR_method (0.00s) --- PASS: Test_parseRequestBody/byte_body (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body,_no_bodyBuf (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_request (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client_and_request (0.00s) --- PASS: Test_parseRequestBody/json_from_struct (0.00s) --- PASS: Test_parseRequestBody/json_from_slice (0.00s) --- PASS: Test_parseRequestBody/json_from_map (0.00s) --- PASS: Test_parseRequestBody/json_from_map#01 (0.00s) --- PASS: Test_parseRequestBody/json_from_map#02 (0.00s) --- PASS: Test_parseRequestBody/xml_from_struct (0.00s) --- PASS: Test_parseRequestBody/mulipart_form_data (0.00s) --- PASS: Test_parseRequestBody/mulipart_fields (0.00s) --- PASS: Test_parseRequestBody/mulipart_files (0.00s) --- PASS: Test_parseRequestBody/body_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/unsupported_type (0.00s) --- PASS: Test_parseRequestBody/unsupported_xml (0.00s) --- PASS: Test_parseRequestBody/multipart_fields_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_files_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_with_file_not_found (0.00s) === RUN TestGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 870.846µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:29 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGet (0.00s) === RUN TestGetGH524 resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/groups/developers/details --- PASS: TestGetGH524 (0.00s) === RUN TestRateLimiter resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRateLimiter (0.18s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 841.326µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === RUN TestGetClientParamRequestParam resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 705.205µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) === RUN TestGetRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 636.924µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) === RUN TestGet400Error resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 590.484µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestGet400Error (0.00s) === RUN TestPostJSONStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 684.004µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:158: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 422.763µs resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) === RUN TestPostJSONBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 727.005µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) === RUN TestPostJSONBytesIoReader resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 758.685µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) === RUN TestPostJSONStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:272: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 770.205µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=rpc resty_test.go:247: Content-Type: application/json-rpc request_test.go:294: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 744.725µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) === RUN TestPostJSONStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:319: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 699.085µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === RUN TestPostJSONErrorRFC7807 resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=problem resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:341: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 676.485µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) === RUN TestPostJSONMapSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:361: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.820572ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:382: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 817.126µs resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 resty_test.go:244: Method: POST resty_test.go:245: Path: /login-json-html resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:436: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 731.965µs resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1745766990 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 750.805µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml resty_test.go:183: Error: XML syntax error on line 1: element closed by resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 791.845µs resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1745766990 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 733.645µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) === RUN TestPostXMLStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:536: Result Success: &{"" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 766.685µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) === RUN TestPostXMLStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:557: Result Error: &{"" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 670.165µs resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:575: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 702.165µs resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:608: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 15.353506ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.02s) === RUN TestRequestInsecureBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:633: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 822.846µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } request_test.go:635: captured request-level logs: 2025/04/27 15:16:30.068473 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS --- PASS: TestRequestInsecureBasicAuth (0.00s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:653: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 15.238985ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.02s) === RUN TestRequestAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthToken (0.02s) === RUN TestRequestAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthScheme (0.02s) === RUN TestRequestDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:704: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.497891ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuth (0.00s) === RUN TestRequestDigestAuthFail resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:721: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 1.624051ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestDigestAuthFail (0.00s) === RUN TestRequestDigestAuthWithBody resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html request_test.go:740: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.326329ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuthWithBody (0.00s) === RUN TestFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormData (0.00s) === RUN TestMultiValueFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /search resty_test.go:322: Content-Type: resty_test.go:337: Received Form Encoded values: search_criteria=book&search_criteria=glass&search_criteria=pencil --- PASS: TestMultiValueFormData (0.00s) === RUN TestFormDataDisableWarn resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormDataDisableWarn (0.00s) === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=0280338da118deefaa5d39cea53d02923b1b48da6ea9f8f1990955489d63 resty_test.go:345: FirstName: resty_test.go:346: LastName: resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png --- PASS: TestMultiPartUploadFile (0.02s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload resty_test.go:387: Content-Type: multipart/form-data; boundary=aed5e2a4eb743322afb97a5e2b4684bbbc20a6885369a53023c2e595a3d6 resty_test.go:393: FirstName: resty_test.go:394: LastName: resty_test.go:401: Name: test-img.png resty_test.go:402: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:406: Write name: test-img-1745766990.png --- PASS: TestMultiPartUploadFileViaPatch (0.01s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=511d3287066fb6819f9f091150f95f00b7bb553249fe4345c5a695fff015 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1745766990.txt --- PASS: TestMultiPartUploadFiles (0.02s) === RUN TestMultiPartIoReaderFiles request_test.go:904: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=72842c0814f833fad0149472f872d6d40eefc4bdb50fa707a646d15e70af resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1745766990.txt --- PASS: TestMultiPartIoReaderFiles (0.02s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: multipart/form-data; boundary=81b33aef376742bbd61e8019694544e467ee080ec0ce0cc802c5fa943f43 resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.00s) === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=16f98db02b0d60473cd83f6ff420b50abff5b9c8886967d80e9a4a565351 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1745766990.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=af7a4eb0b24cd4ef052e537dce3386be46dc23e504d261f0f18e83954ab5 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file-1.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1-1745766990.json resty_test.go:353: Name: upload-file-2.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-2-1745766990.json --- PASS: TestMultiPartMultipartFields (0.00s) === RUN TestGetWithCookie resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 733.245µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === RUN TestGetWithCookies resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 369.122µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === RUN TestPutPlainString resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestPutPlainString (0.00s) === RUN TestPutJSONString resty_test.go:536: Method: PUT resty_test.go:537: Path: /json --- PASS: TestPutJSONString (0.00s) === RUN TestPutXMLString resty_test.go:536: Method: PUT resty_test.go:537: Path: /xml --- PASS: TestPutXMLString (0.00s) === RUN TestOnBeforeMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestOnBeforeMiddleware (0.00s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 --- PASS: TestHTTPAutoRedirectUpTo10 (0.00s) === RUN TestHostCheckRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-5 --- PASS: TestHostCheckRedirectPolicy (0.00s) === RUN TestHeadMethod resty_test.go:44: Method: HEAD resty_test.go:45: Path: / --- PASS: TestHeadMethod (0.00s) === RUN TestOptionsMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options --- PASS: TestOptionsMethod (0.00s) === RUN TestPatchMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch --- PASS: TestPatchMethod (0.00s) === RUN TestSendMethod === RUN TestSendMethod/send-get === NAME TestSendMethod resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test === RUN TestSendMethod/send-options === NAME TestSendMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options === RUN TestSendMethod/send-patch === NAME TestSendMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch === RUN TestSendMethod/send-put === NAME TestSendMethod resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestSendMethod (0.00s) --- PASS: TestSendMethod/send-get (0.00s) --- PASS: TestSendMethod/send-options (0.00s) --- PASS: TestSendMethod/send-patch (0.00s) --- PASS: TestSendMethod/send-put (0.00s) === RUN TestRawFileUploadByBody resty_test.go:320: Method: PUT resty_test.go:321: Path: /raw-upload resty_test.go:322: Content-Type: image/png --- PASS: TestRawFileUploadByBody (0.51s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient --- PASS: TestGetClient (0.00s) === RUN TestIncorrectURL --- PASS: TestIncorrectURL (0.00s) === RUN TestDetectContentTypeForPointer resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1392: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 925.886µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1420: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 828.726µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1445: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 858.006µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) === RUN TestDetectContentTypeForSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1467: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 695.805µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === RUN TestMultiParamsQueryString resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestMultiParamsQueryString (0.00s) === RUN TestSetQueryStringTypical resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestSetQueryStringTypical (0.00s) === RUN TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestSetHeaderMultipleValue --- PASS: TestSetHeaderMultipleValue (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.01s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputPathDirNotExists (0.01s) === RUN TestOutputFileAbsPath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.01s) === RUN TestContextInternal resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestContextInternal (0.00s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRequestDoNotParseResponse (0.00s) === RUN TestRequestExpectContentTypeTest resty_test.go:536: Method: GET resty_test.go:537: Path: /json-no-set --- PASS: TestRequestExpectContentTypeTest (0.00s) === RUN TestGetPathParamAndPathParams resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/details resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 673.004µs resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) === RUN TestReportMethodSupportsPayload resty_test.go:536: Method: REPORT resty_test.go:537: Path: /report --- PASS: TestReportMethodSupportsPayload (0.00s) === RUN TestRequestQueryStringOrder resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 805.285µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) === RUN TestRequestOverridesClientAuthorizationHeader resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestRequestOverridesClientAuthorizationHeader (0.02s) === RUN TestRequestFileUploadAsReader resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png --- PASS: TestRequestFileUploadAsReader (0.03s) === RUN TestHostHeaderOverride resty_test.go:44: Method: GET resty_test.go:45: Path: /host-header resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 880.526µs resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) === RUN TestNotFoundWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-with-error resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 668.045µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} --- PASS: TestNotFoundWithError (0.00s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error 2025/04/27 15:16:30.834627 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 678.045µs resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestNotFoundWithoutError (0.00s) === RUN TestPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 732.285µs resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users%2Fdevelopers/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.00s) === RUN TestRawPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 669.045µs resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users/developers/https://example.com --- PASS: TestRawPathParamURLInput (0.00s) === RUN TestTraceInfo resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfo (0.00s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.00s) === RUN TestTraceInfoOnTimeout --- PASS: TestTraceInfoOnTimeout (0.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=3022a72b367cd2e0425d323289e8343a129985dad2724c4fa86d40ce950d resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=c0734e696d46bc7af36eea2f8bf16b6dd9a08a054df39c4ebbc562390a74 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: C resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: text/plain; charset=utf-8 resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/json resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: --- PASS: TestDebugLoggerRequestBodyTooLarge (0.02s) === RUN TestPostMapTemporaryRedirect resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestPostMapTemporaryRedirect (0.00s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.27s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.23s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff --- PASS: TestOnRetryBackoff (0.00s) === RUN TestConditionalGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 763.525µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === RUN TestConditionalGetDefaultClient resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 611.604µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === RUN TestClientRetryGet resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryGet (15.57s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWait (30.44s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxInfinite (15.09s) === RUN TestClientRetryWaitMaxMinimum resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxMinimum (0.10s) === RUN TestClientRetryWaitCallbackError resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.00s) === RUN TestClientRetryWaitCallback resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:395: Client has slept 5.022970 seconds before retry 1 retry_test.go:395: Client has slept 5.024007 seconds before retry 2 retry_test.go:395: Client has slept 5.012018 seconds before retry 3 retry_test.go:395: Client has slept 5.023994 seconds before retry 4 retry_test.go:395: Client has slept 5.024012 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (25.11s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:443: Client has slept 3.014959 seconds before retry 1 retry_test.go:443: Client has slept 3.015970 seconds before retry 2 retry_test.go:443: Client has slept 3.011996 seconds before retry 3 retry_test.go:443: Client has slept 3.015989 seconds before retry 4 retry_test.go:443: Client has slept 3.012019 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (15.07s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:491: Client has slept 3.011544 seconds before retry 1 retry_test.go:491: Client has slept 3.012095 seconds before retry 2 retry_test.go:491: Client has slept 3.011874 seconds before retry 3 retry_test.go:491: Client has slept 3.012132 seconds before retry 4 retry_test.go:491: Client has slept 3.015799 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (15.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackSwitchToDefault (10.84s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryCancel (2.01s) === RUN TestClientRetryPost resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] retry_test.go:619: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (0.60s) === RUN TestClientRetryErrorRecover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.10s) === RUN TestClientRetryCount resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryCount (9.13s) === RUN TestClientErrorRetry resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientErrorRetry (0.10s) === RUN TestClientRetryHook resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryHook (12.25s) === RUN TestResetMultipartReaderSeekStartError resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=9956794df0071cb52eb26d76e07e1f8cc713a0b446c57b5a8a22f2a46943 --- PASS: TestResetMultipartReaderSeekStartError (0.00s) === RUN TestResetMultipartReaders resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=f9db839ac2329a613da363499d7a8135fedc95f27f75be8319f0389e0ca6 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=386856d6982634f9f65fa7af34bba9bae0e3ea1490f9a63480a75fce27aa resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=e84aeb5df32cab060b1a4cbcb403ba32d9bb01b3f78332eb256b71a0a362 --- PASS: TestResetMultipartReaders (0.26s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) === RUN TestWriteMultipartFormFileReaderEmpty --- PASS: TestWriteMultipartFormFileReaderEmpty (0.00s) === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS ok github.com/go-resty/resty 169.518s make[1]: Leaving directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install --destdir=debian/golang-github-go-resty-resty-dev/ -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-go-resty-resty-dev' in '../golang-github-go-resty-resty-dev_2.10.0-2_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1887562 and its subdirectories I: Current time: Sun Apr 27 03:19:08 -12 2025 I: pbuilder-time-stamp: 1745767148 Sun Apr 27 15:19:08 UTC 2025 I: Signing ./b1/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo as golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc Sun Apr 27 15:19:08 UTC 2025 I: Signed ./b1/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo as ./b1/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc Sun Apr 27 15:19:08 UTC 2025 - build #1 for golang-github-go-resty-resty/unstable/arm64 on codethink04-arm64 done. Starting cleanup. All cleanup done. Sun Apr 27 15:19:08 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-sbfYieaP, removing. /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 15:19 b1 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 15:15 b2 -rw-r--r-- 1 jenkins jenkins 1742 Apr 25 21:23 golang-github-go-resty-resty_2.10.0-2.dsc -rw------- 1 jenkins jenkins 3004 Apr 27 15:15 rbuildlog.9zoNZK5 /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1: total 2764 -rw-r--r-- 1 jenkins jenkins 157626 Apr 27 15:19 build.log -rw-r--r-- 1 jenkins jenkins 2637016 Apr 27 15:19 golang-github-go-resty-resty-dev_2.10.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 3444 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1742 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2.dsc -rw-r--r-- 1 jenkins jenkins 5172 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6054 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1375 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 1541 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2: total 0 Sun Apr 27 15:19:09 UTC 2025 I: Deleting $TMPDIR on codethink04-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Apr 27 03:15:12 -12 2025 I: pbuilder-time-stamp: 1745766912 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-go-resty-resty_2.10.0-2.dsc] I: copying [./golang-github-go-resty-resty_2.10.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.10.0-2.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./golang-github-go-resty-resty_2.10.0-2.dsc: unsupported subcommand dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.10.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0.orig.tar.gz dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Don-t-put-the-same-bytes.Buffer-into-sync.Pool-twice.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='8650213c6c3649b38f6325d7c56f4b75' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1887562' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_SorN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1 --logfile b1/build.log golang-github-go-resty-resty_2.10.0-2.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink04-arm64 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-golang-x-net-dev, golang-golang-x-time-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-time-dev; however: Package golang-golang-x-time-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} binutils-gold{a} binutils-gold-aarch64-linux-gnu{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.24-go{a} golang-1.24-src{a} golang-any{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-golang-x-time-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 65.7 MB of archives. After unpacking 369 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main arm64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian unstable/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB] Get: 4 http://deb.debian.org/debian unstable/main arm64 file arm64 1:5.46-5 [43.7 kB] Get: 5 http://deb.debian.org/debian unstable/main arm64 gettext-base arm64 0.23.1-2 [241 kB] Get: 6 http://deb.debian.org/debian unstable/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian unstable/main arm64 groff-base arm64 1.23.0-7 [1129 kB] Get: 8 http://deb.debian.org/debian unstable/main arm64 bsdextrautils arm64 2.41-4 [93.9 kB] Get: 9 http://deb.debian.org/debian unstable/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian unstable/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian unstable/main arm64 m4 arm64 1.4.19-8 [285 kB] Get: 12 http://deb.debian.org/debian unstable/main arm64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main arm64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main arm64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main arm64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main arm64 binutils-gold-aarch64-linux-gnu arm64 2.44-2 [1700 kB] Get: 17 http://deb.debian.org/debian unstable/main arm64 binutils-gold arm64 2.44-2 [202 kB] Get: 18 http://deb.debian.org/debian unstable/main arm64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 19 http://deb.debian.org/debian unstable/main arm64 libtool all 2.5.4-4 [539 kB] Get: 20 http://deb.debian.org/debian unstable/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 21 http://deb.debian.org/debian unstable/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 22 http://deb.debian.org/debian unstable/main arm64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 23 http://deb.debian.org/debian unstable/main arm64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 24 http://deb.debian.org/debian unstable/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 25 http://deb.debian.org/debian unstable/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 26 http://deb.debian.org/debian unstable/main arm64 libunistring5 arm64 1.3-2 [453 kB] Get: 27 http://deb.debian.org/debian unstable/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.4 [629 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 gettext arm64 0.23.1-2 [1611 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.24.2 [919 kB] Get: 32 http://deb.debian.org/debian unstable/main arm64 dh-golang all 1.63 [24.4 kB] Get: 33 http://deb.debian.org/debian unstable/main arm64 golang-1.24-src all 1.24.2-2 [21.2 MB] Get: 34 http://deb.debian.org/debian unstable/main arm64 golang-1.24-go arm64 1.24.2-2 [24.6 MB] Get: 35 http://deb.debian.org/debian unstable/main arm64 golang-src all 2:1.24~2 [5136 B] Get: 36 http://deb.debian.org/debian unstable/main arm64 golang-go arm64 2:1.24~2 [44.3 kB] Get: 37 http://deb.debian.org/debian unstable/main arm64 golang-any arm64 2:1.24~2 [5216 B] Get: 38 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-sys-dev all 0.22.0-1 [431 kB] Get: 39 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 40 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.22.0-1 [3995 kB] Get: 41 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] Get: 42 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] Get: 43 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] Fetched 65.7 MB in 0s (156 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_arm64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_arm64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_arm64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_arm64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-4_arm64.deb ... Unpacking bsdextrautils (2.41-4) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_arm64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package binutils-gold-aarch64-linux-gnu. Preparing to unpack .../15-binutils-gold-aarch64-linux-gnu_2.44-2_arm64.deb ... Unpacking binutils-gold-aarch64-linux-gnu (2.44-2) ... Selecting previously unselected package binutils-gold. Preparing to unpack .../16-binutils-gold_2.44-2_arm64.deb ... Unpacking binutils-gold (2.44-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../23-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:arm64. Preparing to unpack .../25-libunistring5_1.3-2_arm64.deb ... Unpacking libunistring5:arm64 (1.3-2) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.12.7+dfsg+really2.9.14-0.4_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.23.1-2_arm64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.63_all.deb ... Unpacking dh-golang (1.63) ... Selecting previously unselected package golang-1.24-src. Preparing to unpack .../32-golang-1.24-src_1.24.2-2_all.deb ... Unpacking golang-1.24-src (1.24.2-2) ... Selecting previously unselected package golang-1.24-go. Preparing to unpack .../33-golang-1.24-go_1.24.2-2_arm64.deb ... Unpacking golang-1.24-go (1.24.2-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../34-golang-src_2%3a1.24~2_all.deb ... Unpacking golang-src (2:1.24~2) ... Selecting previously unselected package golang-go:arm64. Preparing to unpack .../35-golang-go_2%3a1.24~2_arm64.deb ... Unpacking golang-go:arm64 (2:1.24~2) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../36-golang-any_2%3a1.24~2_arm64.deb ... Unpacking golang-any:arm64 (2:1.24~2) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../37-golang-golang-x-sys-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../38-golang-golang-x-term-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-term-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../39-golang-golang-x-text-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../40-golang-golang-x-crypto-dev_1%3a0.25.0-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.25.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../41-golang-golang-x-net-dev_1%3a0.27.0-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.27.0-1) ... Selecting previously unselected package golang-golang-x-time-dev. Preparing to unpack .../42-golang-golang-x-time-dev_0.5.0-1_all.deb ... Unpacking golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-1.24-src (1.24.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up bsdextrautils (2.41-4) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up golang-golang-x-sys-dev (0.22.0-1) ... Setting up libmagic1t64:arm64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up binutils-gold-aarch64-linux-gnu (2.44-2) ... Setting up golang-golang-x-term-dev (0.22.0-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:arm64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up golang-golang-x-text-dev (0.22.0-1) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up golang-golang-x-crypto-dev (1:0.25.0-1) ... Setting up golang-src (2:1.24~2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up binutils-gold (2.44-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.24-go (1.24.2-2) ... Setting up golang-golang-x-net-dev (1:0.27.0-1) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up golang-go:arm64 (2:1.24~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:arm64 (2:1.24~2) ... Setting up debhelper (13.24.2) ... Setting up dh-golang (1.63) ... Processing triggers for libc-bin (2.41-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.10.0-2_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Santiago Ruano Rincón dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/go-resty/resty internal/profilerecord internal/goos internal/goarch internal/godebugs internal/asan internal/unsafeheader internal/coverage/rtcov internal/goexperiment math/bits unicode/utf8 unicode cmp internal/runtime/math internal/abi internal/byteorder internal/itoa internal/msan internal/cpu internal/runtime/syscall crypto/internal/fips140/alias crypto/internal/boring/sig sync/atomic math crypto/internal/fips140deps/byteorder container/list internal/chacha8rand unicode/utf16 crypto/internal/fips140/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding log/internal internal/bytealg crypto/internal/fips140deps/cpu internal/runtime/atomic internal/runtime/sys internal/runtime/exithook internal/stringslite internal/race internal/runtime/maps internal/sync runtime internal/reflectlite sync iter crypto/subtle weak slices maps internal/bisect internal/testlog internal/singleflight unique runtime/cgo errors sort internal/godebug io strconv internal/oserror path math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage bytes strings syscall reflect crypto/internal/fips140deps/godebug hash math/rand crypto/internal/randutil net/netip hash/crc32 crypto vendor/golang.org/x/text/transform bufio crypto/internal/fips140 crypto/internal/impl net/http/internal/ascii regexp/syntax crypto/internal/fips140/sha256 crypto/tls/internal/fips140tls crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/sha3 crypto/internal/fips140/hmac crypto/internal/fips140hash crypto/internal/fips140/check crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/bigmod crypto/internal/fips140/tls12 crypto/internal/fips140/edwards25519/field crypto/internal/fips140/hkdf crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 time internal/syscall/unix internal/syscall/execenv crypto/internal/fips140/nistec internal/fmtsort encoding/binary internal/poll context io/fs internal/filepathlite embed vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 os encoding/pem fmt crypto/internal/sysrand net path/filepath crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa crypto/rc4 crypto/md5 compress/flate encoding/hex math/big net/url log encoding/json crypto/cipher encoding/xml vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable vendor/golang.org/x/text/unicode/bidi net/http/internal crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/sha256 crypto/sha512 crypto/aes compress/gzip crypto/ecdh crypto/hmac crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/rand crypto/elliptic crypto/internal/boring/bbig crypto/dsa encoding/asn1 crypto/ed25519 crypto/internal/hpke crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' # Test fails if there's http_proxy, for example Ubuntu's autopkgtest infrastructure. http_proxy="" dh_auto_test cd _build && go test -vet=off -v -p 12 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:42: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 17.072918ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.02s) === RUN TestClientAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthToken (0.02s) === RUN TestClientAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthScheme (0.02s) === RUN TestClientDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:100: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.153367ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestAuth (0.00s) === RUN TestClientDigestSession resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:120: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 844.526µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestSession (0.00s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge 2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 --- PASS: TestClientDigestErrors (0.01s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext client_test.go:162: Request sent at: 2025-04-27 15:16:13.77826502 +0000 UTC m=+0.067301824 client_test.go:163: Response Received at: 2025-04-27 15:16:13.778784064 +0000 UTC m=+0.067820828 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-11 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-12 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-13 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-14 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-15 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-16 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-17 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-18 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-19 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-20 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 --- PASS: TestClientRedirectPolicy (0.01s) === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test --- PASS: TestClientTimeout (6.02s) === RUN TestClientTimeoutWithinThreshold resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence --- PASS: TestClientTimeoutWithinThreshold (4.02s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy --- PASS: TestClientProxy (0.00s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate --- PASS: TestClientSetRootCertificate (0.00s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString --- PASS: TestClientSetRootCertificateFromString (0.00s) === RUN TestClientSetRootCertificateFromStringErrorTls --- PASS: TestClientSetRootCertificateFromStringErrorTls (0.00s) === RUN TestClientOnBeforeRequestModification resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 816.565µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === RUN TestClientSetHeaderVerbatim --- PASS: TestClientSetHeaderVerbatim (0.00s) === RUN TestClientSetTransport --- PASS: TestClientSetTransport (0.00s) === RUN TestClientSetScheme --- PASS: TestClientSetScheme (0.00s) === RUN TestClientSetCookieJar --- PASS: TestClientSetCookieJar (0.00s) === RUN TestClientOptions --- PASS: TestClientOptions (0.00s) === RUN TestContentLengthWhenBodyIsNil --- PASS: TestContentLengthWhenBodyIsNil (0.00s) === RUN TestClientPreRequestHook resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestClientPreRequestHook (0.00s) === RUN TestClientAllowsGetMethodPayload resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientAllowsGetMethodPayloadIoReader resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadIoReader (0.00s) === RUN TestClientAllowsGetMethodPayloadDisabled resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadDisabled (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest --- PASS: TestClientNewRequest (0.00s) === RUN TestClientSetJSONMarshaler --- PASS: TestClientSetJSONMarshaler (0.00s) === RUN TestClientSetJSONUnmarshaler --- PASS: TestClientSetJSONUnmarshaler (0.00s) === RUN TestClientSetXMLMarshaler --- PASS: TestClientSetXMLMarshaler (0.00s) === RUN TestClientSetXMLUnmarshaler --- PASS: TestClientSetXMLUnmarshaler (0.00s) === RUN TestDebugBodySizeLimit resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /no-content resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /json-invalid resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestDebugBodySizeLimit (0.00s) === RUN TestAutoGzip resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.55173ms resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: This is Gzip response testing resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-gziped-empty-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 757.646µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-no-gziped-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 147.001µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestAutoGzip (0.00s) === RUN TestLogCallbacks resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestLogCallbacks (0.01s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestNewWithLocalAddr (0.00s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === PAUSE TestClientOnResponseError/successful_request === RUN TestClientOnResponseError/http_status_error === PAUSE TestClientOnResponseError/http_status_error === RUN TestClientOnResponseError/before_request_error === PAUSE TestClientOnResponseError/before_request_error === RUN TestClientOnResponseError/before_request_error_retry === PAUSE TestClientOnResponseError/before_request_error_retry === RUN TestClientOnResponseError/after_response_error === PAUSE TestClientOnResponseError/after_response_error === RUN TestClientOnResponseError/after_response_error_retry === PAUSE TestClientOnResponseError/after_response_error_retry === RUN TestClientOnResponseError/panic_with_error === PAUSE TestClientOnResponseError/panic_with_error === RUN TestClientOnResponseError/panic_with_string === PAUSE TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError/before_request_error_retry === CONT TestClientOnResponseError/before_request_error === CONT TestClientOnResponseError/http_status_error === CONT TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/panic_with_error === NAME TestClientOnResponseError/http_status_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer BAD === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/successful_request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) --- PASS: TestClientOnResponseError/panic_with_string (0.00s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/panic_with_error (0.00s) --- PASS: TestClientOnResponseError/http_status_error (0.01s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/after_response_error (0.02s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.30s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.32s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 client_test.go:960: ts.URL: http://127.0.0.1:44321 client_test.go:961: targetURL.Host: 127.0.0.1:44321 client_test.go:989: with leading `/` on request & with trailing `/` on host url resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestHostURLForGH318AndGH407 (0.00s) === RUN TestPostRedirectWithBody client_test.go:1003: ts.URL: http://127.0.0.1:34561 client_test.go:1004: targetURL.Host: 127.0.0.1:34561 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=396191357379101777 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2067541956301078058 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3679396984656341136 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=658074143971762788 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1393505486654242122 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=798062929487392868 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5926241864631383410 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5868895797752399166 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4446109663169551294 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6956477986509621613 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2264982119645162452 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=633285045234972824 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7904491982497131019 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5957473736690203855 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8941573403906813490 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7288976916320425485 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=7430274040898061188 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3479597628517842353 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8578372839208651102 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1616774787023658718 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6473930696981186520 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=446628494984369299 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6765984202559259985 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6610837293948175002 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1336088578798754853 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=209832256646655100 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=113578549249867237 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1920251338437057110 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6226802004048226898 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8869334267342953047 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6306048680962973224 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=861420429771790951 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=50132798929173426 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2158390796969138506 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8317944101439311197 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5599298326911254029 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7593576111754205726 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3461567311776712555 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4016933937248900532 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8694798048794485244 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4378168135032507839 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8773300454930582435 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2890016089744137749 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4975787457816906411 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4746690748579886621 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8310971749390548560 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=292351143476911264 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=414852269187068020 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=188786449485758084 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6376566754620722343 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3890262622412661648 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3574375053445655687 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4327894383130266202 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2432099946552289003 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4441819505144520146 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4021741410835306522 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5266262145415415660 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7419248071276352983 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5814321679832893375 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8682189051157885877 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8430480808896188281 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=168647221860459157 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3582989345820218770 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5885230050904941542 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2463443488957357495 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: body=6148459472899869580 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8436462307697932168 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3331545608422871205 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7657408802854652312 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5570551805472411348 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5343601086735193282 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8304981677947683226 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1794055386838229720 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4465146765135380469 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1152859874068528060 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8277940506506666959 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=8616620334345168164 resty_test.go:246: RawQuery: body=2644972336194431305 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=3799403195785014767 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=957960518159534967 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2752290803907343062 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7639220948225289843 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=1548053314421277393 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3264707760890638850 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6511015008603332594 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1000523388903839779 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7426656973249143685 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5168736548357379174 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4816874699318755061 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=252201236346949006 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=659105455788616141 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=7650880531064556621 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2112499211509345020 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5760266950267927803 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7531592039770146259 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4702619645730315272 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6229579216194096264 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4467732290952566965 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4235903238958485075 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8036638964115142432 resty_test.go:247: Content-Type: text/plain; charset=utf-8 --- PASS: TestPostRedirectWithBody (0.13s) === RUN TestUnixSocket --- PASS: TestUnixSocket (0.00s) === RUN TestSetContext resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 658.604µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) === RUN TestSetContextWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 764.885µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestSetContextWithError (0.00s) === RUN TestSetContextCancel context_test.go:57: Server: GET / context_test.go:62: Server: wrote 30 bytes context_test.go:63: Server: err is context_test.go:82: Error: Get "http://127.0.0.1:37317/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is context_test.go:125: Error: Get "http://127.0.0.1:34953/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is context_test.go:168: Error: Get "http://127.0.0.1:43865/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / --- PASS: TestClientRetryWithSetContext (5.52s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL === RUN Test_parseRequestURL/apply_client_path_parameters === RUN Test_parseRequestURL/apply_request_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_path_parameters === RUN Test_parseRequestURL/apply_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_raw_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_path_and_raw_path_parameters === RUN Test_parseRequestURL/empty_path_parameter_in_URL === RUN Test_parseRequestURL/not_closed_path_parameter_in_URL === RUN Test_parseRequestURL/extra_path_parameter_in_URL === RUN Test_parseRequestURL/_path_parameter_with_remainder === RUN Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash === RUN Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL === RUN Test_parseRequestURL/request_URL_without_scheme === RUN Test_parseRequestURL/BaseURL_without_scheme === RUN Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme === RUN Test_parseRequestURL/adding_query_parameters_by_client === RUN Test_parseRequestURL/adding_query_parameters_by_request === RUN Test_parseRequestURL/adding_query_parameters_by_client_and_request === RUN Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent === RUN Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values --- PASS: Test_parseRequestURL (0.00s) --- PASS: Test_parseRequestURL/apply_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_and_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/empty_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/not_closed_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/extra_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/_path_parameter_with_remainder (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL (0.00s) --- PASS: Test_parseRequestURL/request_URL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client_and_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values (0.00s) === RUN Test_parseRequestHeader === RUN Test_parseRequestHeader/headers_in_request === RUN Test_parseRequestHeader/headers_in_client === RUN Test_parseRequestHeader/headers_in_client_and_request === RUN Test_parseRequestHeader/no_headers === RUN Test_parseRequestHeader/user_agent === RUN Test_parseRequestHeader/json_content_type --- PASS: Test_parseRequestHeader (0.00s) --- PASS: Test_parseRequestHeader/headers_in_request (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client_and_request (0.00s) --- PASS: Test_parseRequestHeader/no_headers (0.00s) --- PASS: Test_parseRequestHeader/user_agent (0.00s) --- PASS: Test_parseRequestHeader/json_content_type (0.00s) === RUN Test_parseRequestBody === RUN Test_parseRequestBody/empty_body === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/string_body === RUN Test_parseRequestBody/string_body_with_GET_method === RUN Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload === RUN Test_parseRequestBody/string_body_with_HEAD_method === RUN Test_parseRequestBody/string_body_with_OPTIONS_method === RUN Test_parseRequestBody/string_body_with_POST_method === RUN Test_parseRequestBody/string_body_with_PATCH_method === RUN Test_parseRequestBody/string_body_with_PUT_method === RUN Test_parseRequestBody/string_body_with_DELETE_method === RUN Test_parseRequestBody/string_body_with_CONNECT_method === RUN Test_parseRequestBody/string_body_with_TRACE_method === RUN Test_parseRequestBody/string_body_with_BAR_method === RUN Test_parseRequestBody/byte_body === RUN Test_parseRequestBody/io.Reader_body,_no_bodyBuf === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/form_data_by_request === RUN Test_parseRequestBody/form_data_by_client === RUN Test_parseRequestBody/form_data_by_client_and_request === RUN Test_parseRequestBody/json_from_struct === RUN Test_parseRequestBody/json_from_slice === RUN Test_parseRequestBody/json_from_map === RUN Test_parseRequestBody/json_from_map#01 === RUN Test_parseRequestBody/json_from_map#02 === RUN Test_parseRequestBody/xml_from_struct === RUN Test_parseRequestBody/mulipart_form_data middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "baz":"4", "foo":"5", "xyz":"6"} === RUN Test_parseRequestBody/mulipart_fields middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/mulipart_files middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/body_with_errorReader === RUN Test_parseRequestBody/unsupported_type === RUN Test_parseRequestBody/unsupported_xml === RUN Test_parseRequestBody/multipart_fields_with_errorReader === RUN Test_parseRequestBody/multipart_files_with_errorReader === RUN Test_parseRequestBody/multipart_with_file_not_found --- PASS: Test_parseRequestBody (0.00s) --- PASS: Test_parseRequestBody/empty_body (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/string_body (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload (0.00s) --- PASS: Test_parseRequestBody/string_body_with_HEAD_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_OPTIONS_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_POST_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PATCH_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PUT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_DELETE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_CONNECT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_TRACE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_BAR_method (0.00s) --- PASS: Test_parseRequestBody/byte_body (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body,_no_bodyBuf (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_request (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client_and_request (0.00s) --- PASS: Test_parseRequestBody/json_from_struct (0.00s) --- PASS: Test_parseRequestBody/json_from_slice (0.00s) --- PASS: Test_parseRequestBody/json_from_map (0.00s) --- PASS: Test_parseRequestBody/json_from_map#01 (0.00s) --- PASS: Test_parseRequestBody/json_from_map#02 (0.00s) --- PASS: Test_parseRequestBody/xml_from_struct (0.00s) --- PASS: Test_parseRequestBody/mulipart_form_data (0.00s) --- PASS: Test_parseRequestBody/mulipart_fields (0.00s) --- PASS: Test_parseRequestBody/mulipart_files (0.00s) --- PASS: Test_parseRequestBody/body_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/unsupported_type (0.00s) --- PASS: Test_parseRequestBody/unsupported_xml (0.00s) --- PASS: Test_parseRequestBody/multipart_fields_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_files_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_with_file_not_found (0.00s) === RUN TestGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 870.846µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:29 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGet (0.00s) === RUN TestGetGH524 resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/groups/developers/details --- PASS: TestGetGH524 (0.00s) === RUN TestRateLimiter resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRateLimiter (0.18s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 841.326µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === RUN TestGetClientParamRequestParam resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 705.205µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) === RUN TestGetRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 636.924µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) === RUN TestGet400Error resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 590.484µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestGet400Error (0.00s) === RUN TestPostJSONStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 684.004µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:158: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 422.763µs resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) === RUN TestPostJSONBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 727.005µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) === RUN TestPostJSONBytesIoReader resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 758.685µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) === RUN TestPostJSONStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:272: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 770.205µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=rpc resty_test.go:247: Content-Type: application/json-rpc request_test.go:294: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 744.725µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) === RUN TestPostJSONStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:319: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 699.085µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === RUN TestPostJSONErrorRFC7807 resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=problem resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:341: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 676.485µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) === RUN TestPostJSONMapSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:361: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.820572ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:382: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 817.126µs resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 resty_test.go:244: Method: POST resty_test.go:245: Path: /login-json-html resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:436: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 731.965µs resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1745766990 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 750.805µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml resty_test.go:183: Error: XML syntax error on line 1: element closed by resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 791.845µs resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1745766990 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 733.645µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) === RUN TestPostXMLStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:536: Result Success: &{"" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 766.685µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) === RUN TestPostXMLStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:557: Result Error: &{"" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 670.165µs resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:575: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 702.165µs resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:608: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 15.353506ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.02s) === RUN TestRequestInsecureBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:633: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 822.846µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } request_test.go:635: captured request-level logs: 2025/04/27 15:16:30.068473 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS --- PASS: TestRequestInsecureBasicAuth (0.00s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:653: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 15.238985ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.02s) === RUN TestRequestAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthToken (0.02s) === RUN TestRequestAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthScheme (0.02s) === RUN TestRequestDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:704: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.497891ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuth (0.00s) === RUN TestRequestDigestAuthFail resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:721: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 1.624051ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestDigestAuthFail (0.00s) === RUN TestRequestDigestAuthWithBody resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html request_test.go:740: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.326329ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuthWithBody (0.00s) === RUN TestFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormData (0.00s) === RUN TestMultiValueFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /search resty_test.go:322: Content-Type: resty_test.go:337: Received Form Encoded values: search_criteria=book&search_criteria=glass&search_criteria=pencil --- PASS: TestMultiValueFormData (0.00s) === RUN TestFormDataDisableWarn resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormDataDisableWarn (0.00s) === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=0280338da118deefaa5d39cea53d02923b1b48da6ea9f8f1990955489d63 resty_test.go:345: FirstName: resty_test.go:346: LastName: resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png --- PASS: TestMultiPartUploadFile (0.02s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload resty_test.go:387: Content-Type: multipart/form-data; boundary=aed5e2a4eb743322afb97a5e2b4684bbbc20a6885369a53023c2e595a3d6 resty_test.go:393: FirstName: resty_test.go:394: LastName: resty_test.go:401: Name: test-img.png resty_test.go:402: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:406: Write name: test-img-1745766990.png --- PASS: TestMultiPartUploadFileViaPatch (0.01s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=511d3287066fb6819f9f091150f95f00b7bb553249fe4345c5a695fff015 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1745766990.txt --- PASS: TestMultiPartUploadFiles (0.02s) === RUN TestMultiPartIoReaderFiles request_test.go:904: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=72842c0814f833fad0149472f872d6d40eefc4bdb50fa707a646d15e70af resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1745766990.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1745766990.txt --- PASS: TestMultiPartIoReaderFiles (0.02s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: multipart/form-data; boundary=81b33aef376742bbd61e8019694544e467ee080ec0ce0cc802c5fa943f43 resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.00s) === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=16f98db02b0d60473cd83f6ff420b50abff5b9c8886967d80e9a4a565351 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1745766990.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=af7a4eb0b24cd4ef052e537dce3386be46dc23e504d261f0f18e83954ab5 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file-1.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1-1745766990.json resty_test.go:353: Name: upload-file-2.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-2-1745766990.json --- PASS: TestMultiPartMultipartFields (0.00s) === RUN TestGetWithCookie resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 733.245µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === RUN TestGetWithCookies resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 369.122µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === RUN TestPutPlainString resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestPutPlainString (0.00s) === RUN TestPutJSONString resty_test.go:536: Method: PUT resty_test.go:537: Path: /json --- PASS: TestPutJSONString (0.00s) === RUN TestPutXMLString resty_test.go:536: Method: PUT resty_test.go:537: Path: /xml --- PASS: TestPutXMLString (0.00s) === RUN TestOnBeforeMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestOnBeforeMiddleware (0.00s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 --- PASS: TestHTTPAutoRedirectUpTo10 (0.00s) === RUN TestHostCheckRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-5 --- PASS: TestHostCheckRedirectPolicy (0.00s) === RUN TestHeadMethod resty_test.go:44: Method: HEAD resty_test.go:45: Path: / --- PASS: TestHeadMethod (0.00s) === RUN TestOptionsMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options --- PASS: TestOptionsMethod (0.00s) === RUN TestPatchMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch --- PASS: TestPatchMethod (0.00s) === RUN TestSendMethod === RUN TestSendMethod/send-get === NAME TestSendMethod resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test === RUN TestSendMethod/send-options === NAME TestSendMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options === RUN TestSendMethod/send-patch === NAME TestSendMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch === RUN TestSendMethod/send-put === NAME TestSendMethod resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestSendMethod (0.00s) --- PASS: TestSendMethod/send-get (0.00s) --- PASS: TestSendMethod/send-options (0.00s) --- PASS: TestSendMethod/send-patch (0.00s) --- PASS: TestSendMethod/send-put (0.00s) === RUN TestRawFileUploadByBody resty_test.go:320: Method: PUT resty_test.go:321: Path: /raw-upload resty_test.go:322: Content-Type: image/png --- PASS: TestRawFileUploadByBody (0.51s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient --- PASS: TestGetClient (0.00s) === RUN TestIncorrectURL --- PASS: TestIncorrectURL (0.00s) === RUN TestDetectContentTypeForPointer resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1392: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 925.886µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1420: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 828.726µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1445: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 858.006µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) === RUN TestDetectContentTypeForSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1467: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 695.805µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === RUN TestMultiParamsQueryString resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestMultiParamsQueryString (0.00s) === RUN TestSetQueryStringTypical resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestSetQueryStringTypical (0.00s) === RUN TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestSetHeaderMultipleValue --- PASS: TestSetHeaderMultipleValue (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.01s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputPathDirNotExists (0.01s) === RUN TestOutputFileAbsPath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.01s) === RUN TestContextInternal resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestContextInternal (0.00s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRequestDoNotParseResponse (0.00s) === RUN TestRequestExpectContentTypeTest resty_test.go:536: Method: GET resty_test.go:537: Path: /json-no-set --- PASS: TestRequestExpectContentTypeTest (0.00s) === RUN TestGetPathParamAndPathParams resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/details resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 673.004µs resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) === RUN TestReportMethodSupportsPayload resty_test.go:536: Method: REPORT resty_test.go:537: Path: /report --- PASS: TestReportMethodSupportsPayload (0.00s) === RUN TestRequestQueryStringOrder resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 805.285µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) === RUN TestRequestOverridesClientAuthorizationHeader resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestRequestOverridesClientAuthorizationHeader (0.02s) === RUN TestRequestFileUploadAsReader resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png --- PASS: TestRequestFileUploadAsReader (0.03s) === RUN TestHostHeaderOverride resty_test.go:44: Method: GET resty_test.go:45: Path: /host-header resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 880.526µs resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) === RUN TestNotFoundWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-with-error resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 668.045µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} --- PASS: TestNotFoundWithError (0.00s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error 2025/04/27 15:16:30.834627 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 678.045µs resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestNotFoundWithoutError (0.00s) === RUN TestPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 732.285µs resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users%2Fdevelopers/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.00s) === RUN TestRawPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 669.045µs resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users/developers/https://example.com --- PASS: TestRawPathParamURLInput (0.00s) === RUN TestTraceInfo resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfo (0.00s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.00s) === RUN TestTraceInfoOnTimeout --- PASS: TestTraceInfoOnTimeout (0.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=3022a72b367cd2e0425d323289e8343a129985dad2724c4fa86d40ce950d resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=c0734e696d46bc7af36eea2f8bf16b6dd9a08a054df39c4ebbc562390a74 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: C resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: text/plain; charset=utf-8 resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/json resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: --- PASS: TestDebugLoggerRequestBodyTooLarge (0.02s) === RUN TestPostMapTemporaryRedirect resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestPostMapTemporaryRedirect (0.00s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.27s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.23s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff --- PASS: TestOnRetryBackoff (0.00s) === RUN TestConditionalGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 763.525µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === RUN TestConditionalGetDefaultClient resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 611.604µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === RUN TestClientRetryGet resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryGet (15.57s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWait (30.44s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxInfinite (15.09s) === RUN TestClientRetryWaitMaxMinimum resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxMinimum (0.10s) === RUN TestClientRetryWaitCallbackError resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.00s) === RUN TestClientRetryWaitCallback resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:395: Client has slept 5.022970 seconds before retry 1 retry_test.go:395: Client has slept 5.024007 seconds before retry 2 retry_test.go:395: Client has slept 5.012018 seconds before retry 3 retry_test.go:395: Client has slept 5.023994 seconds before retry 4 retry_test.go:395: Client has slept 5.024012 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (25.11s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:443: Client has slept 3.014959 seconds before retry 1 retry_test.go:443: Client has slept 3.015970 seconds before retry 2 retry_test.go:443: Client has slept 3.011996 seconds before retry 3 retry_test.go:443: Client has slept 3.015989 seconds before retry 4 retry_test.go:443: Client has slept 3.012019 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (15.07s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:491: Client has slept 3.011544 seconds before retry 1 retry_test.go:491: Client has slept 3.012095 seconds before retry 2 retry_test.go:491: Client has slept 3.011874 seconds before retry 3 retry_test.go:491: Client has slept 3.012132 seconds before retry 4 retry_test.go:491: Client has slept 3.015799 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (15.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackSwitchToDefault (10.84s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryCancel (2.01s) === RUN TestClientRetryPost resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] retry_test.go:619: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (0.60s) === RUN TestClientRetryErrorRecover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.10s) === RUN TestClientRetryCount resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryCount (9.13s) === RUN TestClientErrorRetry resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientErrorRetry (0.10s) === RUN TestClientRetryHook resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryHook (12.25s) === RUN TestResetMultipartReaderSeekStartError resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=9956794df0071cb52eb26d76e07e1f8cc713a0b446c57b5a8a22f2a46943 --- PASS: TestResetMultipartReaderSeekStartError (0.00s) === RUN TestResetMultipartReaders resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=f9db839ac2329a613da363499d7a8135fedc95f27f75be8319f0389e0ca6 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=386856d6982634f9f65fa7af34bba9bae0e3ea1490f9a63480a75fce27aa resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=e84aeb5df32cab060b1a4cbcb403ba32d9bb01b3f78332eb256b71a0a362 --- PASS: TestResetMultipartReaders (0.26s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) === RUN TestWriteMultipartFormFileReaderEmpty --- PASS: TestWriteMultipartFormFileReaderEmpty (0.00s) === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS ok github.com/go-resty/resty 169.518s make[1]: Leaving directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install --destdir=debian/golang-github-go-resty-resty-dev/ -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-go-resty-resty-dev' in '../golang-github-go-resty-resty-dev_2.10.0-2_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1887562 and its subdirectories I: Current time: Sun Apr 27 03:19:08 -12 2025 I: pbuilder-time-stamp: 1745767148 Sun Apr 27 15:19:09 UTC 2025 I: 1st build successful. Starting 2nd build on remote node codethink03-arm64.debian.net. Sun Apr 27 15:19:09 UTC 2025 I: Preparing to do remote build '2' on codethink03-arm64.debian.net. Sun Apr 27 15:19:09 UTC 2025 - checking /var/lib/jenkins/offline_nodes if codethink03-arm64.debian.net is marked as down. Sun Apr 27 15:19:09 UTC 2025 - checking via ssh if codethink03-arm64.debian.net is up. removed '/tmp/read-only-fs-test-1380MD' ==================================================================================== Sat May 30 21:42:11 UTC 2026 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink03-arm64, called using "2 golang-github-go-resty-resty unstable /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08 2.10.0-2" as arguments. Sat May 30 21:42:11 UTC 2026 - actually running "reproducible_build.sh" (md5sum 68e686e434c9ab7bc3ec047d8b309cbc) as "/tmp/jenkins-script-KUjFSRot" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat May 30 21:42:11 UTC 2026 I: Downloading source for unstable/golang-github-go-resty-resty=2.10.0-2 Reading package lists... NOTICE: 'golang-github-go-resty-resty' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2667 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (dsc) [1742 B] Get:2 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (tar) [2661 kB] Get:3 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (diff) [3444 B] Fetched 2667 kB in 0s (46.8 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'golang-github-go-resty-resty' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-go-resty-resty.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2667 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (dsc) [1742 B] Get:2 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (tar) [2661 kB] Get:3 http://deb.debian.org/debian unstable/main golang-github-go-resty-resty 2.10.0-2 (diff) [3444 B] Fetched 2667 kB in 0s (46.8 MB/s) Download complete and in download only mode ============================================================================= Re-Building golang-github-go-resty-resty in unstable on arm64 on codethink03-arm64 now. Date: Sat May 30 22:42:11 BST 2026 Date UTC: Sat May 30 21:42:11 UTC 2026 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08 + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_tqFS + case ${ARCH} in + case $ARCH in + locale=nl_BE + language=nl + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' golang-github-go-resty-resty = debian-installer -o golang-github-go-resty-resty = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' golang-github-go-resty-resty = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_tqFS --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2 --logfile b2/build.log golang-github-go-resty-resty_2.10.0-2.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Sun May 31 11:42:11 +14 2026 I: pbuilder-time-stamp: 1780177331 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-go-resty-resty_2.10.0-2.dsc] I: copying [./golang-github-go-resty-resty_2.10.0.orig.tar.gz] I: copying [./golang-github-go-resty-resty_2.10.0-2.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./golang-github-go-resty-resty_2.10.0-2.dsc: unsupported subcommand dpkg-source: info: extracting golang-github-go-resty-resty in golang-github-go-resty-resty-2.10.0 dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0.orig.tar.gz dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Don-t-put-the-same-bytes.Buffer-into-sync.Pool-twice.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D01_modify_environment starting debug: Running on codethink03-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 30 21:42 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.37(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' INVOCATION_ID=57202c9b2bbf40d0a4a30695fc5839a7 LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=2172740 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_tqFS --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2 --logfile b2/build.log golang-github-go-resty-resty_2.10.0-2.dsc' SUDO_GID=109 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://192.168.101.4:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-golang-x-net-dev, golang-golang-x-time-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however: Package golang-golang-x-net-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-time-dev; however: Package golang-golang-x-time-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} binutils-gold{a} binutils-gold-aarch64-linux-gnu{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.24-go{a} golang-1.24-src{a} golang-any{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-golang-x-time-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 65.7 MB of archives. After unpacking 369 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main arm64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian unstable/main arm64 libmagic-mgc arm64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main arm64 libmagic1t64 arm64 1:5.46-5 [103 kB] Get: 4 http://deb.debian.org/debian unstable/main arm64 file arm64 1:5.46-5 [43.7 kB] Get: 5 http://deb.debian.org/debian unstable/main arm64 gettext-base arm64 0.23.1-2 [241 kB] Get: 6 http://deb.debian.org/debian unstable/main arm64 libuchardet0 arm64 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian unstable/main arm64 groff-base arm64 1.23.0-7 [1129 kB] Get: 8 http://deb.debian.org/debian unstable/main arm64 bsdextrautils arm64 2.41-4 [93.9 kB] Get: 9 http://deb.debian.org/debian unstable/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian unstable/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian unstable/main arm64 m4 arm64 1.4.19-8 [285 kB] Get: 12 http://deb.debian.org/debian unstable/main arm64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main arm64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main arm64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main arm64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main arm64 binutils-gold-aarch64-linux-gnu arm64 2.44-2 [1700 kB] Get: 17 http://deb.debian.org/debian unstable/main arm64 binutils-gold arm64 2.44-2 [202 kB] Get: 18 http://deb.debian.org/debian unstable/main arm64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 19 http://deb.debian.org/debian unstable/main arm64 libtool all 2.5.4-4 [539 kB] Get: 20 http://deb.debian.org/debian unstable/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 21 http://deb.debian.org/debian unstable/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 22 http://deb.debian.org/debian unstable/main arm64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 23 http://deb.debian.org/debian unstable/main arm64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 24 http://deb.debian.org/debian unstable/main arm64 libelf1t64 arm64 0.192-4 [189 kB] Get: 25 http://deb.debian.org/debian unstable/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 26 http://deb.debian.org/debian unstable/main arm64 libunistring5 arm64 1.3-2 [453 kB] Get: 27 http://deb.debian.org/debian unstable/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.4 [629 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 gettext arm64 0.23.1-2 [1611 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.24.2 [919 kB] Get: 32 http://deb.debian.org/debian unstable/main arm64 dh-golang all 1.63 [24.4 kB] Get: 33 http://deb.debian.org/debian unstable/main arm64 golang-1.24-src all 1.24.2-2 [21.2 MB] Get: 34 http://deb.debian.org/debian unstable/main arm64 golang-1.24-go arm64 1.24.2-2 [24.6 MB] Get: 35 http://deb.debian.org/debian unstable/main arm64 golang-src all 2:1.24~2 [5136 B] Get: 36 http://deb.debian.org/debian unstable/main arm64 golang-go arm64 2:1.24~2 [44.3 kB] Get: 37 http://deb.debian.org/debian unstable/main arm64 golang-any arm64 2:1.24~2 [5216 B] Get: 38 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-sys-dev all 0.22.0-1 [431 kB] Get: 39 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 40 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.22.0-1 [3995 kB] Get: 41 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] Get: 42 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] Get: 43 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] Fetched 65.7 MB in 0s (135 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19953 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_arm64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_arm64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_arm64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-7_arm64.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-4_arm64.deb ... Unpacking bsdextrautils (2.41-4) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_arm64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package binutils-gold-aarch64-linux-gnu. Preparing to unpack .../15-binutils-gold-aarch64-linux-gnu_2.44-2_arm64.deb ... Unpacking binutils-gold-aarch64-linux-gnu (2.44-2) ... Selecting previously unselected package binutils-gold. Preparing to unpack .../16-binutils-gold_2.44-2_arm64.deb ... Unpacking binutils-gold (2.44-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../23-libelf1t64_0.192-4_arm64.deb ... Unpacking libelf1t64:arm64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:arm64. Preparing to unpack .../25-libunistring5_1.3-2_arm64.deb ... Unpacking libunistring5:arm64 (1.3-2) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.12.7+dfsg+really2.9.14-0.4_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.23.1-2_arm64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.63_all.deb ... Unpacking dh-golang (1.63) ... Selecting previously unselected package golang-1.24-src. Preparing to unpack .../32-golang-1.24-src_1.24.2-2_all.deb ... Unpacking golang-1.24-src (1.24.2-2) ... Selecting previously unselected package golang-1.24-go. Preparing to unpack .../33-golang-1.24-go_1.24.2-2_arm64.deb ... Unpacking golang-1.24-go (1.24.2-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../34-golang-src_2%3a1.24~2_all.deb ... Unpacking golang-src (2:1.24~2) ... Selecting previously unselected package golang-go:arm64. Preparing to unpack .../35-golang-go_2%3a1.24~2_arm64.deb ... Unpacking golang-go:arm64 (2:1.24~2) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../36-golang-any_2%3a1.24~2_arm64.deb ... Unpacking golang-any:arm64 (2:1.24~2) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../37-golang-golang-x-sys-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../38-golang-golang-x-term-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-term-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../39-golang-golang-x-text-dev_0.22.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.22.0-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../40-golang-golang-x-crypto-dev_1%3a0.25.0-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.25.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../41-golang-golang-x-net-dev_1%3a0.27.0-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.27.0-1) ... Selecting previously unselected package golang-golang-x-time-dev. Preparing to unpack .../42-golang-golang-x-time-dev_0.5.0-1_all.deb ... Unpacking golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-golang-x-time-dev (0.5.0-1) ... Setting up golang-1.24-src (1.24.2-2) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up bsdextrautils (2.41-4) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up golang-golang-x-sys-dev (0.22.0-1) ... Setting up libmagic1t64:arm64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up binutils-gold-aarch64-linux-gnu (2.44-2) ... Setting up golang-golang-x-term-dev (0.22.0-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:arm64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:arm64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up golang-golang-x-text-dev (0.22.0-1) ... Setting up libuchardet0:arm64 (0.0.8-1+b2) ... Setting up golang-golang-x-crypto-dev (1:0.25.0-1) ... Setting up golang-src (2:1.24~2) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up binutils-gold (2.44-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.24-go (1.24.2-2) ... Setting up golang-golang-x-net-dev (1:0.27.0-1) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up golang-go:arm64 (2:1.24~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:arm64 (2:1.24~2) ... Setting up debhelper (13.24.2) ... Setting up dh-golang (1.63) ... Processing triggers for libc-bin (2.41-7) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.10.0-2_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Santiago Ruano Rincón dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/go-resty/resty internal/byteorder cmp internal/unsafeheader internal/godebugs internal/coverage/rtcov internal/goos internal/goarch unicode internal/cpu internal/asan internal/msan internal/profilerecord internal/goexperiment unicode/utf8 internal/runtime/syscall internal/runtime/math sync/atomic internal/abi math/bits crypto/internal/fips140/alias internal/itoa crypto/internal/boring/sig internal/chacha8rand crypto/internal/fips140deps/byteorder container/list unicode/utf16 crypto/internal/fips140/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 math vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding log/internal internal/bytealg internal/runtime/atomic internal/runtime/sys crypto/internal/fips140deps/cpu internal/runtime/exithook internal/stringslite internal/race internal/sync internal/runtime/maps runtime crypto/subtle iter weak sync internal/reflectlite maps slices internal/bisect unique internal/singleflight internal/testlog errors sort runtime/cgo io strconv internal/oserror math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage path internal/godebug syscall bytes strings reflect hash crypto/internal/fips140deps/godebug net/netip math/rand crypto/internal/randutil hash/crc32 crypto vendor/golang.org/x/text/transform crypto/internal/impl regexp/syntax crypto/internal/fips140 bufio net/http/internal/ascii crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/tls/internal/fips140tls crypto/sha3 crypto/internal/fips140/hmac time internal/syscall/unix internal/syscall/execenv crypto/internal/fips140hash crypto/internal/fips140/check crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 io/fs internal/poll context internal/filepathlite embed crypto/internal/fips140/nistec os internal/fmtsort encoding/binary vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 encoding/pem fmt crypto/internal/sysrand path/filepath net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdh crypto/internal/fips140/mlkem crypto/internal/fips140/rsa crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/md5 crypto/rc4 crypto/cipher crypto/des crypto/internal/boring vendor/golang.org/x/crypto/chacha20 compress/flate net/url encoding/xml log encoding/json vendor/golang.org/x/text/unicode/norm crypto/sha256 encoding/hex math/big crypto/sha512 crypto/aes crypto/ecdh crypto/hmac vendor/golang.org/x/crypto/chacha20poly1305 crypto/sha1 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/rand crypto/internal/boring/bbig encoding/asn1 crypto/dsa crypto/elliptic crypto/ed25519 crypto/internal/hpke crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http net/http/cookiejar golang.org/x/net/publicsuffix github.com/go-resty/resty debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' # Test fails if there's http_proxy, for example Ubuntu's autopkgtest infrastructure. http_proxy="" dh_auto_test cd _build && go test -vet=off -v -p 12 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:42: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 10.74036ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientBasicAuth (0.01s) === RUN TestClientAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthToken (0.02s) === RUN TestClientAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientAuthScheme (0.02s) === RUN TestClientDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:100: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.612ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestAuth (0.00s) === RUN TestClientDigestSession resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html client_test.go:120: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.24992ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestSession (0.00s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge 2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 --- PASS: TestClientDigestErrors (0.01s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext client_test.go:162: Request sent at: 2026-05-30 21:43:04.223867924 +0000 UTC m=+0.063201121 client_test.go:163: Response Received at: 2026-05-30 21:43:04.224469044 +0000 UTC m=+0.063802241 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-11 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-12 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-13 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-14 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-15 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-16 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-17 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-18 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-19 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-20 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 --- PASS: TestClientRedirectPolicy (0.01s) === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test --- PASS: TestClientTimeout (6.01s) === RUN TestClientTimeoutWithinThreshold resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence --- PASS: TestClientTimeoutWithinThreshold (4.01s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy --- PASS: TestClientProxy (0.00s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate --- PASS: TestClientSetRootCertificate (0.00s) === RUN TestClientSetRootCertificateNotExists --- PASS: TestClientSetRootCertificateNotExists (0.00s) === RUN TestClientSetRootCertificateFromString --- PASS: TestClientSetRootCertificateFromString (0.00s) === RUN TestClientSetRootCertificateFromStringErrorTls --- PASS: TestClientSetRootCertificateFromStringErrorTls (0.00s) === RUN TestClientOnBeforeRequestModification resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 725.44µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) === RUN TestClientSetHeaderVerbatim --- PASS: TestClientSetHeaderVerbatim (0.00s) === RUN TestClientSetTransport --- PASS: TestClientSetTransport (0.00s) === RUN TestClientSetScheme --- PASS: TestClientSetScheme (0.00s) === RUN TestClientSetCookieJar --- PASS: TestClientSetCookieJar (0.00s) === RUN TestClientOptions --- PASS: TestClientOptions (0.00s) === RUN TestContentLengthWhenBodyIsNil --- PASS: TestContentLengthWhenBodyIsNil (0.00s) === RUN TestClientPreRequestHook resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestClientPreRequestHook (0.00s) === RUN TestClientAllowsGetMethodPayload resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayload (0.00s) === RUN TestClientAllowsGetMethodPayloadIoReader resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadIoReader (0.00s) === RUN TestClientAllowsGetMethodPayloadDisabled resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test --- PASS: TestClientAllowsGetMethodPayloadDisabled (0.00s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest --- PASS: TestClientNewRequest (0.00s) === RUN TestClientSetJSONMarshaler --- PASS: TestClientSetJSONMarshaler (0.00s) === RUN TestClientSetJSONUnmarshaler --- PASS: TestClientSetJSONUnmarshaler (0.00s) === RUN TestClientSetXMLMarshaler --- PASS: TestClientSetXMLMarshaler (0.00s) === RUN TestClientSetXMLUnmarshaler --- PASS: TestClientSetXMLUnmarshaler (0.00s) === RUN TestDebugBodySizeLimit resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /no-content resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /json-invalid resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestDebugBodySizeLimit (0.00s) === RUN TestAutoGzip resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.43876ms resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: This is Gzip response testing resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-gziped-empty-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.07784ms resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-no-gziped-body resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 317.32µs resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestAutoGzip (0.00s) === RUN TestLogCallbacks resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestLogCallbacks (0.02s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestNewWithLocalAddr (0.00s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === PAUSE TestClientOnResponseError/successful_request === RUN TestClientOnResponseError/http_status_error === PAUSE TestClientOnResponseError/http_status_error === RUN TestClientOnResponseError/before_request_error === PAUSE TestClientOnResponseError/before_request_error === RUN TestClientOnResponseError/before_request_error_retry === PAUSE TestClientOnResponseError/before_request_error_retry === RUN TestClientOnResponseError/after_response_error === PAUSE TestClientOnResponseError/after_response_error === RUN TestClientOnResponseError/after_response_error_retry === PAUSE TestClientOnResponseError/after_response_error_retry === RUN TestClientOnResponseError/panic_with_error === PAUSE TestClientOnResponseError/panic_with_error === RUN TestClientOnResponseError/panic_with_string === PAUSE TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError/panic_with_error === CONT TestClientOnResponseError/before_request_error === CONT TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError/http_status_error === CONT TestClientOnResponseError/before_request_error_retry === NAME TestClientOnResponseError/successful_request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/after_response_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF === NAME TestClientOnResponseError/http_status_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer BAD === NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) --- PASS: TestClientOnResponseError/panic_with_error (0.00s) --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/panic_with_string (0.00s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/after_response_error (0.02s) --- PASS: TestClientOnResponseError/http_status_error (0.02s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.30s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.32s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 client_test.go:960: ts.URL: http://127.0.0.1:44665 client_test.go:961: targetURL.Host: 127.0.0.1:44665 client_test.go:989: with leading `/` on request & with trailing `/` on host url resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestHostURLForGH318AndGH407 (0.00s) === RUN TestPostRedirectWithBody client_test.go:1003: ts.URL: http://127.0.0.1:39331 client_test.go:1004: targetURL.Host: 127.0.0.1:39331 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6945097811003066448 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8313213837240169641 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6581025293732700272 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8464673204929001124 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6174345139425439245 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1969321511910501054 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5178044382717628784 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=425015600849957323 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1743452539865923125 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9058912048591607117 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3222893061062652536 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=741399840738404844 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5918001157325688893 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4945053874333224094 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4226694842223532663 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7827442046913246465 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6293052904694203761 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2981749035246031850 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=3182247718365945414 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8966419581394117800 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=1681008061842027566 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3044464279638065819 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=9144801349148232162 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=1787909086995587814 resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=3340509591447727470 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=7813339489939969775 resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: body=6109548289520898291 resty_test.go:246: RawQuery: body=1625763655940819435 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1076351471150154937 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5937029043682553491 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5516151782686212652 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7790279241432917083 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9027152642257925451 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1503865698019853601 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2036985623798725715 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3452521570935554199 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7884552133704875878 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2022334881706439583 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9104828442920507741 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2533611876203884119 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7771202470164928059 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=759562645175848242 resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=4335289714193666398 resty_test.go:246: RawQuery: body=7105867516180986533 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6237343955134293978 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6079154435205827458 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9157128134842529585 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2936361894924670792 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3569670268624203233 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5261980777148111196 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1075064069223570904 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2469234200436662628 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2682337683411800137 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2160245762484349243 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=954370474983040888 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4939183317160189426 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=61429433852274262 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6760158414730593917 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6389649434295567722 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4363645754621954735 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=538391346188210779 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=693047439702990963 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5961395264477828415 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=3103765139492956138 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3096365053080986760 resty_test.go:246: RawQuery: body=1694533347223236402 resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=5882069769946257819 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5766081722093217596 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=7183304512207376934 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=5829102375164085796 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6957290529825669316 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=2612133593422827570 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1666122446361135470 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=3931698541709654197 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5124166411106886180 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=9072769880034033288 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=6046370462263695125 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4467071712600301363 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5740090683528190359 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=877664385013838372 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8453667763968630137 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=8014054968816514096 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5519441895102622500 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=2694072062477697533 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=1387897813457431228 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:246: RawQuery: body=3216313177851906946 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=6131449415949617209 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=8935898274860028711 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=1315127494437808220 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=125742205127377677 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=5571831474250494300 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=3195386038312069864 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=8139078660519632772 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=7578616160437933301 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=3569038729071438524 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=5350202309280966803 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=826684956957958941 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=16280330486771752 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: body=1952572961181129205 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: body=4162920964942502167 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 --- PASS: TestPostRedirectWithBody (0.09s) === RUN TestUnixSocket --- PASS: TestUnixSocket (0.00s) === RUN TestSetContext resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 668.72µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) === RUN TestSetContextWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 511.56µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestSetContextWithError (0.00s) === RUN TestSetContextCancel context_test.go:57: Server: GET / context_test.go:62: Server: wrote 30 bytes context_test.go:63: Server: err is context_test.go:82: Error: Get "http://127.0.0.1:46391/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is context_test.go:125: Error: Get "http://127.0.0.1:34017/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is context_test.go:168: Error: Get "http://127.0.0.1:35329/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / --- PASS: TestClientRetryWithSetContext (5.55s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL === RUN Test_parseRequestURL/apply_client_path_parameters === RUN Test_parseRequestURL/apply_request_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_path_parameters === RUN Test_parseRequestURL/apply_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_raw_path_parameters === RUN Test_parseRequestURL/apply_request_and_client_raw_path_parameters === RUN Test_parseRequestURL/apply_request_path_and_raw_path_parameters === RUN Test_parseRequestURL/empty_path_parameter_in_URL === RUN Test_parseRequestURL/not_closed_path_parameter_in_URL === RUN Test_parseRequestURL/extra_path_parameter_in_URL === RUN Test_parseRequestURL/_path_parameter_with_remainder === RUN Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash === RUN Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash === RUN Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL === RUN Test_parseRequestURL/request_URL_without_scheme === RUN Test_parseRequestURL/BaseURL_without_scheme === RUN Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme === RUN Test_parseRequestURL/adding_query_parameters_by_client === RUN Test_parseRequestURL/adding_query_parameters_by_request === RUN Test_parseRequestURL/adding_query_parameters_by_client_and_request === RUN Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent === RUN Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values --- PASS: Test_parseRequestURL (0.00s) --- PASS: Test_parseRequestURL/apply_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_and_client_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/apply_request_path_and_raw_path_parameters (0.00s) --- PASS: Test_parseRequestURL/empty_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/not_closed_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/extra_path_parameter_in_URL (0.00s) --- PASS: Test_parseRequestURL/_path_parameter_with_remainder (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_absolute_URL_in_request (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_without_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_BaseURL_with_relative_path_in_request_URL_wit_leading_slash (0.00s) --- PASS: Test_parseRequestURL/using_deprecated_HostURL_with_relative_path_in_request_URL (0.00s) --- PASS: Test_parseRequestURL/request_URL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/using_SetScheme_and_BaseURL_without_scheme (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_client_and_request (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_to_URL_with_existent (0.00s) --- PASS: Test_parseRequestURL/adding_query_parameters_by_request_with_multiple_values (0.00s) === RUN Test_parseRequestHeader === RUN Test_parseRequestHeader/headers_in_request === RUN Test_parseRequestHeader/headers_in_client === RUN Test_parseRequestHeader/headers_in_client_and_request === RUN Test_parseRequestHeader/no_headers === RUN Test_parseRequestHeader/user_agent === RUN Test_parseRequestHeader/json_content_type --- PASS: Test_parseRequestHeader (0.00s) --- PASS: Test_parseRequestHeader/headers_in_request (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client (0.00s) --- PASS: Test_parseRequestHeader/headers_in_client_and_request (0.00s) --- PASS: Test_parseRequestHeader/no_headers (0.00s) --- PASS: Test_parseRequestHeader/user_agent (0.00s) --- PASS: Test_parseRequestHeader/json_content_type (0.00s) === RUN Test_parseRequestBody === RUN Test_parseRequestBody/empty_body === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/empty_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/string_body === RUN Test_parseRequestBody/string_body_with_GET_method === RUN Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload === RUN Test_parseRequestBody/string_body_with_HEAD_method === RUN Test_parseRequestBody/string_body_with_OPTIONS_method === RUN Test_parseRequestBody/string_body_with_POST_method === RUN Test_parseRequestBody/string_body_with_PATCH_method === RUN Test_parseRequestBody/string_body_with_PUT_method === RUN Test_parseRequestBody/string_body_with_DELETE_method === RUN Test_parseRequestBody/string_body_with_CONNECT_method === RUN Test_parseRequestBody/string_body_with_TRACE_method === RUN Test_parseRequestBody/string_body_with_BAR_method === RUN Test_parseRequestBody/byte_body === RUN Test_parseRequestBody/io.Reader_body,_no_bodyBuf === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request === RUN Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client === RUN Test_parseRequestBody/form_data_by_request === RUN Test_parseRequestBody/form_data_by_client === RUN Test_parseRequestBody/form_data_by_client_and_request === RUN Test_parseRequestBody/json_from_struct === RUN Test_parseRequestBody/json_from_slice === RUN Test_parseRequestBody/json_from_map === RUN Test_parseRequestBody/json_from_map#01 === RUN Test_parseRequestBody/json_from_map#02 === RUN Test_parseRequestBody/xml_from_struct === RUN Test_parseRequestBody/mulipart_form_data middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "baz":"4", "foo":"5", "xyz":"6"} === RUN Test_parseRequestBody/mulipart_fields middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/mulipart_files middleware_test.go:904: in case of an error, the expected body should be set as json for object: map[string]interface {}{"bar":"2", "foo":"1"} === RUN Test_parseRequestBody/body_with_errorReader === RUN Test_parseRequestBody/unsupported_type === RUN Test_parseRequestBody/unsupported_xml === RUN Test_parseRequestBody/multipart_fields_with_errorReader === RUN Test_parseRequestBody/multipart_files_with_errorReader === RUN Test_parseRequestBody/multipart_with_file_not_found --- PASS: Test_parseRequestBody (0.00s) --- PASS: Test_parseRequestBody/empty_body (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/empty_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/string_body (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_GET_method_and_AllowGetMethodPayload (0.00s) --- PASS: Test_parseRequestBody/string_body_with_HEAD_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_OPTIONS_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_POST_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PATCH_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_PUT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_DELETE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_CONNECT_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_TRACE_method (0.00s) --- PASS: Test_parseRequestBody/string_body_with_BAR_method (0.00s) --- PASS: Test_parseRequestBody/byte_body (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body,_no_bodyBuf (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_request (0.00s) --- PASS: Test_parseRequestBody/io.Reader_body_with_SetContentLength_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_request (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client (0.00s) --- PASS: Test_parseRequestBody/form_data_by_client_and_request (0.00s) --- PASS: Test_parseRequestBody/json_from_struct (0.00s) --- PASS: Test_parseRequestBody/json_from_slice (0.00s) --- PASS: Test_parseRequestBody/json_from_map (0.00s) --- PASS: Test_parseRequestBody/json_from_map#01 (0.00s) --- PASS: Test_parseRequestBody/json_from_map#02 (0.00s) --- PASS: Test_parseRequestBody/xml_from_struct (0.00s) --- PASS: Test_parseRequestBody/mulipart_form_data (0.00s) --- PASS: Test_parseRequestBody/mulipart_fields (0.00s) --- PASS: Test_parseRequestBody/mulipart_files (0.00s) --- PASS: Test_parseRequestBody/body_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/unsupported_type (0.00s) --- PASS: Test_parseRequestBody/unsupported_xml (0.00s) --- PASS: Test_parseRequestBody/multipart_fields_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_files_with_errorReader (0.00s) --- PASS: Test_parseRequestBody/multipart_with_file_not_found (0.00s) === RUN TestGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 835.88µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGet (0.00s) === RUN TestGetGH524 resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/groups/developers/details --- PASS: TestGetGH524 (0.00s) === RUN TestRateLimiter resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRateLimiter (0.19s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 808.52µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) === RUN TestGetClientParamRequestParam resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 707.28µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) === RUN TestGetRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 679.04µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) === RUN TestGet400Error resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 631.2µs resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestGet400Error (0.00s) === RUN TestPostJSONStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 752.96µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:158: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 461.96µs resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) === RUN TestPostJSONBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 745.32µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) === RUN TestPostJSONBytesIoReader resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 757.8µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) === RUN TestPostJSONStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:272: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 641.44µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) === RUN TestPostJSONRPCStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=rpc resty_test.go:247: Content-Type: application/json-rpc request_test.go:294: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 755.4µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) === RUN TestPostJSONStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:319: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 1.71072ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) === RUN TestPostJSONErrorRFC7807 resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: ct=problem resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:341: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 753.04µs resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) === RUN TestPostJSONMapSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:361: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 683.68µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:382: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 793.28µs resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 resty_test.go:244: Method: POST resty_test.go:245: Path: /login-json-html resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:436: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 711.52µs resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1780177400 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 709.32µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml resty_test.go:183: Error: XML syntax error on line 1: element closed by resty_test.go:877: Response Status: 400 Bad Request resty_test.go:878: Response Time: 989.4µs resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: request_no=1780177400 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 844.44µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) === RUN TestPostXMLStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:536: Result Success: &{"" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 700.56µs resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) === RUN TestPostXMLStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:557: Result Error: &{"" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 789.76µs resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/xml request_test.go:575: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 705.08µs resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:608: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 15.42428ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.02s) === RUN TestRequestInsecureBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:633: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 743.96µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } request_test.go:635: captured request-level logs: 2026/05/30 21:43:20.504433 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS --- PASS: TestRequestInsecureBasicAuth (0.00s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST resty_test.go:479: Path: /login resty_test.go:480: Content-Type: resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:653: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 15.57024ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.02s) === RUN TestRequestAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthToken (0.02s) === RUN TestRequestAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request --- PASS: TestRequestAuthScheme (0.02s) === RUN TestRequestDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:704: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.62612ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuth (0.00s) === RUN TestRequestDigestAuthFail resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html request_test.go:721: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized resty_test.go:878: Response Time: 1.41336ms resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestDigestAuthFail (0.00s) === RUN TestRequestDigestAuthWithBody resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html request_test.go:740: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 1.39732ms resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuthWithBody (0.00s) === RUN TestFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormData (0.00s) === RUN TestMultiValueFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /search resty_test.go:322: Content-Type: resty_test.go:337: Received Form Encoded values: search_criteria=book&search_criteria=glass&search_criteria=pencil --- PASS: TestMultiValueFormData (0.00s) === RUN TestFormDataDisableWarn resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 --- PASS: TestFormDataDisableWarn (0.00s) === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=7c6ead9e4ae4b6f18215559e6e58ad9269306b1fc8bc9715e46286f0ce4e resty_test.go:345: FirstName: resty_test.go:346: LastName: resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1780177400.png --- PASS: TestMultiPartUploadFile (0.02s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload resty_test.go:387: Content-Type: multipart/form-data; boundary=272f8620358ed2b28a1910ec6ac3783f65b34b794cb3c906afb5d1758eaf resty_test.go:393: FirstName: resty_test.go:394: LastName: resty_test.go:401: Name: test-img.png resty_test.go:402: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:406: Write name: test-img-1780177400.png --- PASS: TestMultiPartUploadFileViaPatch (0.01s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=1932f082fac0d1a2ec0a222abcc826794adf4cd4fe2559f2257b652ccb89 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1780177400.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1780177400.txt --- PASS: TestMultiPartUploadFiles (0.02s) === RUN TestMultiPartIoReaderFiles request_test.go:904: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=e7e7f76c257ea1e691bc64b45351f944b76ce3782f194089bedb79679028 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] resty_test.go:358: Write name: test-img-1780177400.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] resty_test.go:358: Write name: text-file-1780177400.txt --- PASS: TestMultiPartIoReaderFiles (0.02s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: multipart/form-data; boundary=e6f7e005db3713cd27f498abb20b425de013d3f5087e5d935718ba945f45 resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 --- PASS: TestMultiPartFormData (0.00s) === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=09de0a69bbbfcbdffad46a02d7766136cf923dbcec99382d3d09f8ba7fff resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1780177400.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload resty_test.go:322: Content-Type: multipart/form-data; boundary=d7d43fc4b2446f4502ebd4f359c2138a649ade95308a32035ad557d30c84 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file-1.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-1-1780177400.json resty_test.go:353: Name: upload-file-2.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] resty_test.go:358: Write name: upload-file-2-1780177400.json --- PASS: TestMultiPartMultipartFields (0.00s) === RUN TestGetWithCookie resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 609.36µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) === RUN TestGetWithCookies resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 322.8µs resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) === RUN TestPutPlainString resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestPutPlainString (0.00s) === RUN TestPutJSONString resty_test.go:536: Method: PUT resty_test.go:537: Path: /json --- PASS: TestPutJSONString (0.00s) === RUN TestPutXMLString resty_test.go:536: Method: PUT resty_test.go:537: Path: /xml --- PASS: TestPutXMLString (0.00s) === RUN TestOnBeforeMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestOnBeforeMiddleware (0.00s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-5 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-6 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-7 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-8 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 --- PASS: TestHTTPAutoRedirectUpTo10 (0.00s) === RUN TestHostCheckRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-1 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-2 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-3 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-4 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-5 --- PASS: TestHostCheckRedirectPolicy (0.00s) === RUN TestHeadMethod resty_test.go:44: Method: HEAD resty_test.go:45: Path: / --- PASS: TestHeadMethod (0.00s) === RUN TestOptionsMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options --- PASS: TestOptionsMethod (0.00s) === RUN TestPatchMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch --- PASS: TestPatchMethod (0.00s) === RUN TestSendMethod === RUN TestSendMethod/send-get === NAME TestSendMethod resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test === RUN TestSendMethod/send-options === NAME TestSendMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options === RUN TestSendMethod/send-patch === NAME TestSendMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch === RUN TestSendMethod/send-put === NAME TestSendMethod resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext --- PASS: TestSendMethod (0.00s) --- PASS: TestSendMethod/send-get (0.00s) --- PASS: TestSendMethod/send-options (0.00s) --- PASS: TestSendMethod/send-patch (0.00s) --- PASS: TestSendMethod/send-put (0.00s) === RUN TestRawFileUploadByBody resty_test.go:320: Method: PUT resty_test.go:321: Path: /raw-upload resty_test.go:322: Content-Type: image/png --- PASS: TestRawFileUploadByBody (0.51s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient --- PASS: TestGetClient (0.00s) === RUN TestIncorrectURL --- PASS: TestIncorrectURL (0.00s) === RUN TestDetectContentTypeForPointer resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1392: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 793.8µs resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1420: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 822.8µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1445: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 923.32µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) === RUN TestDetectContentTypeForSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json request_test.go:1467: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted resty_test.go:878: Response Time: 736.04µs resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) === RUN TestMultiParamsQueryString resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestMultiParamsQueryString (0.00s) === RUN TestSetQueryStringTypical resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestSetQueryStringTypical (0.00s) === RUN TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestSetHeaderMultipleValue --- PASS: TestSetHeaderMultipleValue (0.00s) === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileWithBaseDirAndRelativePath (0.01s) === RUN TestOutputFileWithBaseDirError --- PASS: TestOutputFileWithBaseDirError (0.00s) === RUN TestOutputPathDirNotExists resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputPathDirNotExists (0.01s) === RUN TestOutputFileAbsPath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png --- PASS: TestOutputFileAbsPath (0.01s) === RUN TestContextInternal resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestContextInternal (0.00s) === RUN TestSRV --- PASS: TestSRV (0.00s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / --- PASS: TestRequestDoNotParseResponse (0.00s) === RUN TestRequestExpectContentTypeTest resty_test.go:536: Method: GET resty_test.go:537: Path: /json-no-set --- PASS: TestRequestExpectContentTypeTest (0.00s) === RUN TestGetPathParamAndPathParams resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/details resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 685.36µs resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) === RUN TestReportMethodSupportsPayload resty_test.go:536: Method: REPORT resty_test.go:537: Path: /report --- PASS: TestReportMethodSupportsPayload (0.00s) === RUN TestRequestQueryStringOrder resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 614.96µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) === RUN TestRequestOverridesClientAuthorizationHeader resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestRequestOverridesClientAuthorizationHeader (0.02s) === RUN TestRequestFileUploadAsReader resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png --- PASS: TestRequestFileUploadAsReader (0.04s) === RUN TestHostHeaderOverride resty_test.go:44: Method: GET resty_test.go:45: Path: /host-header resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 883.72µs resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) === RUN TestNotFoundWithError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-with-error resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 746.24µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} --- PASS: TestNotFoundWithError (0.00s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error 2026/05/30 21:43:21.273000 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input resty_test.go:877: Response Status: 404 Not Found resty_test.go:878: Response Time: 712.96µs resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestNotFoundWithoutError (0.00s) === RUN TestPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 753.52µs resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users%2Fdevelopers/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.00s) === RUN TestRawPathParamURLInput resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 618.12µs resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users/developers/https://example.com --- PASS: TestRawPathParamURLInput (0.00s) === RUN TestTraceInfo resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfo (0.00s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: /json resty_test.go:44: Method: GET resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json --- PASS: TestTraceInfoWithoutEnableTrace (0.00s) === RUN TestTraceInfoOnTimeout --- PASS: TestTraceInfoOnTimeout (0.00s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=40a4ac530a5125b5879a59457cff86172a97531c9cfdaf591381efe62b36 resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: multipart/form-data; boundary=fe78f91c81a88327858d38b656d5851b367b4156248ad1c80d84b33947d5 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded resty_test.go:328: FirstName: Alex resty_test.go:329: LastName: C resty_test.go:330: City: resty_test.go:331: Zip Code: 00001 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: text/plain; charset=utf-8 resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/json resty_test.go:328: FirstName: resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: --- PASS: TestDebugLoggerRequestBodyTooLarge (0.02s) === RUN TestPostMapTemporaryRedirect resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json resty_test.go:244: Method: POST resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json --- PASS: TestPostMapTemporaryRedirect (0.00s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess --- PASS: TestBackoffSuccess (0.24s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition --- PASS: TestConditionalBackoffCondition (0.22s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff --- PASS: TestOnRetryBackoff (0.00s) === RUN TestConditionalGet resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 857.6µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) === RUN TestConditionalGetDefaultClient resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK resty_test.go:878: Response Time: 669.24µs resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) === RUN TestClientRetryGet resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryGet (15.69s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWait (26.43s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxInfinite (15.06s) === RUN TestClientRetryWaitMaxMinimum resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitMaxMinimum (0.10s) === RUN TestClientRetryWaitCallbackError resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackError (0.00s) === RUN TestClientRetryWaitCallback resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:395: Client has slept 5.022934 seconds before retry 1 retry_test.go:395: Client has slept 5.023834 seconds before retry 2 retry_test.go:395: Client has slept 5.023972 seconds before retry 3 retry_test.go:395: Client has slept 5.019990 seconds before retry 4 retry_test.go:395: Client has slept 5.027989 seconds before retry 5 --- PASS: TestClientRetryWaitCallback (25.12s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:443: Client has slept 3.011385 seconds before retry 1 retry_test.go:443: Client has slept 3.015987 seconds before retry 2 retry_test.go:443: Client has slept 3.007983 seconds before retry 3 retry_test.go:443: Client has slept 3.012027 seconds before retry 4 retry_test.go:443: Client has slept 3.012009 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooShort (15.06s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test retry_test.go:491: Client has slept 3.015371 seconds before retry 1 retry_test.go:491: Client has slept 3.016012 seconds before retry 2 retry_test.go:491: Client has slept 3.012041 seconds before retry 3 retry_test.go:491: Client has slept 3.011980 seconds before retry 4 retry_test.go:491: Client has slept 3.015973 seconds before retry 5 --- PASS: TestClientRetryWaitCallbackTooLong (15.07s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryWaitCallbackSwitchToDefault (9.01s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test --- PASS: TestClientRetryCancel (2.01s) === RUN TestClientRetryPost resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap resty_test.go:246: RawQuery: status=500 resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] retry_test.go:619: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] --- PASS: TestClientRetryPost (0.48s) === RUN TestClientRetryErrorRecover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientRetryErrorRecover (0.10s) === RUN TestClientRetryCount resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryCount (9.13s) === RUN TestClientErrorRetry resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover --- PASS: TestClientErrorRetry (0.10s) === RUN TestClientRetryHook resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test --- PASS: TestClientRetryHook (12.33s) === RUN TestResetMultipartReaderSeekStartError resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=e59c830e7d54df2428c70d0afb81ddb17b3fb25d8c726ca356adc9278428 --- PASS: TestResetMultipartReaderSeekStartError (0.00s) === RUN TestResetMultipartReaders resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=dc8d642ec5697900f1821f8e5f9ecd53249bca841e70f9c1970e7a71aa85 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=ded911c121b1c74de6ab2910bef3ea3b606dda49a4178bb0cc9615d9bf84 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test resty_test.go:435: Content-Type: multipart/form-data; boundary=d24e2ed6ab40242751e08a5a1c2332cfe6c92a2d2b9ef4b9a2f8393845cb --- PASS: TestResetMultipartReaders (0.25s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType --- PASS: TestIsXMLType (0.00s) === RUN TestWriteMultipartFormFileReaderEmpty --- PASS: TestWriteMultipartFormFileReaderEmpty (0.00s) === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS ok github.com/go-resty/resty 163.687s make[1]: Leaving directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install --destdir=debian/golang-github-go-resty-resty-dev/ -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-go-resty-resty-dev' in '../golang-github-go-resty-resty-dev_2.10.0-2_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-go-resty-resty_2.10.0-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2172740 and its subdirectories I: Current time: Sun May 31 11:45:55 +14 2026 I: pbuilder-time-stamp: 1780177555 + false + set +x Sat May 30 21:45:55 UTC 2026 I: Signing ./b2/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo as golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc Sat May 30 21:45:55 UTC 2026 I: Signed ./b2/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo as ./b2/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc Sat May 30 21:45:55 UTC 2026 - build #2 for golang-github-go-resty-resty/unstable/arm64 on codethink03-arm64 done. Starting cleanup. All cleanup done. Sat May 30 21:45:55 UTC 2026 - reproducible_build.sh stopped running as /tmp/jenkins-script-KUjFSRot, removing. /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08: total 176 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 15:19 b1 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 15:22 b2 -rw-r--r-- 1 jenkins jenkins 1742 Apr 25 21:23 golang-github-go-resty-resty_2.10.0-2.dsc -rw------- 1 jenkins jenkins 160931 Apr 27 15:19 rbuildlog.9zoNZK5 /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1: total 2772 -rw-r--r-- 1 jenkins jenkins 157626 Apr 27 15:19 build.log -rw-r--r-- 1 jenkins jenkins 2637016 Apr 27 15:19 golang-github-go-resty-resty-dev_2.10.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 3444 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1742 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2.dsc -rw-r--r-- 1 jenkins jenkins 5172 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6054 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1375 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 1541 Apr 27 15:19 golang-github-go-resty-resty_2.10.0-2_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2: total 2764 -rw-r--r-- 1 jenkins jenkins 159451 Apr 27 15:22 build.log -rw-r--r-- 1 jenkins jenkins 2637016 Apr 27 15:22 golang-github-go-resty-resty-dev_2.10.0-2_all.deb -rw-r--r-- 1 jenkins jenkins 3444 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1742 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2.dsc -rw-r--r-- 1 jenkins jenkins 5172 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6054 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1375 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2_arm64.changes -rw-r--r-- 1 jenkins jenkins 1541 Apr 27 15:22 golang-github-go-resty-resty_2.10.0-2_source.changes Sun Apr 27 15:22:56 UTC 2025 I: Deleting $TMPDIR on codethink03-arm64.debian.net. Sun Apr 27 15:22:57 UTC 2025 I: golang-github-go-resty-resty_2.10.0-2_arm64.changes: Format: 1.8 Date: Fri, 25 Apr 2025 16:51:11 -0300 Source: golang-github-go-resty-resty Binary: golang-github-go-resty-resty-dev Architecture: all Version: 2.10.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team Changed-By: Santiago Ruano Rincón Description: golang-github-go-resty-resty-dev - Simple HTTP and REST client library for Go Closes: 1057226 Changes: golang-github-go-resty-resty (2.10.0-2) unstable; urgency=medium . * Team upload. * CVE-2023-45286: A race condition in go-resty can result in HTTP request body disclosure across requests (Closes: #1057226) Checksums-Sha1: 8ee51ced07730bed74f0b14c862c9ade0ba6f1b5 2637016 golang-github-go-resty-resty-dev_2.10.0-2_all.deb c854bc8c254aa8b49f21d022d7f8df4f61220fc6 5172 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo Checksums-Sha256: 44bb7f66953ee0e8ea48e7e20bbee7c9faa63fededa9abccef35b884ac75244e 2637016 golang-github-go-resty-resty-dev_2.10.0-2_all.deb 45ab8394f24f7b807bf788f10471782660c7f9497b37fdd91e03dc75cea8a035 5172 golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo Files: 86a1b9c75d8f96ed76dae00c253b05b2 2637016 golang optional golang-github-go-resty-resty-dev_2.10.0-2_all.deb 5bffde5c322c392ba773f132373ddeb8 5172 golang optional golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.rbuild.log.gz' Diff of the two buildlogs: -- --- b1/build.log 2025-04-27 15:19:09.014225707 +0000 +++ b2/build.log 2025-04-27 15:22:56.469445628 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 27 03:15:12 -12 2025 -I: pbuilder-time-stamp: 1745766912 +I: Current time: Sun May 31 11:42:11 +14 2026 +I: pbuilder-time-stamp: 1780177331 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 0001-Don-t-put-the-same-bytes.Buffer-into-sync.Pool-twice.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 30 21:42 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='8650213c6c3649b38f6325d7c56f4b75' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1887562' - PS1='# ' - PS2='> ' + INVOCATION_ID=57202c9b2bbf40d0a4a30695fc5839a7 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2172740 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_SorN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1 --logfile b1/build.log golang-github-go-resty-resty_2.10.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/pbuilderrc_tqFS --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2 --logfile b2/build.log golang-github-go-resty-resty_2.10.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1887562/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -156,7 +188,7 @@ Get: 41 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] Get: 42 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-net-dev all 1:0.27.0-1 [898 kB] Get: 43 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] -Fetched 65.7 MB in 0s (156 MB/s) +Fetched 65.7 MB in 0s (135 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19953 files and directories currently installed.) @@ -343,7 +375,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.10.0-2_source.changes +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-go-resty-resty-2.10.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-go-resty-resty_2.10.0-2_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-2 dpkg-buildpackage: info: source distribution unstable @@ -362,175 +398,175 @@ dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/go-resty/resty -internal/profilerecord +internal/byteorder +cmp +internal/unsafeheader +internal/godebugs +internal/coverage/rtcov internal/goos internal/goarch -internal/godebugs +unicode +internal/cpu internal/asan -internal/unsafeheader -internal/coverage/rtcov +internal/msan +internal/profilerecord internal/goexperiment -math/bits unicode/utf8 -unicode -cmp +internal/runtime/syscall internal/runtime/math +sync/atomic internal/abi -internal/byteorder -internal/itoa -internal/msan -internal/cpu -internal/runtime/syscall +math/bits crypto/internal/fips140/alias +internal/itoa crypto/internal/boring/sig -sync/atomic -math +internal/chacha8rand crypto/internal/fips140deps/byteorder container/list -internal/chacha8rand unicode/utf16 crypto/internal/fips140/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 +math vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding log/internal internal/bytealg -crypto/internal/fips140deps/cpu internal/runtime/atomic internal/runtime/sys +crypto/internal/fips140deps/cpu internal/runtime/exithook internal/stringslite internal/race -internal/runtime/maps internal/sync +internal/runtime/maps runtime -internal/reflectlite -sync -iter crypto/subtle +iter weak -slices +sync +internal/reflectlite maps +slices internal/bisect -internal/testlog -internal/singleflight unique -runtime/cgo +internal/singleflight +internal/testlog errors sort -internal/godebug +runtime/cgo io strconv internal/oserror -path math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage +path +internal/godebug +syscall bytes strings -syscall reflect -crypto/internal/fips140deps/godebug hash +crypto/internal/fips140deps/godebug +net/netip math/rand crypto/internal/randutil -net/netip hash/crc32 crypto vendor/golang.org/x/text/transform -bufio -crypto/internal/fips140 crypto/internal/impl -net/http/internal/ascii regexp/syntax +crypto/internal/fips140 +bufio +net/http/internal/ascii crypto/internal/fips140/sha256 -crypto/tls/internal/fips140tls crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 +crypto/tls/internal/fips140tls crypto/sha3 crypto/internal/fips140/hmac +time +internal/syscall/unix +internal/syscall/execenv crypto/internal/fips140hash crypto/internal/fips140/check crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/bigmod -crypto/internal/fips140/tls12 crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/bigmod crypto/internal/fips140/hkdf +crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 -time -internal/syscall/unix -internal/syscall/execenv -crypto/internal/fips140/nistec -internal/fmtsort -encoding/binary +io/fs internal/poll context -io/fs internal/filepathlite embed +crypto/internal/fips140/nistec +os +internal/fmtsort +encoding/binary vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 -os encoding/pem fmt crypto/internal/sysrand -net path/filepath +net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa -crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa -crypto/rc4 +crypto/internal/fips140/ecdsa +crypto/internal/fips140/ed25519 crypto/md5 +crypto/rc4 +crypto/cipher +crypto/des +crypto/internal/boring +vendor/golang.org/x/crypto/chacha20 compress/flate -encoding/hex -math/big net/url +encoding/xml log encoding/json -crypto/cipher -encoding/xml vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack -mime -mime/quotedprintable -vendor/golang.org/x/text/unicode/bidi -net/http/internal -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/sha256 +encoding/hex +math/big crypto/sha512 crypto/aes -compress/gzip crypto/ecdh crypto/hmac -crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 +crypto/sha1 +vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/net/http2/hpack +mime +mime/quotedprintable +net/http/internal +compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/rand -crypto/elliptic crypto/internal/boring/bbig -crypto/dsa encoding/asn1 +crypto/dsa +crypto/elliptic crypto/ed25519 crypto/internal/hpke crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -551,11 +587,11 @@ resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== client_test.go:42: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 17.072918ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] + resty_test.go:878: Response Time: 10.74036ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientBasicAuth (0.02s) +--- PASS: TestClientBasicAuth (0.01s) === RUN TestClientAuthToken resty_test.go:478: Method: GET resty_test.go:479: Path: /profile @@ -579,8 +615,8 @@ resty_test.go:691: Path: /dir/index.html client_test.go:100: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.153367ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] + resty_test.go:878: Response Time: 1.612ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestAuth (0.00s) @@ -591,44 +627,44 @@ resty_test.go:691: Path: /dir/index.html client_test.go:120: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 844.526µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:13 GMT]] + resty_test.go:878: Response Time: 1.24992ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:04 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestClientDigestSession (0.00s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge -2025/04/27 15:16:13 RoundTripper returned a response & error; ignoring response +2026/05/30 21:43:04 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 --- PASS: TestClientDigestErrors (0.01s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext - client_test.go:162: Request sent at: 2025-04-27 15:16:13.77826502 +0000 UTC m=+0.067301824 - client_test.go:163: Response Received at: 2025-04-27 15:16:13.778784064 +0000 UTC m=+0.067820828 + client_test.go:162: Request sent at: 2026-05-30 21:43:04.223867924 +0000 UTC m=+0.063201121 + client_test.go:163: Response Received at: 2026-05-30 21:43:04.224469044 +0000 UTC m=+0.063802241 --- PASS: TestOnAfterMiddleware (0.00s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET @@ -677,13 +713,13 @@ === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test ---- PASS: TestClientTimeout (6.02s) +--- PASS: TestClientTimeout (6.01s) === RUN TestClientTimeoutWithinThreshold resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test-with-sequence ---- PASS: TestClientTimeoutWithinThreshold (4.02s) +--- PASS: TestClientTimeoutWithinThreshold (4.01s) === RUN TestClientTimeoutInternalError --- PASS: TestClientTimeoutInternalError (0.00s) === RUN TestClientProxy @@ -702,8 +738,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 816.565µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] + resty_test.go:878: Response Time: 725.44µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestClientOnBeforeRequestModification (0.00s) @@ -771,22 +807,22 @@ resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.55173ms - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] + resty_test.go:878: Response Time: 1.43876ms + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: This is Gzip response testing resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-gziped-empty-body resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 757.646µs - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] + resty_test.go:878: Response Time: 1.07784ms + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: resty_test.go:536: Method: GET resty_test.go:537: Path: /gzip-test-no-gziped-body resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 147.001µs - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:23 GMT]] + resty_test.go:878: Response Time: 317.32µs + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestAutoGzip (0.00s) @@ -799,7 +835,7 @@ resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF-Request ---- PASS: TestLogCallbacks (0.01s) +--- PASS: TestLogCallbacks (0.02s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / @@ -823,33 +859,32 @@ === PAUSE TestClientOnResponseError/panic_with_string === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error -=== CONT TestClientOnResponseError/before_request_error_retry +=== CONT TestClientOnResponseError/panic_with_error === CONT TestClientOnResponseError/before_request_error -=== CONT TestClientOnResponseError/http_status_error -=== CONT TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError/panic_with_string -=== CONT TestClientOnResponseError/panic_with_error -=== NAME TestClientOnResponseError/http_status_error +=== CONT TestClientOnResponseError/after_response_error_retry +=== CONT TestClientOnResponseError/http_status_error +=== CONT TestClientOnResponseError/before_request_error_retry +=== NAME TestClientOnResponseError/successful_request resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: - resty_test.go:486: Bearer Auth: Bearer BAD -=== NAME TestClientOnResponseError/after_response_error_retry + resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF +=== NAME TestClientOnResponseError/after_response_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF -=== NAME TestClientOnResponseError/successful_request +=== NAME TestClientOnResponseError/http_status_error resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: - resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF -=== NAME TestClientOnResponseError/after_response_error + resty_test.go:486: Bearer Auth: Bearer BAD +=== NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF -=== NAME TestClientOnResponseError/after_response_error_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: @@ -863,19 +898,19 @@ resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) - --- PASS: TestClientOnResponseError/panic_with_string (0.00s) - --- PASS: TestClientOnResponseError/before_request_error (0.00s) --- PASS: TestClientOnResponseError/panic_with_error (0.00s) - --- PASS: TestClientOnResponseError/http_status_error (0.01s) + --- PASS: TestClientOnResponseError/before_request_error (0.00s) + --- PASS: TestClientOnResponseError/panic_with_string (0.00s) --- PASS: TestClientOnResponseError/successful_request (0.02s) --- PASS: TestClientOnResponseError/after_response_error (0.02s) + --- PASS: TestClientOnResponseError/http_status_error (0.02s) --- PASS: TestClientOnResponseError/before_request_error_retry (0.30s) --- PASS: TestClientOnResponseError/after_response_error_retry (0.32s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 - client_test.go:960: ts.URL: http://127.0.0.1:44321 - client_test.go:961: targetURL.Host: 127.0.0.1:44321 + client_test.go:960: ts.URL: http://127.0.0.1:44665 + client_test.go:961: targetURL.Host: 127.0.0.1:44665 client_test.go:989: with leading `/` on request & with trailing `/` on host url resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -883,8 +918,8 @@ resty_test.go:247: Content-Type: application/json --- PASS: TestHostURLForGH318AndGH407 (0.00s) === RUN TestPostRedirectWithBody - client_test.go:1003: ts.URL: http://127.0.0.1:34561 - client_test.go:1004: targetURL.Host: 127.0.0.1:34561 + client_test.go:1003: ts.URL: http://127.0.0.1:39331 + client_test.go:1004: targetURL.Host: 127.0.0.1:39331 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: @@ -915,10 +950,6 @@ resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST @@ -926,58 +957,29 @@ resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=396191357379101777 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2067541956301078058 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3679396984656341136 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=658074143971762788 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1393505486654242122 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=798062929487392868 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 @@ -990,6 +992,7 @@ resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 @@ -1003,697 +1006,729 @@ resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5926241864631383410 + resty_test.go:246: RawQuery: body=6945097811003066448 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=8313213837240169641 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=6581025293732700272 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5868895797752399166 + resty_test.go:246: RawQuery: body=8464673204929001124 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4446109663169551294 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=6174345139425439245 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6956477986509621613 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=1969321511910501054 + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2264982119645162452 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=633285045234972824 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7904491982497131019 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5957473736690203855 + resty_test.go:246: RawQuery: body=5178044382717628784 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=425015600849957323 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8941573403906813490 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7288976916320425485 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=7430274040898061188 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3479597628517842353 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8578372839208651102 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1616774787023658718 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6473930696981186520 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=446628494984369299 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6765984202559259985 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6610837293948175002 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1336088578798754853 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=209832256646655100 + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1743452539865923125 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=113578549249867237 + resty_test.go:246: RawQuery: body=9058912048591607117 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1920251338437057110 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=3222893061062652536 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6226802004048226898 + resty_test.go:246: RawQuery: body=741399840738404844 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8869334267342953047 + resty_test.go:246: RawQuery: body=5918001157325688893 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6306048680962973224 + resty_test.go:246: RawQuery: body=4945053874333224094 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=4226694842223532663 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:246: RawQuery: body=861420429771790951 - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=50132798929173426 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2158390796969138506 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=7827442046913246465 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8317944101439311197 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=6293052904694203761 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5599298326911254029 + resty_test.go:246: RawQuery: body=2981749035246031850 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=3182247718365945414 resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7593576111754205726 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=8966419581394117800 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=1681008061842027566 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3461567311776712555 + resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4016933937248900532 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=3044464279638065819 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=9144801349148232162 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=1787909086995587814 + resty_test.go:246: RawQuery: resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8694798048794485244 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4378168135032507839 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:246: RawQuery: body=3340509591447727470 + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=7813339489939969775 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=6109548289520898291 + resty_test.go:246: RawQuery: body=1625763655940819435 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1076351471150154937 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8773300454930582435 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2890016089744137749 + resty_test.go:246: RawQuery: body=5937029043682553491 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4975787457816906411 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=5516151782686212652 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4746690748579886621 + resty_test.go:246: RawQuery: body=7790279241432917083 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8310971749390548560 + resty_test.go:246: RawQuery: body=9027152642257925451 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=292351143476911264 + resty_test.go:246: RawQuery: body=1503865698019853601 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=2036985623798725715 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=414852269187068020 + resty_test.go:246: RawQuery: body=3452521570935554199 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=188786449485758084 + resty_test.go:246: RawQuery: body=7884552133704875878 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=6376566754620722343 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3890262622412661648 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3574375053445655687 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4327894383130266202 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2432099946552289003 + resty_test.go:246: RawQuery: body=2022334881706439583 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4441819505144520146 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4021741410835306522 + resty_test.go:246: RawQuery: body=9104828442920507741 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=2533611876203884119 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5266262145415415660 + resty_test.go:246: RawQuery: body=7771202470164928059 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=759562645175848242 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=4335289714193666398 + resty_test.go:246: RawQuery: body=7105867516180986533 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=6237343955134293978 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:246: RawQuery: - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7419248071276352983 + resty_test.go:246: RawQuery: body=6079154435205827458 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5814321679832893375 + resty_test.go:246: RawQuery: body=9157128134842529585 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=2936361894924670792 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=3569670268624203233 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8682189051157885877 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=5261980777148111196 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8430480808896188281 + resty_test.go:246: RawQuery: body=1075064069223570904 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=168647221860459157 + resty_test.go:246: RawQuery: body=2469234200436662628 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3582989345820218770 + resty_test.go:246: RawQuery: body=2682337683411800137 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=2160245762484349243 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5885230050904941542 + resty_test.go:246: RawQuery: body=954370474983040888 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2463443488957357495 + resty_test.go:246: RawQuery: body=4939183317160189426 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=61429433852274262 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=6760158414730593917 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=6389649434295567722 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=4363645754621954735 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=538391346188210779 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=693047439702990963 resty_test.go:244: Method: POST + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=5961395264477828415 resty_test.go:244: Method: POST resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=3103765139492956138 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=3096365053080986760 + resty_test.go:246: RawQuery: body=1694533347223236402 resty_test.go:244: Method: POST + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirected-with-body - resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=5882069769946257819 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirected-with-body - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:245: Path: /redirected-with-body - resty_test.go:245: Path: /redirect-with-body + resty_test.go:246: RawQuery: body=5766081722093217596 resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=7183304512207376934 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body resty_test.go:245: Path: /redirected-with-body + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=5829102375164085796 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: body=6148459472899869580 + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8436462307697932168 + resty_test.go:246: RawQuery: body=6957290529825669316 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=2612133593422827570 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3331545608422871205 + resty_test.go:246: RawQuery: body=1666122446361135470 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7657408802854652312 + resty_test.go:246: RawQuery: body=3931698541709654197 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5570551805472411348 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=5124166411106886180 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5343601086735193282 + resty_test.go:246: RawQuery: body=9072769880034033288 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8304981677947683226 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1794055386838229720 + resty_test.go:246: RawQuery: body=6046370462263695125 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4465146765135380469 + resty_test.go:246: RawQuery: body=4467071712600301363 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1152859874068528060 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=5740090683528190359 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8277940506506666959 + resty_test.go:246: RawQuery: body=877664385013838372 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: body=8616620334345168164 - resty_test.go:246: RawQuery: body=2644972336194431305 + resty_test.go:246: RawQuery: body=8453667763968630137 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=3799403195785014767 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirect-with-body - resty_test.go:246: RawQuery: - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=8014054968816514096 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=957960518159534967 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: + resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=5519441895102622500 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=2752290803907343062 + resty_test.go:246: RawQuery: body=2694072062477697533 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7639220948225289843 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1548053314421277393 + resty_test.go:246: RawQuery: body=1387897813457431228 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=3264707760890638850 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6511015008603332594 + resty_test.go:246: RawQuery: body=3216313177851906946 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1000523388903839779 + resty_test.go:246: RawQuery: body=6131449415949617209 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7426656973249143685 + resty_test.go:246: RawQuery: body=8935898274860028711 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5168736548357379174 + resty_test.go:246: RawQuery: body=1315127494437808220 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4816874699318755061 + resty_test.go:246: RawQuery: body=125742205127377677 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=252201236346949006 + resty_test.go:246: RawQuery: body=5571831474250494300 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=659105455788616141 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=3195386038312069864 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=7650880531064556621 + resty_test.go:246: RawQuery: body=8139078660519632772 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2112499211509345020 + resty_test.go:246: RawQuery: body=7578616160437933301 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=5760266950267927803 + resty_test.go:246: RawQuery: body=3569038729071438524 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=5350202309280966803 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=7531592039770146259 + resty_test.go:246: RawQuery: body=826684956957958941 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4702619645730315272 + resty_test.go:246: RawQuery: body=16280330486771752 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=6229579216194096264 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4467732290952566965 + resty_test.go:246: RawQuery: body=1952572961181129205 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=4235903238958485075 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=4162920964942502167 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=8036638964115142432 resty_test.go:247: Content-Type: text/plain; charset=utf-8 ---- PASS: TestPostRedirectWithBody (0.13s) +--- PASS: TestPostRedirectWithBody (0.09s) === RUN TestUnixSocket --- PASS: TestUnixSocket (0.00s) === RUN TestSetContext resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 658.604µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] + resty_test.go:878: Response Time: 668.72µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestSetContext (0.00s) @@ -1701,8 +1736,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request - resty_test.go:878: Response Time: 764.885µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:24 GMT]] + resty_test.go:878: Response Time: 511.56µs + resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 30 May 2026 21:43:14 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestSetContextWithError (0.00s) @@ -1710,20 +1745,20 @@ context_test.go:57: Server: GET / context_test.go:62: Server: wrote 30 bytes context_test.go:63: Server: err is - context_test.go:82: Error: Get "http://127.0.0.1:37317/": context canceled + context_test.go:82: Error: Get "http://127.0.0.1:46391/": context canceled --- PASS: TestSetContextCancel (0.00s) === RUN TestSetContextCancelRetry context_test.go:96: Server: GET / context_test.go:101: Server: wrote 30 bytes context_test.go:102: Server: err is - context_test.go:125: Error: Get "http://127.0.0.1:34953/": context canceled + context_test.go:125: Error: Get "http://127.0.0.1:34017/": context canceled --- PASS: TestSetContextCancelRetry (0.00s) === RUN TestSetContextCancelWithError context_test.go:141: Server: GET / context_test.go:142: Server: sending StatusBadRequest response context_test.go:148: Server: wrote 39 bytes context_test.go:149: Server: err is - context_test.go:168: Error: Get "http://127.0.0.1:43865/": context canceled + context_test.go:168: Error: Get "http://127.0.0.1:35329/": context canceled --- PASS: TestSetContextCancelWithError (0.00s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET @@ -1734,7 +1769,7 @@ context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / ---- PASS: TestClientRetryWithSetContext (5.52s) +--- PASS: TestClientRetryWithSetContext (5.55s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL @@ -1882,8 +1917,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 870.846µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:29 GMT]] + resty_test.go:878: Response Time: 835.88µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGet (0.00s) @@ -2112,15 +2147,15 @@ resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestRateLimiter (0.18s) +--- PASS: TestRateLimiter (0.19s) === RUN TestIllegalRetryCount --- PASS: TestIllegalRetryCount (0.00s) === RUN TestGetCustomUserAgent resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 841.326µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 808.52µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetCustomUserAgent (0.00s) @@ -2128,8 +2163,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 705.205µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 707.28µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestGetClientParamRequestParam (0.00s) @@ -2137,8 +2172,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 636.924µs - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 679.04µs + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetRelativePath (0.00s) @@ -2146,8 +2181,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage resty_test.go:877: Response Status: 400 Bad Request - resty_test.go:878: Response Time: 590.484µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 631.2µs + resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestGet400Error (0.00s) @@ -2157,8 +2192,8 @@ resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 684.004µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 752.96µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST @@ -2167,8 +2202,8 @@ resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:158: Error: &json.SyntaxError{msg:"invalid character '\"' after object key:value pair", Offset:24} resty_test.go:877: Response Status: 400 Bad Request - resty_test.go:878: Response Time: 422.763µs - resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 461.96µs + resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "bad_request", "message": "Unable to read user info" } --- PASS: TestPostJSONStringSuccess (0.00s) @@ -2178,8 +2213,8 @@ resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 727.005µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 745.32µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesSuccess (0.00s) @@ -2189,8 +2224,8 @@ resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json; charset=utf-8 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 758.685µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 757.8µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONBytesIoReader (0.00s) @@ -2201,8 +2236,8 @@ resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:272: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 770.205µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 641.44µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONStructSuccess (0.00s) @@ -2213,8 +2248,8 @@ resty_test.go:247: Content-Type: application/json-rpc request_test.go:294: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 744.725µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 755.4µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONRPCStructSuccess (0.00s) @@ -2225,8 +2260,8 @@ resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:319: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized - resty_test.go:878: Response Time: 699.085µs - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 1.71072ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONStructInvalidLogin (0.00s) @@ -2237,8 +2272,8 @@ resty_test.go:247: Content-Type: application/json; charset=utf-8 request_test.go:341: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized - resty_test.go:878: Response Time: 676.485µs - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 753.04µs + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestPostJSONErrorRFC7807 (0.00s) @@ -2249,8 +2284,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:361: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.820572ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 683.68µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestPostJSONMapSuccess (0.00s) @@ -2261,8 +2296,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:382: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 817.126µs - resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 793.28µs + resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } --- PASS: TestPostJSONMapInvalidResponseJson (0.00s) @@ -2275,19 +2310,19 @@ resty_test.go:247: Content-Type: application/json request_test.go:436: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 731.965µs - resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 711.52µs + resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response --- PASS: TestForceContentTypeForGH276andGH240 (0.00s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login - resty_test.go:246: RawQuery: request_no=1745766990 + resty_test.go:246: RawQuery: request_no=1780177400 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 750.805µs - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 709.32µs + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStringSuccess (0.00s) @@ -2300,19 +2335,19 @@ resty_test.go:247: Content-Type: application/xml resty_test.go:183: Error: XML syntax error on line 1: element closed by resty_test.go:877: Response Status: 400 Bad Request - resty_test.go:878: Response Time: 791.845µs - resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 989.4µs + resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info --- PASS: TestPostXMLStringError (0.00s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login - resty_test.go:246: RawQuery: request_no=1745766990 + resty_test.go:246: RawQuery: request_no=1780177400 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 733.645µs - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 844.44µs + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLBytesSuccess (0.00s) @@ -2323,8 +2358,8 @@ resty_test.go:247: Content-Type: application/xml request_test.go:536: Result Success: &{"" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 766.685µs - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 700.56µs + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructSuccess (0.00s) @@ -2335,8 +2370,8 @@ resty_test.go:247: Content-Type: application/xml request_test.go:557: Result Error: &{"" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized - resty_test.go:878: Response Time: 670.165µs - resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:878: Response Time: 789.76µs + resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials --- PASS: TestPostXMLStructInvalidLogin (0.00s) @@ -2347,8 +2382,8 @@ resty_test.go:247: Content-Type: application/xml request_test.go:575: Result Success: &{"" ""} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 702.165µs - resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 705.08µs + resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful --- PASS: TestPostXMLStructInvalidResponseXml (0.00s) @@ -2361,8 +2396,8 @@ resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:608: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 15.353506ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 15.42428ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestBasicAuth (0.02s) @@ -2373,11 +2408,11 @@ resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aA== request_test.go:633: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 822.846µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 743.96µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } - request_test.go:635: captured request-level logs: 2025/04/27 15:16:30.068473 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS + request_test.go:635: captured request-level logs: 2026/05/30 21:43:20.504433 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS --- PASS: TestRequestInsecureBasicAuth (0.00s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST @@ -2386,8 +2421,8 @@ resty_test.go:509: Basic Auth: Basic bXl1c2VyOmJhc2ljYXV0aDE= request_test.go:653: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized - resty_test.go:878: Response Time: 15.238985ms - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:878: Response Time: 15.57024ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestBasicAuthFail (0.02s) @@ -2410,8 +2445,8 @@ resty_test.go:691: Path: /dir/index.html request_test.go:704: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.497891ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 1.62612ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuth (0.00s) @@ -2422,8 +2457,8 @@ resty_test.go:691: Path: /dir/index.html request_test.go:721: Result Error: &{"unauthorized" "Invalid credentials"} resty_test.go:877: Response Status: 401 Unauthorized - resty_test.go:878: Response Time: 1.624051ms - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] + resty_test.go:878: Response Time: 1.41336ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT] Www-Authenticate:[Digest realm="testrealm@host.com", domain="/dir/index.html", qop="auth", algorithm=MD5, nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41", userhash=true, charset=utf-8, stale=FALSE]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } --- PASS: TestRequestDigestAuthFail (0.00s) @@ -2434,8 +2469,8 @@ resty_test.go:691: Path: /dir/index.html request_test.go:740: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.326329ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 1.39732ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestRequestDigestAuthWithBody (0.00s) @@ -2466,58 +2501,58 @@ === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=0280338da118deefaa5d39cea53d02923b1b48da6ea9f8f1990955489d63 + resty_test.go:322: Content-Type: multipart/form-data; boundary=7c6ead9e4ae4b6f18215559e6e58ad9269306b1fc8bc9715e46286f0ce4e resty_test.go:345: FirstName: resty_test.go:346: LastName: resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:358: Write name: test-img-1745766990.png + resty_test.go:358: Write name: test-img-1780177400.png --- PASS: TestMultiPartUploadFile (0.02s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload - resty_test.go:387: Content-Type: multipart/form-data; boundary=aed5e2a4eb743322afb97a5e2b4684bbbc20a6885369a53023c2e595a3d6 + resty_test.go:387: Content-Type: multipart/form-data; boundary=272f8620358ed2b28a1910ec6ac3783f65b34b794cb3c906afb5d1758eaf resty_test.go:393: FirstName: resty_test.go:394: LastName: resty_test.go:401: Name: test-img.png resty_test.go:402: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:406: Write name: test-img-1745766990.png + resty_test.go:406: Write name: test-img-1780177400.png --- PASS: TestMultiPartUploadFileViaPatch (0.01s) === RUN TestMultiPartUploadFileError --- PASS: TestMultiPartUploadFileError (0.00s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=511d3287066fb6819f9f091150f95f00b7bb553249fe4345c5a695fff015 + resty_test.go:322: Content-Type: multipart/form-data; boundary=1932f082fac0d1a2ec0a222abcc826794adf4cd4fe2559f2257b652ccb89 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:358: Write name: test-img-1745766990.png + resty_test.go:358: Write name: test-img-1780177400.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] - resty_test.go:358: Write name: text-file-1745766990.txt + resty_test.go:358: Write name: text-file-1780177400.txt --- PASS: TestMultiPartUploadFiles (0.02s) === RUN TestMultiPartIoReaderFiles request_test.go:904: File Info: ParamName: test_param; FileName: test_file_name.jpg resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=72842c0814f833fad0149472f872d6d40eefc4bdb50fa707a646d15e70af + resty_test.go:322: Content-Type: multipart/form-data; boundary=e7e7f76c257ea1e691bc64b45351f944b76ce3782f194089bedb79679028 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: test-img.png resty_test.go:354: Header: map[Content-Disposition:[form-data; name="profile_img"; filename="test-img.png"] Content-Type:[image/png]] - resty_test.go:358: Write name: test-img-1745766990.png + resty_test.go:358: Write name: test-img-1780177400.png resty_test.go:353: Name: text-file.txt resty_test.go:354: Header: map[Content-Disposition:[form-data; name="notes"; filename="text-file.txt"] Content-Type:[application/octet-stream]] - resty_test.go:358: Write name: text-file-1745766990.txt + resty_test.go:358: Write name: text-file-1780177400.txt --- PASS: TestMultiPartIoReaderFiles (0.02s) === RUN TestMultiPartUploadFileNotOnGetOrDelete --- PASS: TestMultiPartUploadFileNotOnGetOrDelete (0.00s) === RUN TestMultiPartFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile - resty_test.go:322: Content-Type: multipart/form-data; boundary=81b33aef376742bbd61e8019694544e467ee080ec0ce0cc802c5fa943f43 + resty_test.go:322: Content-Type: multipart/form-data; boundary=e6f7e005db3713cd27f498abb20b425de013d3f5087e5d935718ba945f45 resty_test.go:328: FirstName: Jeevanandam resty_test.go:329: LastName: M resty_test.go:330: City: @@ -2526,32 +2561,32 @@ === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=16f98db02b0d60473cd83f6ff420b50abff5b9c8886967d80e9a4a565351 + resty_test.go:322: Content-Type: multipart/form-data; boundary=09de0a69bbbfcbdffad46a02d7766136cf923dbcec99382d3d09f8ba7fff resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest"; filename="upload-file.json"] Content-Type:[application/json]] - resty_test.go:358: Write name: upload-file-1745766990.json + resty_test.go:358: Write name: upload-file-1780177400.json --- PASS: TestMultiPartMultipartField (0.00s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=af7a4eb0b24cd4ef052e537dce3386be46dc23e504d261f0f18e83954ab5 + resty_test.go:322: Content-Type: multipart/form-data; boundary=d7d43fc4b2446f4502ebd4f359c2138a649ade95308a32035ad557d30c84 resty_test.go:345: FirstName: Jeevanandam resty_test.go:346: LastName: M resty_test.go:353: Name: upload-file-1.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest1"; filename="upload-file-1.json"] Content-Type:[application/json]] - resty_test.go:358: Write name: upload-file-1-1745766990.json + resty_test.go:358: Write name: upload-file-1-1780177400.json resty_test.go:353: Name: upload-file-2.json resty_test.go:354: Header: map[Content-Disposition:[form-data; name="uploadManifest2"; filename="upload-file-2.json"] Content-Type:[application/json]] - resty_test.go:358: Write name: upload-file-2-1745766990.json + resty_test.go:358: Write name: upload-file-2-1780177400.json --- PASS: TestMultiPartMultipartFields (0.00s) === RUN TestGetWithCookie resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 733.245µs - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 609.36µs + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookie (0.00s) @@ -2561,8 +2596,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /mypage2 resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 369.122µs - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 322.8µs + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:20 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 --- PASS: TestGetWithCookies (0.00s) @@ -2668,8 +2703,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:1392: Result Success: &{"success" "login successful"} resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 925.886µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 793.8µs + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } --- PASS: TestDetectContentTypeForPointer (0.00s) @@ -2680,8 +2715,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:1420: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted - resty_test.go:878: Response Time: 828.726µs - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 822.8µs + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) @@ -2692,8 +2727,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:1445: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted - resty_test.go:878: Response Time: 858.006µs - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 923.32µs + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) @@ -2704,8 +2739,8 @@ resty_test.go:247: Content-Type: application/json request_test.go:1467: Result Success: "{ \"message\": \"Accepted\" }" resty_test.go:877: Response Status: 202 Accepted - resty_test.go:878: Response Time: 695.805µs - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 736.04µs + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } --- PASS: TestDetectContentTypeForSlice (0.00s) @@ -2763,8 +2798,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/details resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 673.004µs - resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 685.36µs + resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGetPathParams: text response: /v1/users/sample@sample.com/100002/details --- PASS: TestGetPathParamAndPathParams (0.00s) @@ -2776,8 +2811,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 805.285µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 614.96µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestRequestQueryStringOrder (0.00s) @@ -2794,13 +2829,13 @@ resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png ---- PASS: TestRequestFileUploadAsReader (0.03s) +--- PASS: TestRequestFileUploadAsReader (0.04s) === RUN TestHostHeaderOverride resty_test.go:44: Method: GET resty_test.go:45: Path: /host-header resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 880.526µs - resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 883.72µs + resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname --- PASS: TestHostHeaderOverride (0.00s) @@ -2808,18 +2843,18 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-with-error resty_test.go:877: Response Status: 404 Not Found - resty_test.go:878: Response Time: 668.045µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 746.24µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} --- PASS: TestNotFoundWithError (0.00s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error -2025/04/27 15:16:30.834627 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input +2026/05/30 21:43:21.273000 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input resty_test.go:877: Response Status: 404 Not Found - resty_test.go:878: Response Time: 678.045µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 712.96µs + resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: --- PASS: TestNotFoundWithoutError (0.00s) @@ -2827,8 +2862,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 732.285µs - resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 753.52µs + resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users%2Fdevelopers/https:%2F%2Fexample.com --- PASS: TestPathParamURLInput (0.00s) @@ -2836,8 +2871,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: /v1/users/sample@sample.com/100002/users/developers/https://example.com resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 669.045µs - resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:30 GMT]] + resty_test.go:878: Response Time: 618.12µs + resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestPathParamURLInput: text response: /v1/users/sample@sample.com/100002/users/developers/https://example.com --- PASS: TestRawPathParamURLInput (0.00s) @@ -2874,10 +2909,10 @@ === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload - resty_test.go:435: Content-Type: multipart/form-data; boundary=3022a72b367cd2e0425d323289e8343a129985dad2724c4fa86d40ce950d + resty_test.go:435: Content-Type: multipart/form-data; boundary=40a4ac530a5125b5879a59457cff86172a97531c9cfdaf591381efe62b36 resty_test.go:433: Method: POST resty_test.go:434: Path: /upload - resty_test.go:435: Content-Type: multipart/form-data; boundary=c0734e696d46bc7af36eea2f8bf16b6dd9a08a054df39c4ebbc562390a74 + resty_test.go:435: Content-Type: multipart/form-data; boundary=fe78f91c81a88327858d38b656d5851b367b4156248ad1c80d84b33947d5 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded @@ -2922,13 +2957,13 @@ === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess ---- PASS: TestBackoffSuccess (0.27s) +--- PASS: TestBackoffSuccess (0.24s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition ---- PASS: TestConditionalBackoffCondition (0.23s) +--- PASS: TestConditionalBackoffCondition (0.22s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff @@ -2937,8 +2972,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 763.525µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] + resty_test.go:878: Response Time: 857.6µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGet (0.00s) @@ -2946,8 +2981,8 @@ resty_test.go:44: Method: GET resty_test.go:45: Path: / resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 611.604µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 27 Apr 2025 15:16:31 GMT]] + resty_test.go:878: Response Time: 669.24µs + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 30 May 2026 21:43:21 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response --- PASS: TestConditionalGetDefaultClient (0.00s) @@ -2960,7 +2995,7 @@ resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test ---- PASS: TestClientRetryGet (15.57s) +--- PASS: TestClientRetryGet (15.69s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2974,7 +3009,7 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWait (30.44s) +--- PASS: TestClientRetryWait (26.43s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2988,7 +3023,7 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWaitMaxInfinite (15.09s) +--- PASS: TestClientRetryWaitMaxInfinite (15.06s) === RUN TestClientRetryWaitMaxMinimum resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3012,12 +3047,12 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test - retry_test.go:395: Client has slept 5.022970 seconds before retry 1 - retry_test.go:395: Client has slept 5.024007 seconds before retry 2 - retry_test.go:395: Client has slept 5.012018 seconds before retry 3 - retry_test.go:395: Client has slept 5.023994 seconds before retry 4 - retry_test.go:395: Client has slept 5.024012 seconds before retry 5 ---- PASS: TestClientRetryWaitCallback (25.11s) + retry_test.go:395: Client has slept 5.022934 seconds before retry 1 + retry_test.go:395: Client has slept 5.023834 seconds before retry 2 + retry_test.go:395: Client has slept 5.023972 seconds before retry 3 + retry_test.go:395: Client has slept 5.019990 seconds before retry 4 + retry_test.go:395: Client has slept 5.027989 seconds before retry 5 +--- PASS: TestClientRetryWaitCallback (25.12s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3031,12 +3066,12 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test - retry_test.go:443: Client has slept 3.014959 seconds before retry 1 - retry_test.go:443: Client has slept 3.015970 seconds before retry 2 - retry_test.go:443: Client has slept 3.011996 seconds before retry 3 - retry_test.go:443: Client has slept 3.015989 seconds before retry 4 - retry_test.go:443: Client has slept 3.012019 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooShort (15.07s) + retry_test.go:443: Client has slept 3.011385 seconds before retry 1 + retry_test.go:443: Client has slept 3.015987 seconds before retry 2 + retry_test.go:443: Client has slept 3.007983 seconds before retry 3 + retry_test.go:443: Client has slept 3.012027 seconds before retry 4 + retry_test.go:443: Client has slept 3.012009 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooShort (15.06s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3050,12 +3085,12 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test - retry_test.go:491: Client has slept 3.011544 seconds before retry 1 - retry_test.go:491: Client has slept 3.012095 seconds before retry 2 - retry_test.go:491: Client has slept 3.011874 seconds before retry 3 - retry_test.go:491: Client has slept 3.012132 seconds before retry 4 - retry_test.go:491: Client has slept 3.015799 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooLong (15.06s) + retry_test.go:491: Client has slept 3.015371 seconds before retry 1 + retry_test.go:491: Client has slept 3.016012 seconds before retry 2 + retry_test.go:491: Client has slept 3.012041 seconds before retry 3 + retry_test.go:491: Client has slept 3.011980 seconds before retry 4 + retry_test.go:491: Client has slept 3.015973 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooLong (15.07s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3069,7 +3104,7 @@ resty_test.go:45: Path: /set-retrywaittime-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWaitCallbackSwitchToDefault (10.84s) +--- PASS: TestClientRetryWaitCallbackSwitchToDefault (9.01s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3096,7 +3131,7 @@ resty_test.go:247: Content-Type: application/json resty_test.go:267: Got query param: status=500 so we're returning the post body as response and a 500 status code. body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] retry_test.go:619: Got response body: [{"user1":{"FirstName":"firstname1","LastName":"lastname1","ZipCode":"10001"}}] ---- PASS: TestClientRetryPost (0.60s) +--- PASS: TestClientRetryPost (0.48s) === RUN TestClientRetryErrorRecover resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retry-error-recover @@ -3122,23 +3157,23 @@ resty_test.go:45: Path: /set-retrycount-test resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test ---- PASS: TestClientRetryHook (12.25s) +--- PASS: TestClientRetryHook (12.33s) === RUN TestResetMultipartReaderSeekStartError resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test - resty_test.go:435: Content-Type: multipart/form-data; boundary=9956794df0071cb52eb26d76e07e1f8cc713a0b446c57b5a8a22f2a46943 + resty_test.go:435: Content-Type: multipart/form-data; boundary=e59c830e7d54df2428c70d0afb81ddb17b3fb25d8c726ca356adc9278428 --- PASS: TestResetMultipartReaderSeekStartError (0.00s) === RUN TestResetMultipartReaders resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test - resty_test.go:435: Content-Type: multipart/form-data; boundary=f9db839ac2329a613da363499d7a8135fedc95f27f75be8319f0389e0ca6 + resty_test.go:435: Content-Type: multipart/form-data; boundary=dc8d642ec5697900f1821f8e5f9ecd53249bca841e70f9c1970e7a71aa85 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test - resty_test.go:435: Content-Type: multipart/form-data; boundary=386856d6982634f9f65fa7af34bba9bae0e3ea1490f9a63480a75fce27aa + resty_test.go:435: Content-Type: multipart/form-data; boundary=ded911c121b1c74de6ab2910bef3ea3b606dda49a4178bb0cc9615d9bf84 resty_test.go:433: Method: POST resty_test.go:434: Path: /set-reset-multipart-readers-test - resty_test.go:435: Content-Type: multipart/form-data; boundary=e84aeb5df32cab060b1a4cbcb403ba32d9bb01b3f78332eb256b71a0a362 ---- PASS: TestResetMultipartReaders (0.26s) + resty_test.go:435: Content-Type: multipart/form-data; boundary=d24e2ed6ab40242751e08a5a1c2332cfe6c92a2d2b9ef4b9a2f8393845cb +--- PASS: TestResetMultipartReaders (0.25s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType @@ -3148,7 +3183,7 @@ === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS -ok github.com/go-resty/resty 169.518s +ok github.com/go-resty/resty 163.687s make[1]: Leaving directory '/build/reproducible-path/golang-github-go-resty-resty-2.10.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -3176,12 +3211,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2172740/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1887562 and its subdirectories -I: Current time: Sun Apr 27 03:19:08 -12 2025 -I: pbuilder-time-stamp: 1745767148 +I: removing directory /srv/workspace/pbuilder/2172740 and its subdirectories +I: Current time: Sun May 31 11:45:55 +14 2026 +I: pbuilder-time-stamp: 1780177555 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.diff: 87.9% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.diff.gz b2/build.log: 88.5% -- replaced with stdout Compressing the 1st log... b1/build.log: 88.8% -- replaced with stdout Sun Apr 27 15:22:58 UTC 2025 I: diffoscope 294 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_golang-github-go-resty-resty_unstable_arm64_1745767378 + touch /var/log/reproducible-builds/diffoscope_stamp_golang-github-go-resty-resty_unstable_arm64_1745767378 + RESULT=0 + systemd-run '--description=diffoscope on golang-github-go-resty-resty/2.10.0-2 in unstable/arm64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-arm64_10-68975 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08 --run-session -c jenkins-reproducible-unstable-diffoscope-6df034ad-5192-4c3b-a516-c84ce34b041c -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/dbd-tmp-qRKm9ed ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1/golang-github-go-resty-resty_2.10.0-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2/golang-github-go-resty-resty_2.10.0-2_arm64.changes' + false + set +x Running as unit: rb-diffoscope-arm64_10-68975.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/golang-github-go-resty-resty_2.10.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b1/golang-github-go-resty-resty_2.10.0-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.fSIQCP08/b2/golang-github-go-resty-resty_2.10.0-2_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call diffoscope.comparators.binary.FilesystemFile ## main (total time: 0.003s) 0.003s 2 calls outputs 0.000s 1 call cleanup Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 216ms CPU time consumed: 217ms _ _ _ _ _ __ _ ___ | | __ _ _ __ __ _ __ _(_) |_| |__ _ _| |__ / _` |/ _ \| |/ _` | '_ \ / _` |_____ / _` | | __| '_ \| | | | '_ \ _____ | (_| | (_) | | (_| | | | | (_| |_____| (_| | | |_| | | | |_| | |_) |_____| \__, |\___/|_|\__,_|_| |_|\__, | \__, |_|\__|_| |_|\__,_|_.__/ |___/ |___/ |___/ _ _ __ _ ___ _ __ ___ ___| |_ _ _ _ __ ___ ___| |_ _ _ / _` |/ _ \ _____| '__/ _ \/ __| __| | | |_____| '__/ _ \/ __| __| | | | | (_| | (_) |_____| | | __/\__ \ |_| |_| |_____| | | __/\__ \ |_| |_| | \__, |\___/ |_| \___||___/\__|\__, | |_| \___||___/\__|\__, | |___/ |___/ |___/ Sun Apr 27 15:22:58 UTC 2025 I: diffoscope 294 found no differences in the changes files, and a .buildinfo file also exists. Sun Apr 27 15:22:58 UTC 2025 I: golang-github-go-resty-resty from unstable built successfully and reproducibly on arm64. INSERT 0 1 INSERT 0 1 DELETE 1 [2025-04-27 15:22:59] INFO: Starting at 2025-04-27 15:22:59.466883 [2025-04-27 15:22:59] INFO: Generating the pages of 1 package(s) [2025-04-27 15:22:59] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/golang-github-go-resty-resty_2.10.0-2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/golang-github-go-resty-resty_2.10.0-2.diff.gz is missing [2025-04-27 15:22:59] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/arm64/golang-github-go-resty-resty didn't produce a buildlog, even though it has been built. [2025-04-27 15:22:59] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/trixie/armhf/golang-github-go-resty-resty_2.10.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/armhf/golang-github-go-resty-resty_2.10.0-1.diff.gz is missing [2025-04-27 15:22:59] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/bookworm/amd64/golang-github-go-resty-resty_2.6.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/bookworm/amd64/golang-github-go-resty-resty_2.6.0-1.diff.gz is missing [2025-04-27 15:22:59] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/bullseye/amd64/golang-github-go-resty-resty_2.4.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/bullseye/amd64/golang-github-go-resty-resty_2.4.0-1.diff.gz is missing [2025-04-27 15:22:59] INFO: Finished at 2025-04-27 15:22:59.797889, took: 0:00:00.331010 Sun Apr 27 15:22:59 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/golang-github-go-resty-resty.html Sun Apr 27 15:22:59 UTC 2025 I: Submitting .buildinfo files to external archives: Sun Apr 27 15:22:59 UTC 2025 I: Submitting 8.0K b1/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc https://buildinfo.debian.net/c854bc8c254aa8b49f21d022d7f8df4f61220fc6/golang-github-go-resty-resty_2.10.0-2_all Sun Apr 27 15:23:00 UTC 2025 I: Submitting 8.0K b2/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc https://buildinfo.debian.net/13ac3ca4735876bdf98199a48221e503cfdbe54e/golang-github-go-resty-resty_2.10.0-2_all Sun Apr 27 15:23:01 UTC 2025 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Apr 27 15:23:01 UTC 2025 I: Done submitting .buildinfo files. Sun Apr 27 15:23:01 UTC 2025 I: Removing signed golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc files: removed './b1/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc' removed './b2/golang-github-go-resty-resty_2.10.0-2_arm64.buildinfo.asc' 1745767381 arm64 unstable golang-github-go-resty-resty Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.rbuild.log: 87.8% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/golang-github-go-resty-resty_2.10.0-2.rbuild.log.gz [2025-04-27 15:23:01] INFO: Starting at 2025-04-27 15:23:01.679462 [2025-04-27 15:23:01] INFO: Generating the pages of 1 package(s) [2025-04-27 15:23:01] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/golang-github-go-resty-resty_2.10.0-2.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/golang-github-go-resty-resty_2.10.0-2.diff.gz is missing [2025-04-27 15:23:01] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/trixie/armhf/golang-github-go-resty-resty_2.10.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/armhf/golang-github-go-resty-resty_2.10.0-1.diff.gz is missing [2025-04-27 15:23:01] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/bookworm/amd64/golang-github-go-resty-resty_2.6.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/bookworm/amd64/golang-github-go-resty-resty_2.6.0-1.diff.gz is missing [2025-04-27 15:23:01] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/bullseye/amd64/golang-github-go-resty-resty_2.4.0-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/bullseye/amd64/golang-github-go-resty-resty_2.4.0-1.diff.gz is missing [2025-04-27 15:23:02] INFO: Finished at 2025-04-27 15:23:02.011413, took: 0:00:00.331954 All cleanup done. Sun Apr 27 15:23:02 UTC 2025 - total duration: 0h 7m 57s. Sun Apr 27 15:23:02 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-HkGDBxlS, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 8min 829ms CPU time consumed: 7.009s