How to prevent Jmeter from adding the default content type if left blank? -


i have perform functional testing few api's, if content type left blank application should mention "content-type invalid". in jmeter if sent "content type = "(blank) in header manager ,jmeter adding content type application/x-www-form-urlencoded.

please me how prevent jmeter adding default content type, if left blank?

i believe should provide correct content-type header can like:

  • application/json rest
  • text/xml; charset="utf-8" soap

see testing soap/rest web services using jmeter article little bit more detailed information on domain


Comments

Popular posts from this blog

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -