Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

StoreResponsePropertyAction Build Status

A Testify Action to store test properties from a processor response

Gitter

Usage

StoreResponsePropertyAction

Stores information from response objects into properties for use in tests ####Parameters The following parameters are supported

  • None: Start, End string match (Default)
  • |XPATH| Switches to xpath based matching
  • |NODE| Selects entire node/nodelist items using xpath

Example

Simple String match

<testcase>
  <postTestProcessorAction>
    StoreResponsePropertyAction::PropertyName==StartTag==EndTag
  </postTestProcessorAction>
</testcase>

Xpath Match

<testcase>
  <postTestProcessorAction>
    StoreResponsePropertyAction::|XPATH|PropertyName==//path/to/node
  </postTestProcessorAction>
</testcase>

Node Match

<testcase>
  <postTestProcessorAction>
    StoreResponsePropertyAction::|NODE|PropertyName==//path/to/node
  </postTestProcessorAction>
</testcase>