{"id":2905,"date":"2012-02-21T13:55:56","date_gmt":"2012-02-21T17:55:56","guid":{"rendered":"http:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=2905"},"modified":"2012-02-21T13:55:56","modified_gmt":"2012-02-21T17:55:56","slug":"xml-automation-support-in-load-tester-pro-5","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2012\/02\/xml-automation-support-in-load-tester-pro-5\/","title":{"rendered":"XML automation support in Load Tester PRO 5"},"content":{"rendered":"<p>In Load Tester 4.2 we added a new fields view with vastly expanded options to configure each field.\u00a0 In Load Tester 4.3 we added support for JSON as well as ad-hoc custom regular expression and name-value delimited parsers.\u00a0 In Load Tester 5, we are adding support for XML automation.\u00a0 Hierarchical XML data structures that appear in form fields or as HTTP POST content will appear in the fields view, and Load Tester&#8217;s application state management (ASM) tool will automatically assign any XML value or attribute for which it can identify an appropriate data source.<\/p>\n<p>Each XML field will be named after the opening tag, and its value will be the content between the opening and closing tags, unless there is no such content, in which case the value will be the attributes of the tag.\u00a0 In either case, unfolding the XML field will reveal a list of all of the attributes and child elements of that field.\u00a0 CDATA sections are handled correctly, and split out as separate fields.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2011\/11\/fields_view_xml.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2911\" title=\"fields_view_xml\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2011\/11\/fields_view_xml.png\" alt=\"\" width=\"551\" height=\"363\" \/><\/a><\/p>\n<p>XML support also means that we support most SOAP transactions as well, although this does not yet include support for the cryptographic features of SOAP.<\/p>\n<p>That said, automatic configuration of XML content is likely to require at least some human supervision.\u00a0 At a minimum, there are likely to be cases where some data appears under one name when received but appears under a different name when transmitted back to the server.\u00a0 In these cases, a new feature of ASM allows users to easily provide field name equivalency rules.\u00a0 These rules work for both XML and JSON, and in the simplest case consist of just two plain text strings that should be treated as equal.\u00a0 We also support rules that use regular expressions.<\/p>\n<p><a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2011\/11\/equivalent_field_names1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2912\" title=\"equivalent_field_names\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2011\/11\/equivalent_field_names1.png\" alt=\"\" width=\"553\" height=\"333\" \/><\/a><\/p>\n<p>By default, Load Tester will probably not include any field name equivalencies.\u00a0 However, adding them is easy, and they will automatically apply to all current and future recordings once they have been set.<\/p>\n<p>I look forward to the upcoming release of Load Tester 5 and your feedback on the new XML support.<\/p>\n<p>&#8211;Lane,<\/p>\n<p>Engineer at Web Performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Load Tester 4.2 we added a new fields view with vastly expanded options to configure each field.\u00a0 In Load Tester 4.3 we added support for JSON as well as ad-hoc custom regular expression and name-value delimited parsers.\u00a0 In Load Tester 5, we are adding support for XML automation.\u00a0 Hierarchical XML data structures that appear in form fields or as HTTP POST content will appear in the fields view, and Load Tester&#8217;s application state management (ASM) tool will automatically assign any XML value or attribute for which it can identify an appropriate data source.<br \/>\nEach XML field will be named after &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2012\/02\/xml-automation-support-in-load-tester-pro-5\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,133],"tags":[],"class_list":["post-2905","post","type-post","status-publish","format-standard","hentry","category-load-tester-software","category-xml"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/2905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=2905"}],"version-history":[{"count":12,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/2905\/revisions"}],"predecessor-version":[{"id":3176,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/2905\/revisions\/3176"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=2905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=2905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=2905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}