The Text Data Bank can extract values from any text content (including plain text, HTML, XML, etc.) by specifying left-hand and right-hand boundaries that define the value to be extracted. It is useful when you want to extract plain text (e.g., for use in another tool or configuration panel), and cannot use other extraction tools such as the Browser Data Bank, XML Data Bank, JSON Data Bank, and so forth.
This tool is also used in configuring functional web tests for load testing as described in Preparing Web Functional Tests for Load Testing.
The Text Data Bank tool is typically configured as an output of another tool (most commonly, a Browser Playback or Message Responder tool) that delivers text output. In this case, the Text Data Bank’s Text Content area will be populated with the text output of the chained tool after tool execution completes. Alternatively, you can create a "standalone" tool using the Text Data Bank tool, then specify a file that contains the desired text content (for instance, a log file or other file that is dynamically updated or created during every tool run).
- Add the tool as an output of a tool that provides text output—or add it as a standalone tool (if you want to extract data from a file that is being dynamically updated or created for every tool run).
Conditional Content Product: (SOAVirt) Product: (SOAVirt) sv-attr:0A010204015A9054C88481D043445E2F0A010204015CF6008A11EEF43AC91334
Paste or type the text content into the text area if using the tool in Virtualize or do one of the following if using the tool in SOAtest:
- If you added the tool as an output, run the tool.
- If you added the tool as a standalone tool, open the tool configuration panel and use the Input tab to specify the file from which you want to extract content.
In the tool configuration panel, go to the Text Content area and select the area of text that you want to extract.
Info title This specific value may not always be extracted
Note that if this value changes during subsequent tool runs, this specific value may not always be extracted. Whatever value appears in this location will be extracted, instead. A new extraction will occur each time this tool is run.
You can also define extractions manually by clicking the Add button and specifying extraction details.
- Click Create Extraction.
- Specify the name of the column you want to contain the extracted data.
The extraction will be added to the table, and can be modified or removed using the available controls.
Viewing the Data Bank Variables Used During Tool Execution
You can configure the Console view (Window> Show View> Console) to display the data bank variables used during tool execution. For details, see Monitoring Variable Usage.