The Parasoft Async Tool enables asynchronous execution of chained outputs after a configured delay.
In this section:
The tool can be installed from the UI or command line.
Add the com.parasoft.soavirt.async.tool-<VERSION>.jar file to the system.properties.classpath
property in your settings properties file. For example:
system.properties.classpath=<PATH_TO_JAR>/com.parasoft.soavirt.async.tool-<VERSION>.jar
Alternatively, you could add the com.parasoft.soavirt.async.tool-<VERSION>.jar file to the VirtualAssets/system_jars
folder. Create this folder if it does not already exist. Make the following API call to reload the .jar file:
http://<VIRTUALIZE_SERVER_HOST>:<VIRTUALIZE_SERVER_PORT>/soavirt/api/<VERSION>/preferences/systemProperties/reload
The Async Tool is used to enable the asynchronous execution of chained outputs after a delay you configure. Multiple outputs can be chained to the same Async Tool.
Select an output type on the left and choose Async Tool.
Choosing Outgoing Response > Transport Header as the output type, as shown in the image above, will cause the chained tool to run only after the response is sent. With the other output types, the chained tool is run as soon as the responder is deemed valid (that is, when correlation succeeds), so if you have set any performance delays at either the responder or responder suite level, it is possible for the chained tool to run before the response is sent. |
nanoseconds
, microseconds
,milliseconds
, seconds
, minutes
, hours
, and days
. The default is milliseconds
.Configure the selected tool as needed. Multiple delayed outputs can be added to the same Async Tool.
You can nest Async Tools in order to create staggered asynchronous delayed outputs. |
This tool does not contain any third-party software.