Miscellaneous Actions

EOL: SentryOne Test reached its end of life date on June 15, 2022. See the Solarwinds End of Life Policy for more information.

Execute Process

SentryOne Test Execute ProcessThe Execute Process action launches an .exe specified by the user, the exit code of the .exe that launches is stored in the resource key defined on this element. This can then be used for comparison later in the assert step.

Execute Process Editor

SentryOne Test Execute Process Properties

ArgumentsEnter in command line arguments to launch this program.
ExecutableThe location of the .exe file you want to execute.
Resource KeyUser defined key that the exit code of the .exe is stored in.

Load Asset

SentryOne Test Load AssetThe Load Asset action loads a text file into the resource bag so that it can be used in asserts. This helps to bypass the need of writing the content of the asset to a file before comparing it.

Load Asset Editor

SentryOne Test Load Asset Properties

Text file assetThe text file asset you want to load.
Resource KeyThe name of the resource key to assign.

Read Historical Results

SentryOne Test Read Historical ResultsThe Read Historical Results actions specifies a past run of an assert, grabs the results, and compares it to a more recent or previous result. This allows you to compare results over time, and keep track of test quality over time.

Important:  The Read Historical Results action only works with test groups that publish their results to the SentryOne Test Web Portal. For more information about server integration, please see the Integrating with the Remote Agent article.

Read Historical Results Editor

SentryOne Test Read Historical Results Element Editor

Source ElementOpens a selection dialogue where you select an assert from the test group.
Target Resource KeyThe name assigned to the result that's stored in the Test Resources.
Retrieval ModeThere are three retrieval modes available to choose from:
Retrieve result from the most recent test run
This option gets the result from the very last time this assert was run.
Retrieve result from a previous test run
This option brings up another option to fill in : 
  • Number of Runs - This field determines which run to get, 1 would be the previous run, 2 would be two runs ago and so on.
Retrieve the result from a test run between two dates/times
This option brings up two new fields :
  • Start Date   
  • End Date

Select a start and end time for searching for a result, then the first assert in that time frame is used.

Default Result SourceThe default result source is used when the action isn't able to retrieve an existing assert in the options provided.

Timing End

SentryOne Test Timing EndThe Timing End action is used along side the Timing Start action. This actions serves as the endpoint for measuring the number of seconds that have elapsed between the start and end.

SentryOne Test Timing End Properties

Timing start pointThe starting point to begin timing. This opens a list of available Timing Start actions to choose from.
Resource KeyThe name given to the number of seconds measured that are stored in the Test Resources.

Timing Start

SentryOne Test Timing StartThe Timing Start action is used along side of a Timing End action. When the test hits the Timing Start action, it starts counting the number of seconds elapsed, and once the test hits a Timing End action, the number of seconds are then stored in the Test Resources using the Resource Key specified by the Timing End action.

SentryOne Test Timing Start Element Editor

There is nothing to edit for a Timing Start action. The connection of a start to an end is handled in the Timing End action.

Xpath Extract

SentryOne Test XPath ExtractThe XPath Extract action is used with an Execute Report action to extract information from the report. Select the resource key of the report that was previously executed, and then you supply the xpath with the information you want to retrieve. The information extracted is then stored in another resource key that can then be used with one of the assert actions to verify the validity of the data. If multiple nodes are matched, then only the value of the first node returns. If no information is found at the node where the path is directed, you can specify if the test fails or continues.

SentryOne Test XPath Extract Properties

Fail if node not foundSpecifies whether or not to fail the test if a node can not be found.
PathThe XPath to apply to the XML to retrieve the value.
Resource KeyThe resource key of the XML.
Target Resource KeyThe resource key to store the extracted value.