AditiS06 opened a new issue, #5897: URL: https://github.com/apache/jmeter/issues/5897
### Expected behavior File upload with https POST request should work fine with JMeter 5.5 when Header Manager content-type is set to application/json. ### Actual behavior _No response_ ### Steps to reproduce the problem I have https POST request, with file upload option. Header Manager has content-type set to application/json: <img width="665" alt="image" src="https://user-images.githubusercontent.com/46598865/236793699-052a4cda-f95f-4880-8d47-4f86b4386f90.png"> Once the request is being sent, getting below error: {"timestamp":"2023-05-08T09:17:39.942+00:00","path":"/EndPoint/URL","status":400,"error":"Bad Request","message":"Invalid value for header 'content-type'. Expected: 'application/json + Given: multipart/form-data; boundary=JAeP7VH8u1DA8_a_3mg51MC70D1STLj","requestId":"ID"} In Request Headers, content-type is automatically getting set to multipart/form-data even when it is set to application/json in header manager. <img width="427" alt="image" src="https://user-images.githubusercontent.com/46598865/236794344-12e2b808-d26b-462c-b2d7-b38de2058836.png"> Note: The above error is observed with latest JMeter version i.e. 5.5. With the older version of JMeter **5.3** the same https request works fine. ### JMeter Version 5.5 ### Java Version openjdk version "1.8.0_362" ### OS Version OEL 7.9 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org