Hi Lewis, can you post a minimal example plan, that exhibits the described behaviour? I created one for myself with the given curl command as starting point and can't reproduce the problem under ubuntu using a current snapshot of JMeter and Java 1.8.
I don't think it should matter, but I would use a tar.gz instead of a zip download of JMeter for the linux versions. The zip has some files with CR/LF instead of LF in it. Have you checked the line endings of the CSV file? Felix Am 14.05.21 um 20:46 schrieb Getschel, Lewis: > Hello everyone- I'm new to JMeter, but have been using Linux for 16+ years. > > I'm trying to test DNS over HTTP (DoH). In its simplest form, it's just the > following cURL: > curl -s -H 'accept: application/dns-message' > https://dns.google/dns-query?dns=Vc8BAAABAAAAAAAAFXRlcnJ5ZGVhbnNkYW5jZXN0dWRpbwNjb20AAAEAAQ > | hexdump -C > The hex output contains the domain name "terrydeansdancestudio.com" . Real > simple. > > I imported that and jmeter built a test plan. I've since built my own several > times, all basically have the same results. On Linux (CentOS8), jmeter > doesn't include the header on most of the loops. On Win10 it DOES include the > headers for every loop. > > I created 2 images showing each level of the test plan and the output issue: > https://www.nyx.net/~lgetsche/WorkingJMeterWin10.jpg All lines in > Results-Tree show successful and have the same header > https://www.nyx.net/~lgetsche/BrokenJMeterCentOS8.jpg Left side shows 1 > successful, Right side shows failed, and missing header. > > The problem was introduced when I inserted the CSV Data Set Config. For a > sanity check, I created the same test plan without CSV, (but had to adjust > the http-request to use a static path with the dns=Vc8BAAA... as the curl > example shows). > The thread group loops any number of times properly. Then I inserted the CSV > Data Set Config, and changed the request to use the variable. That's when it > broke. > > I'm using the same JMeter 5.4.1.zip file on both Linux and Windows. I copied > the .jmx file from Win10 to Linux (only changing the path of the .csv file) > I downloaded the 5.2.1 and tried that on Linux, but had same result. > My java is current: $ rpm -qa | grep -i java > tzdata-java-2021a-1.el8.noarch > java-1.8.0-openjdk-1.8.0.292.b10-0.el8_3.x86_64 > javapackages-filesystem-5.3.0-1.module_el8.0.0+11+5b8c10bd.noarch > java-1.8.0-openjdk-headless-1.8.0.292.b10-0.el8_3.x86_64 > > Eventually I'll _HAVE_ to use my Linux test lab to test properly. My final > goal may need several jmeter servers bombarding a load balancer for DoH > servers with several million(s) of requests. > > Any suggestions why Linux doesn't include the required Header field? > Thanks. -Lewis > > E-MAIL CONFIDENTIALITY NOTICE: > The contents of this e-mail message and any attachments are intended solely > for the addressee(s) and may contain confidential and/or legally privileged > information. If you are not the intended recipient of this message or if this > message has been addressed to you in error, please immediately alert the > sender by reply e-mail and then delete this message and any attachments. If > you are not the intended recipient, you are notified that any use, > dissemination, distribution, copying, or storage of this message or any > attachment is strictly prohibited. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
OpenPGP_signature
Description: OpenPGP digital signature
