Header extractors (a) return a response header's value. To define the Header Extractor, select the header name from the Header (a) drop-down.
For instructions on how to set other properties of the Header extractor, see the section Text Delimited Extractors.
If a response is a web form, then you can use Form Field (b) extractors. They return a web form field value, for example, a value of any HTML textbox or hidden field. To define a Form Field Extractor, select the field name from the Form Field (c) drop-down.
If a response is XML, then you can use an XPath Extractor. The difference between XPath extractors and text delimited extractors is that instead of delimiters, you need to define an XPath query.
The XPath tutorial can be found at this location.
If a response is JSON, then you can use a JPath Extractor (d). The difference between JPath extractors and text delimited extractors is that instead of delimiters, you need to define a JPath query (e). You can also use the JPath creator feature by selecting the value you want to extract and clicking the Create JPath button (f) or by right-clicking and selecting Create JPath Query (g) in the context menu. StresStimulus will automatically create a JPath extractor that will extract the selected value.
The JPath description can be found at this location.
- No labels