What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

XmlElement

Defines an XML element the basic building block of XML documents. This is used to fuzz the content of an XML document, but not the XML parser. All the output produced from XmlElement and XmlAttribute will be well formed.

Note
The XmlElement/XmlAttribute elements do not support cracking of data. If you need to crack XML content into XmlElement/XmlAttribute, use an XmlAnalyzer attached to a String element.
<XmlElement name="example" elementName="Foo">
  <XmlElement elementName="Bar">
    <String value="Hello World!" />
</XmlElement>
<Foo><Bar>Hello World!</Bar></Foo>

Attributes

  • name — Name of the data model [optional]

  • minOccurs — The minimum number of times this block must occur [optional]

  • maxOccurs — The maximum number of times this block can occur [optional]

  • isStatic — This element should be treated as a token when parsing, defaults to False [optional]

  • token — (Peach 2.3)This element should be treated as a token when parsing, defaults to False [optional]

  • mutable — (Peach 2.3) Is data element changeable (should it be mutated), defaults to true [optional]

  • elementName — Name of XML element [required]

  • ns — XML namespace [optional]