Skip to content

fix: use UTF-8 as a default encoding in HTTP sampler #2341

fix: use UTF-8 as a default encoding in HTTP sampler

fix: use UTF-8 as a default encoding in HTTP sampler #2341

Triggered via pull request June 29, 2023 08:19
Status Failure
Total duration 26m 48s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Matrix Preparation
4s
Matrix Preparation
Error Prone (JDK 11)
9m 22s
Error Prone (JDK 11)
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
17, temurin, same hashcode, macos, UTC, tr_TR: TestSampleResult.java#L282
0,8sec org.apache.jmeter.samplers.TestSampleResult > testSubResultsFalsePause() org.opentest4j.AssertionFailedError: ParentElapsed: 833 - sum(samples): 808 => 25 not in [0,16]; nanotime=false at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:135) at app//org.apache.jmeter.samplers.TestSampleResult.testSubResults(TestSampleResult.java:282) at app//org.apache.jmeter.samplers.TestSampleResult.testSubResults(TestSampleResult.java:197) at app//org.apache.jmeter.samplers.TestSampleResult.testSubResultsFalsePause(TestSampleResult.java:180)
17, temurin, same hashcode, macos, UTC, tr_TR: task ':src:core:test'#L1
Execution failed for task ':src:core:test': org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///Users/runner/work/jmeter/jmeter/src/core/build/reports/tests/test/index.html
17, temurin, same hashcode, macos, UTC, tr_TR
Execution failed for task ':src:core:test'. > There were failing tests. See the report at: file:///Users/runner/work/jmeter/jmeter/src/core/build/reports/tests/test/index.html
8, temurin, windows, America/New_York, tr_TR: HttpSamplerTest.kt#L111
0,1sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[1], [1] Java com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
8, temurin, windows, America/New_York, tr_TR: HttpSamplerTest.kt#L111
0,1sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[2], [2] HttpClient4 com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
8, temurin, windows, America/New_York, tr_TR: task ':src:protocol:http:test'#L1
Execution failed for task ':src:protocol:http:test': org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html
8, temurin, windows, America/New_York, tr_TR
Execution failed for task ':src:protocol:http:test'. > There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html
17, microsoft, windows, UTC, fr_FR, stress JIT: HttpSamplerTest.kt#L111
0,1sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[1], [1] Java com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at app//com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at app//com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at app//org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
17, microsoft, windows, UTC, fr_FR, stress JIT: HttpSamplerTest.kt#L111
0,1sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[2], [2] HttpClient4 com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at app//com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at app//com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at app//org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
17, microsoft, windows, UTC, fr_FR, stress JIT: task ':src:protocol:http:test'#L1
Execution failed for task ':src:protocol:http:test': org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html
17, microsoft, windows, UTC, fr_FR, stress JIT
Execution failed for task ':src:protocol:http:test'. > There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html
21, oracle, windows, UTC, tr_TR, stress JIT: HttpSamplerTest.kt#L111
0,1sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[1], [1] Java com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at app//com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at app//com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at app//org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
21, oracle, windows, UTC, tr_TR, stress JIT: HttpSamplerTest.kt#L111
0,2sec org.apache.jmeter.protocol.http.sampler.HttpSamplerTest > upload file uses percent encoding for filename(String, WireMockRuntimeInfo)[2], [2] HttpClient4 com.github.tomakehurst.wiremock.client.VerificationException: No requests exactly matched. Most similar request was: expected:< POST /upload [file_parameter] Content-Disposition [contains] : filename="testfile ?????? %.txt" hello, ?????? [/file_parameter] > but was:< POST /upload [file_parameter] Content-Disposition: form-data; name="file_parameter"; filename="testfile привет %.txt" hello, ?????? [/file_parameter] > at app//com.github.tomakehurst.wiremock.client.VerificationException.forUnmatchedRequestPattern(VerificationException.java:38) at app//com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:680) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:670) at app//com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:650) at app//org.apache.jmeter.protocol.http.sampler.HttpSamplerTest.upload file uses percent encoding for filename(HttpSamplerTest.kt:111)
21, oracle, windows, UTC, tr_TR, stress JIT: task ':src:protocol:http:test'#L1
Execution failed for task ':src:protocol:http:test': org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html
21, oracle, windows, UTC, tr_TR, stress JIT
Execution failed for task ':src:protocol:http:test'. > There were failing tests. See the report at: file:///D:/a/jmeter/jmeter/src/protocol/http/build/reports/tests/test/index.html