{"id":11360,"date":"2025-05-21T05:19:15","date_gmt":"2025-05-21T09:19:15","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=11360"},"modified":"2025-05-21T05:19:59","modified_gmt":"2025-05-21T09:19:59","slug":"jmeter-xml-format-post-processor","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/","title":{"rendered":"JMeter XML Format Post Processor"},"content":{"rendered":"<p><a id=\"post-11360-_9yd9t198atw3\"><\/a> <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11361\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-1.png\" alt=\"JMeter XML Format Post Processor\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-1.png 400w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-1-300x225.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Though <a href=\"https:\/\/en.wikipedia.org\/wiki\/JSON\" target=\"_blank\" rel=\"noopener\">JSON<\/a> has in recent times become the <em>de facto<\/em> standard response format from <a href=\"https:\/\/en.wikipedia.org\/wiki\/API\" target=\"_blank\" rel=\"noopener\">API<\/a> calls, there still are a fair number of APIs which return their response in <a href=\"https:\/\/en.wikipedia.org\/wiki\/XML\" target=\"_blank\" rel=\"noopener\">XML<\/a> format. Often when this is the case, the returned markup is not formatted in a user-friendly manner. The <a href=\"https:\/\/jmeter-plugins.org\/wiki\/XMLFormatPostProcessor\/\" target=\"_blank\" rel=\"noopener\"><em>XML Format Post Processor<\/em><\/a> is an extension for <a href=\"https:\/\/jmeter.apache.org\/index.html\" target=\"_blank\" rel=\"noopener\">JMeter<\/a> which serves to format responses in a way that is more easily readable.<\/p>\n<p>In previous posts, we have discussed <a href=\"https:\/\/www.redline13.com\/blog\/2025\/03\/using-jmeter-plugins-manager\/\" target=\"_blank\" rel=\"noopener\">how to add plugins<\/a> to JMeter using the <a href=\"https:\/\/jmeter-plugins.org\/wiki\/PluginsManager\/\" target=\"_blank\" rel=\"noopener\">JMeter Plugins Manager<\/a>. Following in the same manner, you can add the <em>XML Format Post Processor<\/em> which will subsequently allow you to add this component to your test plan.<\/p>\n<h3><a id=\"post-11360-_k11q4my9x41j\"><\/a>Using the XML Format Post Processor<\/h3>\n<p>It is only necessary to add a single instance of the <em>XML Format Post Processor<\/em> to your JMeter test. Adding this component to the beginning of your test plan will change the behavior of all subsequently added responses which return in XML.<\/p>\n<p>An example response provided in the official <em>XML Format Post Processor<\/em> <a href=\"https:\/\/jmeter-plugins.org\/wiki\/XMLFormatPostProcessor\/\" target=\"_blank\" rel=\"noopener\">documentation<\/a>, using a <a href=\"https:\/\/jmeter.apache.org\/usermanual\/component_reference.html#View_Results_Tree\" target=\"_blank\" rel=\"noopener\">View Results Tree<\/a> component to display unformatted markup from requests:<\/p>\n<figure id=\"attachment_11362\" class=\"wp-caption aligncenter\" style=\"max-width: 783px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-11362\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2.png\" alt=\"Unformatted response in XML format\" width=\"783\" height=\"207\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2.png 949w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2-300x79.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2-768x203.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2-425x112.png 425w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-2-945x251.png 945w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><figcaption class=\"wp-caption-text\">Unformatted response in XML format.<\/figcaption><\/figure>\n<p>After adding an instance of the <em>XML Format Post Processor<\/em> component to the test plan, XML responses from requests automatically become formatted in a user-friendly manner:<\/p>\n<figure id=\"attachment_11363\" class=\"wp-caption aligncenter\" style=\"max-width: 784px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-11363\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-3.png\" alt=\"Response from XML endpoint modified with XML Format Post Processor\" width=\"784\" height=\"254\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-3.png 952w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-3-300x97.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-3-768x248.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-3-425x138.png 425w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><figcaption class=\"wp-caption-text\">Response from XML endpoint modified with XML Format Post Processor.<\/figcaption><\/figure>\n<p>Having the responses formatted in a more human-readable manner can aid in test validation and debugging.<\/p>\n<hr \/>\n<p>Did you know that RedLine13 offers a full-featured, time-limited free trial?\u00a0 <a href=\"https:\/\/www.redline13.com\/Service\" target=\"_blank\" rel=\"noopener\">Sign up now<\/a>, and start testing today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Though JSON has in recent times become the de facto standard response format from API calls, there still are a fair number of APIs which return their response in XML format. Often when this is the case, the returned markup is not formatted in a user-friendly manner. The XML Format Post Processor is an extension for JMeter which serves to format responses in a way that is more easily readable. In previous posts, we have discussed<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":11,"featured_media":11361,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[283,742,299,318,424,741],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-dkoziel","4":"post-11360","6":"format-standard","7":"has-post-thumbnail","8":"category-blog","9":"category-uncategorized","10":"post_tag-jmeter","11":"post_tag-jmeter-samplers","12":"post_tag-jmeter-plugins","13":"post_tag-load-testing","14":"post_tag-redline13","15":"post_tag-xml"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JMeter XML Format Post Processor - RedLine13<\/title>\n<meta name=\"description\" content=\"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JMeter XML Format Post Processor - RedLine13\" \/>\n<meta property=\"og:description\" content=\"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-21T09:19:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-21T09:19:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Koziel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Koziel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\"},\"author\":{\"name\":\"David Koziel\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20\"},\"headline\":\"JMeter XML Format Post Processor\",\"datePublished\":\"2025-05-21T09:19:15+00:00\",\"dateModified\":\"2025-05-21T09:19:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\"},\"wordCount\":279,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"JMeter\",\"JMeter Samplers\",\"jmeter-plugins\",\"Load Testing\",\"RedLine13\",\"XML\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\",\"name\":\"JMeter XML Format Post Processor - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2025-05-21T09:19:15+00:00\",\"dateModified\":\"2025-05-21T09:19:59+00:00\",\"description\":\"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JMeter XML Format Post Processor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20\",\"name\":\"David Koziel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g\",\"caption\":\"David Koziel\"},\"url\":\"https:\/\/www.redline13.com\/blog\/author\/dkoziel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JMeter XML Format Post Processor - RedLine13","description":"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/","og_locale":"en_US","og_type":"article","og_title":"JMeter XML Format Post Processor - RedLine13","og_description":"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.","og_url":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/","og_site_name":"RedLine13","article_published_time":"2025-05-21T09:19:15+00:00","article_modified_time":"2025-05-21T09:19:59+00:00","og_image":[{"width":400,"height":300,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2025\/05\/word-image-11360-1.png","type":"image\/png"}],"author":"David Koziel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Koziel","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/"},"author":{"name":"David Koziel","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20"},"headline":"JMeter XML Format Post Processor","datePublished":"2025-05-21T09:19:15+00:00","dateModified":"2025-05-21T09:19:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/"},"wordCount":279,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["JMeter","JMeter Samplers","jmeter-plugins","Load Testing","RedLine13","XML"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/","url":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/","name":"JMeter XML Format Post Processor - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2025-05-21T09:19:15+00:00","dateModified":"2025-05-21T09:19:59+00:00","description":"Using the XML Format Post Processor component, your JMeter responses to XML requests can be formatted in a way that is more easily readable.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2025\/05\/jmeter-xml-format-post-processor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JMeter XML Format Post Processor"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20","name":"David Koziel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g","caption":"David Koziel"},"url":"https:\/\/www.redline13.com\/blog\/author\/dkoziel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/11360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=11360"}],"version-history":[{"count":2,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/11360\/revisions"}],"predecessor-version":[{"id":11365,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/11360\/revisions\/11365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/11361"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=11360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=11360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=11360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}