Diff of the two buildlogs: -- --- b1/build.log 2024-03-25 09:02:55.138895343 +0000 +++ b2/build.log 2024-03-25 09:18:29.502813310 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 24 20:56:28 -12 2024 -I: pbuilder-time-stamp: 1711356988 +I: Current time: Mon Mar 25 23:03:38 +14 2024 +I: pbuilder-time-stamp: 1711357418 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking golang-github-go-resty-resty_2.10.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19660/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4325/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +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 Mar 25 09:04 /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/4325/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4325/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e622558809df4bf48d7e84a7936cacd3' - 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='19660' - PS1='# ' - PS2='> ' + INVOCATION_ID=0bb55358d03e4ebd8014ecd6ae241ffb + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=4325 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.C0lXEjXc/pbuilderrc_WlAJ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C0lXEjXc/b1 --logfile b1/build.log golang-github-go-resty-resty_2.10.0-1.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.C0lXEjXc/pbuilderrc_tBbJ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C0lXEjXc/b2 --logfile b2/build.log golang-github-go-resty-resty_2.10.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 23 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19660/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 24 11:27 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4325/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: 40 http://deb.debian.org/debian trixie/main armhf golang-golang-x-crypto-dev all 1:0.19.0-1 [1670 kB] Get: 41 http://deb.debian.org/debian trixie/main armhf golang-golang-x-net-dev all 1:0.21.0+dfsg-1 [882 kB] Get: 42 http://deb.debian.org/debian trixie/main armhf golang-golang-x-time-dev all 0.5.0-1 [12.9 kB] -Fetched 65.7 MB in 2s (34.5 MB/s) +Fetched 65.7 MB in 8s (8691 kB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19577 files and directories currently installed.) @@ -339,7 +371,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-1_source.changes +I: user script /srv/workspace/pbuilder/4325/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4325/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-1_source.changes dpkg-buildpackage: info: source package golang-github-go-resty-resty dpkg-buildpackage: info: source version 2.10.0-1 dpkg-buildpackage: info: source distribution unstable @@ -357,19 +393,19 @@ 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 3 github.com/go-resty/resty + cd _build && go install -trimpath -v -p 4 github.com/go-resty/resty +internal/coverage/rtcov internal/goarch internal/unsafeheader -internal/coverage/rtcov internal/cpu -internal/abi -internal/chacha8rand -internal/bytealg internal/godebugs internal/goexperiment +internal/abi +internal/chacha8rand internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -378,118 +414,118 @@ unicode/utf8 internal/itoa math/bits -runtime -math cmp -slices crypto/internal/alias crypto/internal/boring/sig container/list +math +slices unicode/utf16 +runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias encoding log/internal +crypto/subtle internal/reflectlite sync -crypto/subtle internal/testlog internal/bisect internal/singleflight runtime/cgo errors -io +internal/godebug sort -bytes -strings +io strconv -bufio internal/oserror +bytes +strings syscall +bufio reflect -internal/syscall/unix -internal/fmtsort -time internal/safefilepath -internal/syscall/execenv path -encoding/binary hash hash/crc32 +crypto +crypto/internal/randutil +math/rand +crypto/internal/nistec/fiat +internal/syscall/unix +time +internal/syscall/execenv +crypto/rc4 +vendor/golang.org/x/net/dns/dnsmessage internal/poll io/fs +internal/fmtsort +encoding/binary context os -crypto +internal/intern +net/netip crypto/md5 -fmt -compress/flate -compress/gzip crypto/cipher +crypto/internal/edwards25519/field crypto/internal/boring -crypto/internal/randutil -internal/godebug -math/rand -math/big +crypto/des +crypto/internal/nistec crypto/sha256 crypto/sha512 crypto/aes -crypto/des -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat -crypto/rand -crypto/internal/bigmod -crypto/internal/nistec -crypto/ecdh -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 crypto/internal/edwards25519 -vendor/golang.org/x/crypto/cryptobyte -crypto/ecdsa -crypto/ed25519 +fmt crypto/hmac -crypto/rc4 -crypto/rsa crypto/sha1 -crypto/dsa -encoding/hex -crypto/x509/pkix encoding/base64 encoding/pem -vendor/golang.org/x/net/dns/dnsmessage -internal/intern -net/url -net/netip +net +crypto/ecdh path/filepath vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 +compress/flate +math/big +encoding/hex +net/url +compress/gzip +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -net encoding/json -vendor/golang.org/x/crypto/chacha20poly1305 encoding/xml +crypto/rand +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/rsa +crypto/dsa embed vendor/golang.org/x/text/transform log +vendor/golang.org/x/crypto/cryptobyte vendor/golang.org/x/text/unicode/norm +crypto/x509/pkix vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule +crypto/ecdsa vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime -vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal +vendor/golang.org/x/net/idna net/http/internal/ascii regexp/syntax regexp -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto crypto/x509 -crypto/tls -mime/multipart vendor/golang.org/x/net/http/httpguts +mime/multipart +crypto/tls net/http/httptrace net/http net/http/cookiejar @@ -499,7 +535,7 @@ 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 3 github.com/go-resty/resty + cd _build && go test -vet=off -v -p 4 github.com/go-resty/resty === RUN TestClientBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login @@ -507,17 +543,17 @@ 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: 38.472841ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 08:59:50 GMT]] + resty_test.go:878: Response Time: 190.488175ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:44 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientBasicAuth (0.04s) +--- PASS: TestClientBasicAuth (0.21s) === 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.04s) +--- PASS: TestClientAuthToken (0.13s) === RUN TestClientAuthScheme resty_test.go:478: Method: GET resty_test.go:479: Path: /profile @@ -527,7 +563,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 ---- PASS: TestClientAuthScheme (0.04s) +--- PASS: TestClientAuthScheme (0.13s) === RUN TestClientDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html @@ -535,11 +571,11 @@ 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: 2.519663ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 08:59:50 GMT]] + resty_test.go:878: Response Time: 13.946307ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:44 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientDigestAuth (0.00s) +--- PASS: TestClientDigestAuth (0.02s) === RUN TestClientDigestSession resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html @@ -547,45 +583,45 @@ 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: 2.522403ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 08:59:50 GMT]] + resty_test.go:878: Response Time: 13.444926ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:44 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestClientDigestSession (0.00s) +--- PASS: TestClientDigestSession (0.02s) === RUN TestClientDigestErrors resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /bad -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /unknown_param -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /missing_value -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /no_challenge -2024/03/25 08:59:50 RoundTripper returned a response & error; ignoring response +2024/03/25 09:14:44 RoundTripper returned a response & error; ignoring response resty_test.go:690: Method: GET resty_test.go:691: Path: /status_500 ---- PASS: TestClientDigestErrors (0.01s) +--- PASS: TestClientDigestErrors (0.06s) === RUN TestOnAfterMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext - client_test.go:162: Request sent at: 2024-03-25 08:59:50.363806858 +0000 UTC m=+0.143719241 - client_test.go:163: Response Received at: 2024-03-25 08:59:50.364970809 +0000 UTC m=+0.144883172 ---- PASS: TestOnAfterMiddleware (0.00s) + client_test.go:162: Request sent at: 2024-03-25 09:14:44.382688585 +0000 UTC m=+0.586880636 + client_test.go:163: Response Received at: 2024-03-25 09:14:44.389231531 +0000 UTC m=+0.593423916 +--- PASS: TestOnAfterMiddleware (0.01s) === RUN TestClientRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 @@ -629,7 +665,7 @@ resty_test.go:608: Path: /redirect-20 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 ---- PASS: TestClientRedirectPolicy (0.01s) +--- PASS: TestClientRedirectPolicy (0.05s) === RUN TestClientTimeout resty_test.go:44: Method: GET resty_test.go:45: Path: /set-timeout-test @@ -641,9 +677,9 @@ resty_test.go:45: Path: /set-timeout-test-with-sequence --- PASS: TestClientTimeoutWithinThreshold (4.01s) === RUN TestClientTimeoutInternalError ---- PASS: TestClientTimeoutInternalError (0.00s) +--- PASS: TestClientTimeoutInternalError (0.01s) === RUN TestClientProxy ---- PASS: TestClientProxy (0.00s) +--- PASS: TestClientProxy (0.02s) === RUN TestClientSetCertificates --- PASS: TestClientSetCertificates (0.00s) === RUN TestClientSetRootCertificate @@ -658,11 +694,11 @@ 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: 992.047µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 4.373743ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:54 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestClientOnBeforeRequestModification (0.00s) +--- PASS: TestClientOnBeforeRequestModification (0.01s) === RUN TestClientSetHeaderVerbatim --- PASS: TestClientSetHeaderVerbatim (0.00s) === RUN TestClientSetTransport @@ -684,19 +720,19 @@ resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json ---- PASS: TestClientPreRequestHook (0.00s) +--- PASS: TestClientPreRequestHook (0.01s) === RUN TestClientAllowsGetMethodPayload resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test ---- PASS: TestClientAllowsGetMethodPayload (0.00s) +--- PASS: TestClientAllowsGetMethodPayload (0.01s) === RUN TestClientAllowsGetMethodPayloadIoReader resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test ---- PASS: TestClientAllowsGetMethodPayloadIoReader (0.00s) +--- PASS: TestClientAllowsGetMethodPayloadIoReader (0.01s) === RUN TestClientAllowsGetMethodPayloadDisabled resty_test.go:44: Method: GET resty_test.go:45: Path: /get-method-payload-test ---- PASS: TestClientAllowsGetMethodPayloadDisabled (0.00s) +--- PASS: TestClientAllowsGetMethodPayloadDisabled (0.01s) === RUN TestClientRoundTripper --- PASS: TestClientRoundTripper (0.00s) === RUN TestClientNewRequest @@ -722,30 +758,30 @@ resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json ---- PASS: TestDebugBodySizeLimit (0.00s) +--- PASS: TestDebugBodySizeLimit (0.02s) === 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.990392ms - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 12.674187ms + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[53] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:54 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: 2.276386ms - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 8.778489ms + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[23] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:54 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: 484.535µs - resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 1.730829ms + resty_test.go:879: Response Headers: map[Content-Encoding:[gzip] Content-Length:[0] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:54 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: ---- PASS: TestAutoGzip (0.01s) +--- PASS: TestAutoGzip (0.03s) === RUN TestLogCallbacks resty_test.go:478: Method: GET resty_test.go:479: Path: /profile @@ -755,11 +791,11 @@ 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.04s) +--- PASS: TestLogCallbacks (0.15s) === RUN TestNewWithLocalAddr resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestNewWithLocalAddr (0.00s) +--- PASS: TestNewWithLocalAddr (0.01s) === RUN TestClientOnResponseError === RUN TestClientOnResponseError/successful_request === PAUSE TestClientOnResponseError/successful_request @@ -780,30 +816,32 @@ === CONT TestClientOnResponseError/successful_request === CONT TestClientOnResponseError/after_response_error === CONT TestClientOnResponseError/before_request_error -=== CONT TestClientOnResponseError/before_request_error_retry +=== CONT TestClientOnResponseError/panic_with_error +=== CONT TestClientOnResponseError/after_response_error_retry === CONT TestClientOnResponseError/http_status_error -=== NAME TestClientOnResponseError/successful_request +=== 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 === CONT TestClientOnResponseError/panic_with_string -=== NAME TestClientOnResponseError/after_response_error +=== 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 +=== CONT TestClientOnResponseError/before_request_error_retry === 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 -=== CONT TestClientOnResponseError/panic_with_error -=== CONT TestClientOnResponseError/after_response_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_retry resty_test.go:478: Method: GET resty_test.go:479: Path: /profile resty_test.go:480: Content-Type: @@ -817,28 +855,28 @@ resty_test.go:480: Content-Type: resty_test.go:486: Bearer Auth: Bearer 004DDB79-6801-4587-B976-F093E6AC44FF --- PASS: TestClientOnResponseError (0.00s) - --- PASS: TestClientOnResponseError/before_request_error (0.00s) - --- PASS: TestClientOnResponseError/successful_request (0.04s) - --- PASS: TestClientOnResponseError/panic_with_string (0.00s) - --- PASS: TestClientOnResponseError/after_response_error (0.04s) - --- PASS: TestClientOnResponseError/http_status_error (0.04s) - --- PASS: TestClientOnResponseError/panic_with_error (0.00s) - --- PASS: TestClientOnResponseError/before_request_error_retry (0.30s) - --- PASS: TestClientOnResponseError/after_response_error_retry (0.34s) + --- PASS: TestClientOnResponseError/panic_with_error (0.01s) + --- PASS: TestClientOnResponseError/before_request_error (0.02s) + --- PASS: TestClientOnResponseError/after_response_error (0.25s) + --- PASS: TestClientOnResponseError/panic_with_string (0.01s) + --- PASS: TestClientOnResponseError/http_status_error (0.29s) + --- PASS: TestClientOnResponseError/successful_request (0.33s) + --- PASS: TestClientOnResponseError/after_response_error_retry (0.55s) + --- PASS: TestClientOnResponseError/before_request_error_retry (0.31s) === RUN TestResponseError --- PASS: TestResponseError (0.00s) === RUN TestHostURLForGH318AndGH407 - client_test.go:960: ts.URL: http://127.0.0.1:46327 - client_test.go:961: targetURL.Host: 127.0.0.1:46327 + client_test.go:960: ts.URL: http://127.0.0.1:42515 + client_test.go:961: targetURL.Host: 127.0.0.1:42515 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) +--- PASS: TestHostURLForGH318AndGH407 (0.02s) === RUN TestPostRedirectWithBody - client_test.go:1003: ts.URL: http://127.0.0.1:45439 - client_test.go:1004: targetURL.Host: 127.0.0.1:45439 + client_test.go:1003: ts.URL: http://127.0.0.1:41115 + client_test.go:1004: targetURL.Host: 127.0.0.1:41115 resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect-with-body resty_test.go:246: RawQuery: @@ -872,14 +910,6 @@ 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=391102975 - 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=862616740 - 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 @@ -888,78 +918,34 @@ 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=1881504286 - 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=1352210862 - 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=1573955880 - 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: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=18225665 - resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1505681682 - 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=375039989 - 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=226559726 - 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: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=789509551 - 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=695202439 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1962549203 - 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=1268174587 - 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 @@ -980,6 +966,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 @@ -988,10 +975,6 @@ 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=1051672668 - 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 @@ -1001,7 +984,7 @@ 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=2045301370 + resty_test.go:246: RawQuery: body=1701314743 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 @@ -1014,78 +997,53 @@ 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: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=318461094 - 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: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:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1794624116 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 @@ -1100,24 +1058,19 @@ 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=1698386195 + resty_test.go:246: RawQuery: body=1038167261 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=1958582803 + resty_test.go:246: RawQuery: body=1622969089 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=17655633 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=613808822 + resty_test.go:246: RawQuery: body=310441870 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 @@ -1128,71 +1081,79 @@ 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:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1826770097 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: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: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:244: Method: POST + 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: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: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: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: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: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: /redirected-with-body resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1837525925 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=28196921 - 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=34944663 - 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=1908425463 - 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=1534241757 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=302749365 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + 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: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: + resty_test.go:246: RawQuery: resty_test.go:244: Method: POST resty_test.go:244: Method: POST resty_test.go:244: Method: POST @@ -1202,483 +1163,560 @@ 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: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: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: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:245: Path: /redirected-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: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:246: RawQuery: 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:246: RawQuery: body=1096843560 + 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:244: Method: POST resty_test.go:244: Method: POST - resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=121986110 - 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: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:246: RawQuery: body=630072370 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=1982075378 + 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=1260677829 + resty_test.go:246: RawQuery: body=1569027514 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:246: RawQuery: 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=283643778 + 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=2098758492 + resty_test.go:246: RawQuery: body=258731268 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: /redirected-with-body - resty_test.go:246: RawQuery: body=88341922 + resty_test.go:246: RawQuery: body=1669463012 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=1806324848 + resty_test.go:246: RawQuery: body=1518871527 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:246: RawQuery: 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: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: body=1279049421 + 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=1715544287 + 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=1129547397 + 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=1065009863 + 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: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:246: RawQuery: 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:245: Path: /redirected-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:246: RawQuery: body=550887761 resty_test.go:246: RawQuery: - resty_test.go:244: Method: POST resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: resty_test.go:246: RawQuery: - resty_test.go:245: Path: /redirected-with-body + 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: 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: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: 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:245: Path: /redirected-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:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirect-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: /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: /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:245: Path: /redirected-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: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:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2035027179 + resty_test.go:246: RawQuery: + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=777408057 + resty_test.go:245: Path: /redirect-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:245: Path: /redirect-with-body resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=2129479902 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=111112640 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=1822928317 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=10383643 + resty_test.go:245: Path: /redirect-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=445705321 + 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:247: Content-Type: text/plain; charset=utf-8 resty_test.go:245: Path: /redirect-with-body resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=352402652 - 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=59565337 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirect-with-body + 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: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: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:246: RawQuery: body=1904370153 resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=1147817769 + resty_test.go:246: RawQuery: body=2029895021 + resty_test.go:246: RawQuery: body=1166071377 + resty_test.go:246: RawQuery: body=105131248 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=2133025545 + resty_test.go:246: RawQuery: body=994799016 + resty_test.go:246: RawQuery: body=1867525804 + resty_test.go:246: RawQuery: body=1534817309 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=703145304 + 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=212059670 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=1048162297 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=1552483977 + resty_test.go:244: Method: POST + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=984150008 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:246: RawQuery: body=1839406289 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=136300696 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=27341738 + resty_test.go:246: RawQuery: body=716598099 + resty_test.go:244: Method: POST + resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=1897507820 + resty_test.go:246: RawQuery: body=492724747 + resty_test.go:246: RawQuery: body=159081822 + resty_test.go:246: RawQuery: body=1494209169 + resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=473263242 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=780811237 resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=121628047 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:246: RawQuery: + resty_test.go:245: Path: /redirected-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: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: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=1005608776 + resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=539483746 + resty_test.go:246: RawQuery: body=1459335027 + resty_test.go:246: RawQuery: body=530394337 + resty_test.go:246: RawQuery: body=1220451304 + 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=1360488683 + 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: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: body=243764917 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:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=491736118 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: body=320190868 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=11111948 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=1875456318 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=1459331392 - 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: body=957896740 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1564995053 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=456187465 + resty_test.go:246: RawQuery: body=750242714 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:246: RawQuery: body=942685215 - resty_test.go:246: RawQuery: body=313914783 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=349009406 - 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=1903404137 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=1716167960 - 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: /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: /redirected-with-body - resty_test.go:246: RawQuery: body=1367563954 - resty_test.go:246: RawQuery: body=687307791 resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1222500670 + 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=1861781830 + resty_test.go:246: RawQuery: body=2136333936 + 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: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=1395057830 - 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:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1323931210 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=922813897 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=910710432 + 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:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1891121765 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=1196142118 + 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=1405994283 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=1349308172 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=1534359181 + resty_test.go:246: RawQuery: body=1258754698 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1381141674 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: body=1689758664 - resty_test.go:246: RawQuery: body=102735961 - 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:246: RawQuery: - resty_test.go:246: RawQuery: + resty_test.go:246: RawQuery: body=2047003536 + 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=996588407 - resty_test.go:246: RawQuery: body=73659839 + resty_test.go:246: RawQuery: body=1635251911 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: body=245636965 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:246: RawQuery: body=347776249 - resty_test.go:246: RawQuery: - resty_test.go:246: RawQuery: body=273363237 - resty_test.go:246: RawQuery: body=1810548206 - resty_test.go:246: RawQuery: body=1844381214 - resty_test.go:246: RawQuery: body=423695617 - resty_test.go:246: RawQuery: body=655810624 - resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=676063265 + 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:246: RawQuery: body=1998762045 + 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=2040429216 + 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=1784342160 - resty_test.go:246: RawQuery: body=1723139284 + 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:245: Path: /redirected-with-body + 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:244: Method: POST resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=2112530924 - resty_test.go:246: RawQuery: body=1236815316 + resty_test.go:246: RawQuery: body=360355118 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=921292097 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=895884776 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=1872444819 + 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=1742347475 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=692080094 + 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=884819104 + resty_test.go:246: RawQuery: body=1801154426 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=961450334 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=902059389 + resty_test.go:246: RawQuery: body=5266122 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=379297949 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: + resty_test.go:246: RawQuery: body=898020869 + 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=1352544513 + 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=1404937670 + 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=1178828626 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=204737267 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=29781843 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=1253385554 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=2143746821 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=140875736 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=2016908233 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=402524978 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=2136333936 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=337789272 + resty_test.go:246: RawQuery: body=1464095849 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=24232504 + resty_test.go:246: RawQuery: body=1121975675 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=1949143358 + resty_test.go:246: RawQuery: body=1724645058 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=1111866104 - resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:246: RawQuery: body=1725944901 + resty_test.go:246: RawQuery: body=1962851628 + resty_test.go:246: RawQuery: body=530058294 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=1939605772 + resty_test.go:246: RawQuery: body=672932148 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=864581309 + resty_test.go:246: RawQuery: body=2067135495 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=1980594063 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=1915430477 + resty_test.go:246: RawQuery: body=1315100128 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=676017657 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=1761175159 + resty_test.go:246: RawQuery: body=1849767459 resty_test.go:247: Content-Type: text/plain; charset=utf-8 - resty_test.go:244: Method: POST + resty_test.go:246: RawQuery: body=758772922 resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1902909398 + resty_test.go:245: Path: /redirected-with-body + resty_test.go:246: RawQuery: body=1380669219 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=1123785212 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=1137690475 + resty_test.go:246: RawQuery: body=1361392820 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=410583796 + resty_test.go:246: RawQuery: body=1446375908 resty_test.go:247: Content-Type: text/plain; charset=utf-8 resty_test.go:244: Method: POST - resty_test.go:246: RawQuery: body=1964257908 - resty_test.go:244: Method: POST resty_test.go:245: Path: /redirected-with-body - resty_test.go:246: RawQuery: body=1249752296 + resty_test.go:246: RawQuery: body=1868700571 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=993637975 + resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=71908439 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=1013936853 resty_test.go:247: Content-Type: text/plain; charset=utf-8 + resty_test.go:246: RawQuery: body=607217452 resty_test.go:247: Content-Type: text/plain; charset=utf-8 ---- PASS: TestPostRedirectWithBody (0.09s) +--- PASS: TestPostRedirectWithBody (0.49s) === RUN TestUnixSocket ---- PASS: TestUnixSocket (0.00s) +--- PASS: TestUnixSocket (0.01s) === 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: 938.392µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 5.61986ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:14:55 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestSetContext (0.00s) +--- PASS: TestSetContext (0.01s) === 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: 870.498µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Mon, 25 Mar 2024 09:00:00 GMT]] + resty_test.go:878: Response Time: 5.480846ms + resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Mon, 25 Mar 2024 09:14:55 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: ---- PASS: TestSetContextWithError (0.00s) +--- PASS: TestSetContextWithError (0.01s) === 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:38729/": context canceled ---- PASS: TestSetContextCancel (0.00s) + context_test.go:82: Error: Get "http://127.0.0.1:40049/": context canceled +--- PASS: TestSetContextCancel (0.01s) === 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:35329/": context canceled ---- PASS: TestSetContextCancelRetry (0.00s) + context_test.go:125: Error: Get "http://127.0.0.1:36859/": context canceled +--- PASS: TestSetContextCancelRetry (0.01s) === 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:35403/": context canceled ---- PASS: TestSetContextCancelWithError (0.00s) + context_test.go:168: Error: Get "http://127.0.0.1:39811/": context canceled +--- PASS: TestSetContextCancelWithError (0.01s) === RUN TestClientRetryWithSetContext context_test.go:177: Method: GET context_test.go:178: Path: / @@ -1688,7 +1726,7 @@ context_test.go:178: Path: / context_test.go:177: Method: GET context_test.go:178: Path: / ---- PASS: TestClientRetryWithSetContext (5.60s) +--- PASS: TestClientRetryWithSetContext (5.62s) === RUN TestRequestContext --- PASS: TestRequestContext (0.00s) === RUN Test_parseRequestURL @@ -1715,7 +1753,7 @@ === 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 (0.01s) --- 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) @@ -1794,7 +1832,7 @@ === 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.01s) +--- PASS: Test_parseRequestBody (0.03s) --- 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) @@ -1836,15 +1874,15 @@ 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: 967.229µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 10.224624ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestGet (0.00s) +--- PASS: TestGet (0.01s) === 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) +--- PASS: TestGetGH524 (0.01s) === RUN TestRateLimiter resty_test.go:44: Method: GET resty_test.go:45: Path: / @@ -2066,53 +2104,53 @@ resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestRateLimiter (0.20s) +--- PASS: TestRateLimiter (0.36s) === 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: 1.042722ms - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 6.129907ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestGetCustomUserAgent (0.00s) +--- PASS: TestGetCustomUserAgent (0.01s) === 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: 1.049201ms - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 5.80021ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestGetClientParamRequestParam (0.00s) +--- PASS: TestGetClientParamRequestParam (0.01s) === 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: 835.681µs - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 6.055901ms + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 ---- PASS: TestGetRelativePath (0.00s) +--- PASS: TestGetRelativePath (0.01s) === 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: 892.436µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.791116ms + resty_test.go:879: Response Headers: map[Content-Length:[0] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: ---- PASS: TestGet400Error (0.00s) +--- PASS: TestGet400Error (0.01s) === 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: 1.037283ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 6.356929ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } resty_test.go:244: Method: POST @@ -2121,33 +2159,33 @@ 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: 1.011225ms - resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 3.219635ms + resty_test.go:879: Response Headers: map[Content-Length:[62] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:01 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) +--- PASS: TestPostJSONStringSuccess (0.01s) === 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: 1.233304ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 7.114666ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:01 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONBytesSuccess (0.00s) +--- PASS: TestPostJSONBytesSuccess (0.01s) === 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: 966.649µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 3.966371ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONBytesIoReader (0.00s) +--- PASS: TestPostJSONBytesIoReader (0.01s) === RUN TestPostJSONStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2155,11 +2193,11 @@ 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: 1.297698ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.863456ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONStructSuccess (0.00s) +--- PASS: TestPostJSONStructSuccess (0.01s) === RUN TestPostJSONRPCStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2167,11 +2205,11 @@ 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: 820.923µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 5.446177ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json-rpc] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONRPCStructSuccess (0.00s) +--- PASS: TestPostJSONRPCStructSuccess (0.01s) === RUN TestPostJSONStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2179,11 +2217,11 @@ 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: 958.629µs - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 6.278588ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } ---- PASS: TestPostJSONStructInvalidLogin (0.00s) +--- PASS: TestPostJSONStructInvalidLogin (0.01s) === RUN TestPostJSONErrorRFC7807 resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2191,11 +2229,11 @@ 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: 1.020944ms - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.243731ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/problem+json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "unauthorized", "message": "Invalid credentials" } ---- PASS: TestPostJSONErrorRFC7807 (0.00s) +--- PASS: TestPostJSONErrorRFC7807 (0.01s) === RUN TestPostJSONMapSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2203,11 +2241,11 @@ 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: 893.876µs - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.034044ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestPostJSONMapSuccess (0.00s) +--- PASS: TestPostJSONMapSuccess (0.01s) === RUN TestPostJSONMapInvalidResponseJson resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2215,11 +2253,11 @@ 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: 1.147572ms - resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.147055ms + resty_test.go:879: Response Headers: map[Content-Length:[51] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful", } ---- PASS: TestPostJSONMapInvalidResponseJson (0.00s) +--- PASS: TestPostJSONMapInvalidResponseJson (0.01s) === RUN TestPostJSONMarshalError --- PASS: TestPostJSONMarshalError (0.00s) === RUN TestForceContentTypeForGH276andGH240 @@ -2229,22 +2267,22 @@ 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: 862.059µs - resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 5.375504ms + resty_test.go:879: Response Headers: map[Content-Length:[61] Content-Type:[text/html] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: Test JSON request with HTML response ---- PASS: TestForceContentTypeForGH276andGH240 (0.00s) +--- PASS: TestForceContentTypeForGH276andGH240 (0.01s) === RUN TestPostXMLStringSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login - resty_test.go:246: RawQuery: request_no=1711357206 + resty_test.go:246: RawQuery: request_no=1711358102 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.224585ms - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 8.192434ms + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful ---- PASS: TestPostXMLStringSuccess (0.00s) +--- PASS: TestPostXMLStringSuccess (0.01s) === RUN TestPostXMLMarshalError --- PASS: TestPostXMLMarshalError (0.00s) === RUN TestPostXMLStringError @@ -2254,22 +2292,22 @@ 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: 1.238423ms - resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 5.102144ms + resty_test.go:879: Response Headers: map[Content-Length:[124] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: bad_requestUnable to read user info ---- PASS: TestPostXMLStringError (0.00s) +--- PASS: TestPostXMLStringError (0.01s) === RUN TestPostXMLBytesSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login - resty_test.go:246: RawQuery: request_no=1711357206 + resty_test.go:246: RawQuery: request_no=1711358102 resty_test.go:247: Content-Type: application/xml resty_test.go:877: Response Status: 200 OK - resty_test.go:878: Response Time: 1.091397ms - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 7.22601ms + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful ---- PASS: TestPostXMLBytesSuccess (0.00s) +--- PASS: TestPostXMLBytesSuccess (0.01s) === RUN TestPostXMLStructSuccess resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2277,11 +2315,11 @@ 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: 1.0676ms - resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 4.889792ms + resty_test.go:879: Response Headers: map[Content-Length:[116] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful ---- PASS: TestPostXMLStructSuccess (0.00s) +--- PASS: TestPostXMLStructSuccess (0.01s) === RUN TestPostXMLStructInvalidLogin resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2289,11 +2327,11 @@ 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: 1.158171ms - resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:878: Response Time: 6.980654ms + resty_test.go:879: Response Headers: map[Content-Length:[120] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT] Www-Authenticate:[Protected Realm]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: unauthorizedInvalid credentials ---- PASS: TestPostXMLStructInvalidLogin (0.00s) +--- PASS: TestPostXMLStructInvalidLogin (0.01s) === RUN TestPostXMLStructInvalidResponseXml resty_test.go:244: Method: POST resty_test.go:245: Path: /login @@ -2301,11 +2339,11 @@ 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: 988.667µs - resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 10.239625ms + resty_test.go:879: Response Headers: map[Content-Length:[106] Content-Type:[application/xml] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: successlogin successful ---- PASS: TestPostXMLStructInvalidResponseXml (0.00s) +--- PASS: TestPostXMLStructInvalidResponseXml (0.02s) === RUN TestPostXMLMapNotSupported --- PASS: TestPostXMLMapNotSupported (0.00s) === RUN TestRequestBasicAuth @@ -2315,11 +2353,11 @@ 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: 36.483348ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 132.166379ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestRequestBasicAuth (0.04s) +--- PASS: TestRequestBasicAuth (0.14s) === RUN TestRequestInsecureBasicAuth resty_test.go:478: Method: POST resty_test.go:479: Path: /login @@ -2327,12 +2365,12 @@ 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: 1.096917ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 5.855215ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 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: 2024/03/25 09:00:06.851561 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS ---- PASS: TestRequestInsecureBasicAuth (0.00s) + request_test.go:635: captured request-level logs: 2024/03/25 09:15:02.290482 WARN RESTY Using Basic Auth in HTTP mode is not secure, use HTTPS +--- PASS: TestRequestInsecureBasicAuth (0.01s) === RUN TestRequestBasicAuthFail resty_test.go:478: Method: POST resty_test.go:479: Path: /login @@ -2340,23 +2378,23 @@ 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: 36.210114ms - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT] Www-Authenticate:[Protected Realm]] + resty_test.go:878: Response Time: 120.53329ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 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.04s) +--- PASS: TestRequestBasicAuthFail (0.13s) === 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.04s) +--- PASS: TestRequestAuthToken (0.13s) === 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.04s) +--- PASS: TestRequestAuthScheme (0.15s) === RUN TestRequestDigestAuth resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html @@ -2364,11 +2402,11 @@ 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: 2.139159ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 17.302954ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestRequestDigestAuth (0.00s) +--- PASS: TestRequestDigestAuth (0.02s) === RUN TestRequestDigestAuthFail resty_test.go:690: Method: GET resty_test.go:691: Path: /dir/index.html @@ -2376,11 +2414,11 @@ 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.964275ms - resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 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: 12.608514ms + resty_test.go:879: Response Headers: map[Content-Length:[58] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 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) +--- PASS: TestRequestDigestAuthFail (0.02s) === RUN TestRequestDigestAuthWithBody resty_test.go:690: Method: POST resty_test.go:691: Path: /dir/index.html @@ -2388,11 +2426,11 @@ 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: 2.072325ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:06 GMT]] + resty_test.go:878: Response Time: 11.772769ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:02 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestRequestDigestAuthWithBody (0.00s) +--- PASS: TestRequestDigestAuthWithBody (0.02s) === RUN TestFormData resty_test.go:320: Method: POST resty_test.go:321: Path: /profile @@ -2401,13 +2439,13 @@ resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 ---- PASS: TestFormData (0.00s) +--- PASS: TestFormData (0.01s) === 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) +--- PASS: TestMultiValueFormData (0.01s) === RUN TestFormDataDisableWarn resty_test.go:320: Method: POST resty_test.go:321: Path: /profile @@ -2416,126 +2454,126 @@ resty_test.go:329: LastName: M resty_test.go:330: City: Los Angeles resty_test.go:331: Zip Code: 00001 ---- PASS: TestFormDataDisableWarn (0.00s) +--- PASS: TestFormDataDisableWarn (0.01s) === RUN TestMultiPartUploadFile resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=31452bfaf6a96d680b3e0dd56921e4603c9126bc81c4040d444cd53534a0 + resty_test.go:322: Content-Type: multipart/form-data; boundary=3a819a5c64d6eaae39f380c519832aedaa18a5cec103655707a62ba99892 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-1711357207.png ---- PASS: TestMultiPartUploadFile (0.04s) + resty_test.go:358: Write name: test-img-1711358103.png +--- PASS: TestMultiPartUploadFile (0.48s) === RUN TestMultiPartUploadFileViaPatch resty_test.go:385: Method: PATCH resty_test.go:386: Path: /upload - resty_test.go:387: Content-Type: multipart/form-data; boundary=e0b3f82c0b999545883e0ff26aa213787c9f063fd409c4f7356781390a45 + resty_test.go:387: Content-Type: multipart/form-data; boundary=fb52adf1708053f578fdd9c51ede02d58b3362b03164de24168bf999afb0 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-1711357207.png ---- PASS: TestMultiPartUploadFileViaPatch (0.31s) + resty_test.go:406: Write name: test-img-1711358103.png +--- PASS: TestMultiPartUploadFileViaPatch (0.27s) === RUN TestMultiPartUploadFileError ---- PASS: TestMultiPartUploadFileError (0.00s) +--- PASS: TestMultiPartUploadFileError (0.01s) === RUN TestMultiPartUploadFiles resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=c401f0f759319d8462a2c6fbb71fcd503eea70e8926b6ee4dff996482ce1 + resty_test.go:322: Content-Type: multipart/form-data; boundary=ed78ad233aaee269935e54c10e5db4f6d705d33ad819499e811ced91da94 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-1711357207.png + resty_test.go:358: Write name: test-img-1711358104.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-1711357207.txt ---- PASS: TestMultiPartUploadFiles (0.04s) + resty_test.go:358: Write name: text-file-1711358104.txt +--- PASS: TestMultiPartUploadFiles (0.65s) === 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=e17aed8f68ad029536005455601dc5cda8e99f95210e3d4d8aeffe3d3d45 + resty_test.go:322: Content-Type: multipart/form-data; boundary=5d0578516963f04e32396b140ec2117537cc38704defd51abf9a808314d5 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-1711357207.png + resty_test.go:358: Write name: test-img-1711358104.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-1711357207.txt ---- PASS: TestMultiPartIoReaderFiles (0.04s) + resty_test.go:358: Write name: text-file-1711358104.txt +--- PASS: TestMultiPartIoReaderFiles (0.88s) === 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=7164502a38a325d05eb03871ace334cff1ebd7160479c5e5305b944b1782 + resty_test.go:322: Content-Type: multipart/form-data; boundary=3ce556126b55af64c99fce42ad021dd573c33b4d61ace229730c52331add 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) +--- PASS: TestMultiPartFormData (0.02s) === RUN TestMultiPartMultipartField resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=222e89255799498bbcae1488ee34bfcef81f3738baca7e0b3ac06e378f56 + resty_test.go:322: Content-Type: multipart/form-data; boundary=f535502249d2797a50ba41f422f2a99d00d6fd08034a028e8268918e1687 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-1711357207.json ---- PASS: TestMultiPartMultipartField (0.00s) + resty_test.go:358: Write name: upload-file-1711358105.json +--- PASS: TestMultiPartMultipartField (0.03s) === RUN TestMultiPartMultipartFields resty_test.go:320: Method: POST resty_test.go:321: Path: /upload - resty_test.go:322: Content-Type: multipart/form-data; boundary=268208373faf2950f971458fb1988fbe0fcd30d18937f82214ecbb269807 + resty_test.go:322: Content-Type: multipart/form-data; boundary=3bc984d9498f1d68c3040d78902e8026db5fdfeb0f903ad215849b9b5ab6 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-1711357207.json + resty_test.go:358: Write name: upload-file-1-1711358105.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-1711357207.json ---- PASS: TestMultiPartMultipartFields (0.00s) + resty_test.go:358: Write name: upload-file-2-1711358105.json +--- PASS: TestMultiPartMultipartFields (0.04s) === 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: 1.004925ms - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 6.849641ms + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:05 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 ---- PASS: TestGetWithCookie (0.00s) +--- PASS: TestGetWithCookie (0.01s) === 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: 685.835µs - resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 5.140481ms + resty_test.go:879: Response Headers: map[Content-Length:[35] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:05 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response from mypage2 ---- PASS: TestGetWithCookies (0.00s) +--- PASS: TestGetWithCookies (0.03s) === RUN TestPutPlainString resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext ---- PASS: TestPutPlainString (0.00s) +--- PASS: TestPutPlainString (0.01s) === RUN TestPutJSONString resty_test.go:536: Method: PUT resty_test.go:537: Path: /json ---- PASS: TestPutJSONString (0.00s) +--- PASS: TestPutJSONString (0.01s) === RUN TestPutXMLString resty_test.go:536: Method: PUT resty_test.go:537: Path: /xml ---- PASS: TestPutXMLString (0.00s) +--- PASS: TestPutXMLString (0.01s) === RUN TestOnBeforeMiddleware resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext ---- PASS: TestOnBeforeMiddleware (0.00s) +--- PASS: TestOnBeforeMiddleware (0.01s) === RUN TestHTTPAutoRedirectUpTo10 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-1 @@ -2557,7 +2595,7 @@ resty_test.go:608: Path: /redirect-9 resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-10 ---- PASS: TestHTTPAutoRedirectUpTo10 (0.01s) +--- PASS: TestHTTPAutoRedirectUpTo10 (0.05s) === RUN TestHostCheckRedirectPolicy resty_test.go:607: Method: GET resty_test.go:608: Path: /redirect-host-check-1 @@ -2569,19 +2607,19 @@ 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) +--- PASS: TestHostCheckRedirectPolicy (0.02s) === RUN TestHeadMethod resty_test.go:44: Method: HEAD resty_test.go:45: Path: / ---- PASS: TestHeadMethod (0.00s) +--- PASS: TestHeadMethod (0.01s) === RUN TestOptionsMethod resty_test.go:536: Method: OPTIONS resty_test.go:537: Path: /options ---- PASS: TestOptionsMethod (0.00s) +--- PASS: TestOptionsMethod (0.01s) === RUN TestPatchMethod resty_test.go:536: Method: PATCH resty_test.go:537: Path: /patch ---- PASS: TestPatchMethod (0.00s) +--- PASS: TestPatchMethod (0.01s) === RUN TestSendMethod === RUN TestSendMethod/send-get === NAME TestSendMethod @@ -2599,16 +2637,16 @@ === NAME TestSendMethod resty_test.go:536: Method: PUT resty_test.go:537: Path: /plaintext ---- PASS: TestSendMethod (0.01s) - --- PASS: TestSendMethod/send-get (0.00s) - --- PASS: TestSendMethod/send-options (0.00s) - --- PASS: TestSendMethod/send-patch (0.00s) - --- PASS: TestSendMethod/send-put (0.00s) +--- PASS: TestSendMethod (0.06s) + --- PASS: TestSendMethod/send-get (0.01s) + --- PASS: TestSendMethod/send-options (0.01s) + --- PASS: TestSendMethod/send-patch (0.01s) + --- PASS: TestSendMethod/send-put (0.01s) === 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) +--- PASS: TestRawFileUploadByBody (0.64s) === RUN TestProxySetting --- PASS: TestProxySetting (0.00s) === RUN TestGetClient @@ -2622,11 +2660,11 @@ 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: 1.573812ms - resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 4.756112ms + resty_test.go:879: Response Headers: map[Content-Length:[50] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "id": "success", "message": "login successful" } ---- PASS: TestDetectContentTypeForPointer (0.00s) +--- PASS: TestDetectContentTypeForPointer (0.01s) === RUN TestDetectContentTypeForPointerWithSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users @@ -2634,11 +2672,11 @@ 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: 1.130614ms - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 5.575522ms + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } ---- PASS: TestDetectContentTypeForPointerWithSlice (0.00s) +--- PASS: TestDetectContentTypeForPointerWithSlice (0.01s) === RUN TestDetectContentTypeForPointerWithSliceMap resty_test.go:244: Method: POST resty_test.go:245: Path: /usersmap @@ -2646,11 +2684,11 @@ 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: 1.330555ms - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 5.676532ms + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } ---- PASS: TestDetectContentTypeForPointerWithSliceMap (0.00s) +--- PASS: TestDetectContentTypeForPointerWithSliceMap (0.01s) === RUN TestDetectContentTypeForSlice resty_test.go:244: Method: POST resty_test.go:245: Path: /users @@ -2658,11 +2696,11 @@ 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: 1.126794ms - resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:07 GMT]] + resty_test.go:878: Response Time: 6.26192ms + resty_test.go:879: Response Headers: map[Content-Length:[25] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: { "message": "Accepted" } ---- PASS: TestDetectContentTypeForSlice (0.00s) +--- PASS: TestDetectContentTypeForSlice (0.01s) === RUN TestMultiParamsQueryString resty_test.go:44: Method: GET resty_test.go:45: Path: / @@ -2670,13 +2708,13 @@ resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestMultiParamsQueryString (0.00s) +--- PASS: TestMultiParamsQueryString (0.01s) === 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) +--- PASS: TestSetQueryStringTypical (0.01s) === RUN TestSetHeaderVerbatim --- PASS: TestSetHeaderVerbatim (0.00s) === RUN TestSetHeaderMultipleValue @@ -2684,23 +2722,23 @@ === RUN TestOutputFileWithBaseDirAndRelativePath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png ---- PASS: TestOutputFileWithBaseDirAndRelativePath (0.02s) +--- PASS: TestOutputFileWithBaseDirAndRelativePath (0.10s) === 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.02s) +--- PASS: TestOutputPathDirNotExists (0.11s) === RUN TestOutputFileAbsPath resty_test.go:44: Method: GET resty_test.go:45: Path: /my-image.png ---- PASS: TestOutputFileAbsPath (0.02s) +--- PASS: TestOutputFileAbsPath (0.13s) === RUN TestContextInternal resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestContextInternal (0.00s) +--- PASS: TestContextInternal (0.01s) === RUN TestSRV ---- PASS: TestSRV (0.00s) +--- PASS: TestSRV (0.01s) === RUN TestSRVInvalidService --- PASS: TestSRVInvalidService (0.00s) === RUN TestRequestDoNotParseResponse @@ -2708,39 +2746,39 @@ resty_test.go:45: Path: / resty_test.go:44: Method: GET resty_test.go:45: Path: / ---- PASS: TestRequestDoNotParseResponse (0.00s) +--- PASS: TestRequestDoNotParseResponse (0.01s) === RUN TestRequestExpectContentTypeTest resty_test.go:536: Method: GET resty_test.go:537: Path: /json-no-set ---- PASS: TestRequestExpectContentTypeTest (0.00s) +--- PASS: TestRequestExpectContentTypeTest (0.01s) === 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: 826.743µs - resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 4.646768ms + resty_test.go:879: Response Headers: map[Content-Length:[76] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:06 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) +--- PASS: TestGetPathParamAndPathParams (0.01s) === RUN TestReportMethodSupportsPayload resty_test.go:536: Method: REPORT resty_test.go:537: Path: /report ---- PASS: TestReportMethodSupportsPayload (0.00s) +--- PASS: TestReportMethodSupportsPayload (0.01s) === 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: 1.015725ms - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 4.241398ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:06 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestRequestQueryStringOrder (0.00s) +--- PASS: TestRequestQueryStringOrder (0.01s) === 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.04s) +--- PASS: TestRequestOverridesClientAuthorizationHeader (0.18s) === RUN TestRequestFileUploadAsReader resty_test.go:433: Method: POST resty_test.go:434: Path: /upload @@ -2748,53 +2786,53 @@ resty_test.go:433: Method: POST resty_test.go:434: Path: /upload resty_test.go:435: Content-Type: image/png ---- PASS: TestRequestFileUploadAsReader (0.06s) +--- PASS: TestRequestFileUploadAsReader (0.63s) === 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: 895.216µs - resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 7.468366ms + resty_test.go:879: Response Headers: map[Content-Length:[10] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: myhostname ---- PASS: TestHostHeaderOverride (0.00s) +--- PASS: TestHostHeaderOverride (0.01s) === 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: 1.180569ms - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 6.183579ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: {"error": "Not found"} ---- PASS: TestNotFoundWithError (0.00s) +--- PASS: TestNotFoundWithError (0.01s) === RUN TestNotFoundWithoutError resty_test.go:44: Method: GET resty_test.go:45: Path: /not-found-no-error -2024/03/25 09:00:08.158544 WARN RESTY Cannot unmarshal response body: unexpected end of JSON input +2024/03/25 09:15:07.374227 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: 885.196µs - resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 3.815024ms + resty_test.go:879: Response Headers: map[Content-Length:[0] Content-Type:[application/json] Date:[Mon, 25 Mar 2024 09:15:07 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: ---- PASS: TestNotFoundWithoutError (0.00s) +--- PASS: TestNotFoundWithoutError (0.01s) === 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: 997.987µs - resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 3.052619ms + resty_test.go:879: Response Headers: map[Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:07 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) +--- PASS: TestPathParamURLInput (0.01s) === 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: 857.599µs - resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 2.470231ms + resty_test.go:879: Response Headers: map[Content-Length:[109] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:07 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) +--- PASS: TestRawPathParamURLInput (0.01s) === RUN TestTraceInfo resty_test.go:44: Method: GET resty_test.go:45: Path: / @@ -2812,7 +2850,7 @@ resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json ---- PASS: TestTraceInfo (0.01s) +--- PASS: TestTraceInfo (0.03s) === RUN TestTraceInfoWithoutEnableTrace resty_test.go:44: Method: GET resty_test.go:45: Path: / @@ -2822,16 +2860,16 @@ resty_test.go:45: Path: /long-text resty_test.go:44: Method: GET resty_test.go:45: Path: /long-json ---- PASS: TestTraceInfoWithoutEnableTrace (0.00s) +--- PASS: TestTraceInfoWithoutEnableTrace (0.02s) === RUN TestTraceInfoOnTimeout ---- PASS: TestTraceInfoOnTimeout (0.00s) +--- PASS: TestTraceInfoOnTimeout (0.01s) === RUN TestDebugLoggerRequestBodyTooLarge resty_test.go:433: Method: POST resty_test.go:434: Path: /upload - resty_test.go:435: Content-Type: multipart/form-data; boundary=c2d05c9df3f18657b77e3123e98efe0318266a913a063190028aa9bb61d3 + resty_test.go:435: Content-Type: multipart/form-data; boundary=a9bb6ce8f329130a453f3a4002a220123470191736f0510a4b4f92143938 resty_test.go:433: Method: POST resty_test.go:434: Path: /upload - resty_test.go:435: Content-Type: multipart/form-data; boundary=c21dd80563ac5664bc11f3888aa8f85b429924d5390a6c78dcc202241329 + resty_test.go:435: Content-Type: multipart/form-data; boundary=defecfd61b2a1d9ab0ae7b4d6154eff7491ed8b1b8a6262cffae49c628f0 resty_test.go:320: Method: POST resty_test.go:321: Path: /profile resty_test.go:322: Content-Type: application/x-www-form-urlencoded @@ -2860,7 +2898,7 @@ resty_test.go:329: LastName: resty_test.go:330: City: resty_test.go:331: Zip Code: ---- PASS: TestDebugLoggerRequestBodyTooLarge (0.03s) +--- PASS: TestDebugLoggerRequestBodyTooLarge (0.24s) === RUN TestPostMapTemporaryRedirect resty_test.go:244: Method: POST resty_test.go:245: Path: /redirect @@ -2870,19 +2908,19 @@ resty_test.go:245: Path: /login resty_test.go:246: RawQuery: resty_test.go:247: Content-Type: application/json ---- PASS: TestPostMapTemporaryRedirect (0.00s) +--- PASS: TestPostMapTemporaryRedirect (0.02s) === RUN TestPostBodyError --- PASS: TestPostBodyError (0.00s) === RUN TestSetResultMustNotPanicOnNil --- PASS: TestSetResultMustNotPanicOnNil (0.00s) === RUN TestBackoffSuccess ---- PASS: TestBackoffSuccess (0.23s) +--- PASS: TestBackoffSuccess (0.29s) === RUN TestBackoffNoWaitForLastRetry --- PASS: TestBackoffNoWaitForLastRetry (0.10s) === RUN TestBackoffTenAttemptsSuccess --- PASS: TestBackoffTenAttemptsSuccess (0.00s) === RUN TestConditionalBackoffCondition ---- PASS: TestConditionalBackoffCondition (0.22s) +--- PASS: TestConditionalBackoffCondition (0.30s) === RUN TestConditionalBackoffConditionNonExecution --- PASS: TestConditionalBackoffConditionNonExecution (0.00s) === RUN TestOnRetryBackoff @@ -2891,20 +2929,20 @@ 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: 1.037823ms - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 5.01547ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:08 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestConditionalGet (0.00s) +--- PASS: TestConditionalGet (0.01s) === 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: 912.894µs - resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:00:08 GMT]] + resty_test.go:878: Response Time: 4.472419ms + resty_test.go:879: Response Headers: map[Content-Length:[22] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 25 Mar 2024 09:15:08 GMT]] resty_test.go:880: Response Cookies: [] resty_test.go:881: Response Body: TestGet: text response ---- PASS: TestConditionalGetDefaultClient (0.00s) +--- PASS: TestConditionalGetDefaultClient (0.01s) === RUN TestClientRetryGet resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test @@ -2914,7 +2952,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.43s) +--- PASS: TestClientRetryGet (15.61s) === RUN TestClientRetryWait resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2928,7 +2966,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 (26.15s) +--- PASS: TestClientRetryWait (24.21s) === RUN TestClientRetryWaitMaxInfinite resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2942,17 +2980,17 @@ 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) +--- PASS: TestClientRetryWaitMaxInfinite (15.07s) === 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) +--- PASS: TestClientRetryWaitMaxMinimum (0.11s) === RUN TestClientRetryWaitCallbackError resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test ---- PASS: TestClientRetryWaitCallbackError (0.00s) +--- PASS: TestClientRetryWaitCallbackError (0.01s) === RUN TestClientRetryWaitCallback resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2966,10 +3004,8 @@ 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.025535 seconds before retry 2 - retry_test.go:395: Client has slept 5.025252 seconds before retry 4 - retry_test.go:395: Client has slept 5.025335 seconds before retry 5 ---- PASS: TestClientRetryWaitCallback (25.08s) + retry_test.go:395: Client has slept 5.025448 seconds before retry 2 +--- PASS: TestClientRetryWaitCallback (25.05s) === RUN TestClientRetryWaitCallbackTooShort resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -2983,11 +3019,9 @@ 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.014610 seconds before retry 1 - retry_test.go:443: Client has slept 3.015295 seconds before retry 2 - retry_test.go:443: Client has slept 3.015286 seconds before retry 4 - retry_test.go:443: Client has slept 3.015325 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooShort (15.06s) + retry_test.go:443: Client has slept 3.012267 seconds before retry 4 + retry_test.go:443: Client has slept 3.016024 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooShort (15.04s) === RUN TestClientRetryWaitCallbackTooLong resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3001,10 +3035,11 @@ 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.015636 seconds before retry 3 - retry_test.go:491: Client has slept 3.015321 seconds before retry 4 - retry_test.go:491: Client has slept 3.008148 seconds before retry 5 ---- PASS: TestClientRetryWaitCallbackTooLong (15.04s) + retry_test.go:491: Client has slept 3.012624 seconds before retry 1 + retry_test.go:491: Client has slept 3.016129 seconds before retry 2 + retry_test.go:491: Client has slept 3.012635 seconds before retry 4 + retry_test.go:491: Client has slept 3.012685 seconds before retry 5 +--- PASS: TestClientRetryWaitCallbackTooLong (15.06s) === RUN TestClientRetryWaitCallbackSwitchToDefault resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3018,7 +3053,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.09s) +--- PASS: TestClientRetryWaitCallbackSwitchToDefault (9.98s) === RUN TestClientRetryCancel resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrywaittime-test @@ -3045,25 +3080,25 @@ 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.69s) +--- PASS: TestClientRetryPost (0.67s) === 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) +--- PASS: TestClientRetryErrorRecover (0.11s) === 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.10s) +--- PASS: TestClientRetryCount (9.11s) === 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) +--- PASS: TestClientErrorRetry (0.11s) === RUN TestClientRetryHook resty_test.go:44: Method: GET resty_test.go:45: Path: /set-retrycount-test @@ -3071,23 +3106,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.29s) +--- PASS: TestClientRetryHook (12.26s) === 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=82f5feeddddd835a16148f710f3fa8a4f46b29583f387f9f4fac4e90f110 ---- PASS: TestResetMultipartReaderSeekStartError (0.00s) + resty_test.go:435: Content-Type: multipart/form-data; boundary=f1c74463cfead8a84e8b509671f13672c04c9c1e0ffc7a0415b6539149f8 +--- PASS: TestResetMultipartReaderSeekStartError (0.01s) === 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=538b2e41d5ddabfda61fdf3ab1a941756129c3507d590d697a92c902d20f + resty_test.go:435: Content-Type: multipart/form-data; boundary=dead9ce577c407fc43899febda456a060053e1712e79896d57062b21a57d 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=26e8b47f6f43ef9c8d6fb1637a8b0cc7b0722909dfa6bf5e6ed3f865c458 + resty_test.go:435: Content-Type: multipart/form-data; boundary=8f40dfa743545c1ccaa9c36d12517fb3eeed68aa0d88a5ad527cfa3e7a78 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=bb865b9e72d447738c547b9885e10b57a4a2e06240cf6d6f0918bc7750b5 ---- PASS: TestResetMultipartReaders (0.21s) + resty_test.go:435: Content-Type: multipart/form-data; boundary=6966747cc608b3f1151958a284785efe5e84ef706a85242ae594a2066fa1 +--- PASS: TestResetMultipartReaders (0.32s) === RUN TestIsJSONType --- PASS: TestIsJSONType (0.00s) === RUN TestIsXMLType @@ -3097,7 +3132,7 @@ === RUN TestWriteMultipartFormFileReaderError --- PASS: TestWriteMultipartFormFileReaderError (0.00s) PASS -ok github.com/go-resty/resty 165.100s +ok github.com/go-resty/resty 169.413s 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 @@ -3125,12 +3160,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4325/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4325/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/19660 and its subdirectories -I: Current time: Sun Mar 24 21:02:50 -12 2024 -I: pbuilder-time-stamp: 1711357370 +I: removing directory /srv/workspace/pbuilder/4325 and its subdirectories +I: Current time: Mon Mar 25 23:18:24 +14 2024 +I: pbuilder-time-stamp: 1711358304