PETA-Core Reference Manual

Version 2.4.0

Legal Notice

May 08 2010

Abstract

This document describes the PETA platform core. It gives a short overview on the basic concepts and a detailed view on the various configuration possibilities the platform offers.


Table of Contents

1. Introduction
2. Overview
2.1. Prerequisites
2.2. Purpose
2.3. Concepts
2.4. Terminology
2.4.1. Suite
2.4.2. Case
2.4.3. Module
2.4.4. Actor
2.4.5. Event
2.4.6. Operation
2.4.7. Message
2.4.8. Assertion
2.4.9. Context
2.4.10. Service
2.4.11. Filter
2.5. Artifacts
2.5.1. Test specification artifacts
2.5.2. Message template artifacts
2.5.3. Test configuration artifacts
2.5.4. Extension artifacts
2.6. Architecture
3. Communication basics
3.1. Sending messages
3.2. Receiving messages
3.3. Simulating lost messages
3.4. Timeouts
3.4.1. Client timeout
3.4.2. Server timeout
3.5. Measurement of response times
4. Language reference
4.1. <suite>
4.2. <case>
4.3. <module>
4.4. <init>
4.5. <final>
4.6. <event>
4.7. <operation>
4.8. <protocol>
4.9. <template>
4.10. <inputfilter>
4.11. <outputfilter>
4.12. <expecterror>
4.13. <substitution>
4.14. <omission>
4.15. <composition>
4.16. <element>
4.17. <attribute>
4.18. <assertion>
4.19. <context>
4.20. <plugin>
4.21. <argument>
4.22. <regexp>
4.23. <pattern>
4.24. <path>
4.25. <document>
4.26. <constant>
4.27. <reference>
4.28. <repository>
4.29. <annotation>
4.30. <description>
5. Configuration reference
5.1. <configuration>
5.2. <setup>
5.3. <internal>
5.4. <external>
5.5. <actor>
5.6. <service>
5.7. <argument>
5.8. <client>
5.9. <outputfilter>
5.10. <inputfilter>
5.11. <annotation>
5.12. <description>
6. Context information
6.1. Configuration information
6.2. Communication error information
7. Filters
7.1. Configuration and usage of filters
8. Extension mechanisms
8.1. Introduction
8.2. Data types
8.2.1. Built-in data types
8.2.2. Defining your own data types
8.3. Plug-ins
8.4. Reports
8.5. Hooks
8.6. Providers
8.7. Transport extensions
8.8. Filters
8.9. Extension registries
8.10. Arguments
8.11. API Reference
8.11.1. Package de.­verit.­peta.­engine.­context
8.11.2. Package de.­verit.­peta.­engine.­datatype
8.11.3. Package de.­verit.­peta.­engine.­document
8.11.4. Package de.­verit.­peta.­engine.­filter
8.11.5. Package de.­verit.­peta.­engine.­plugin
8.11.6. Package de.­verit.­peta.­modules
8.11.7. Constant field values
9. Module reference
9.1. Suite providers
9.1.1. FileSystem
9.2. Configuration providers
9.2.1. FileSystem
9.3. Template providers
9.3.1. FileSystem
9.3.2. Receiver
9.4. Filters
9.4.1. CdataWrapper
9.4.2. HTMLCompletion
9.4.3. HtmlFormEncoder
9.4.4. HTTPtoXML
9.4.5. Logger
9.4.6. XMLValidator
9.4.7. XSLT
9.5. Transport protocols
9.5.1. HTTP
9.5.2. HTTPS
9.5.3. RAWTCP
9.6. Plugins
9.6.1. Calculate
9.6.2. Datapool
9.6.3. Echo
9.6.4. ExtractPathFromURL
9.6.5. ExtractQueryParameterFromURL
9.6.6. FileContent
9.6.7. Join
9.6.8. Sleep
9.6.9. Eval
9.7. Data types
9.7.1. Date
9.7.2. Double
9.7.3. Integer
9.7.4. Long
9.7.5. String
9.8. Reports
9.8.1. JUnit
9.8.2. JUnitText
9.8.3. JUnitTextShort
9.9. Hooks
9.9.1. Null
10. Invocation
10.1. Command line interface
10.2. Apache Ant
10.2.1. Task definition
10.2.2. Task invocation
A. Supplementary tools
A.1. Suite filter
A.1.1. Blacklist and whitelist format
A.1.2. Ant Task definition
A.1.3. Ant Task invocation