It's impossible to say what's wrong without seeing:
Your HTTP(S) Test Script Recorder configuration along with the screenshot of the test plan
Your operating system proxy configuration (Chrome browser derives OS proxy setup)
So the only piece of advice I can give you is to use Recording Template feature, it's available from File -> ...
We cannot help without seeing:
This "unexpected contents" content
JMeter log file
The majority of recording problems are connected with:
Not importing JMeter's self-signed certificate into the browser, see HTTPS recording and certificates chapter of JMeter's HTTP(S) Test Script Recorder documentation for more details.
Custom authentication ...
Are you running your Jmeter in the Dark mode/Dark theme? If so, try changing the theme and see if that works.
Some people faced this issue and changing the theme resolved it.
In Jmeter go to Options > Look and Feel and try different theme. Then restart Jmeter.
Another thing is to check the version of Java. Jmeter is best compatible with Java 8. So you can ...
It looks like you're suffering from JMeter Bug 65300, the workarounds are in:
Install nightly build of JMeter
Downgrade to Java 8, it's the minimum sufficient version to launch JMeter 5.4
If you cannot downgrade Java for any reason and cannot use the nightly builds you can change line 112 of jmeter.bat script to look like
set JAVA9_OPTS=--add-opens java....
As per WebDriver Sampler documentation:
Note: It is NOT the intention of this project to replace the HTTP Samplers included in JMeter. Rather it is meant to compliment them by measuring the end user load time.
JMeter allows the creation of multiple threads, and each thread is responsible for creating load on the server. However, for the Web Driver use case,...
It looks like you need to manually construct your request body using multipart-related content-type and specifying a boundary to split parts entries.
Example request structure:
Content-Type: application/json; charset=UTF-8
Content-Type: file MIME type
More information: Testing REST API ...