Adding a Stored Procedure action to a test
The Stored Procedure action runs a stored procedure against the selected database. As you add this action, you can view the code of the stored procedure, specify input values, specify expected return values, or tag return values.
Ensure that the database resource is properly configured in the Architecture School perspective. For more information about configuring a database resource, see Database resources, connections, and bindings.
You must have a test. For more information about creating tests, see Test Factory. Tests include steps and actions. For more information about test steps and actions, see Test actions.
Selecting the test
Selecting the stored procedure
Testing the stored procedure
Before you run the stored procedure against a selected database, it might be a good idea to test the procedure.
Specifying inputs
You can specify values or tags to supply as inputs to a stored procedure.
Specifying expected return values
You can specify expected return values from the stored procedure. For example, you might want to validate what each message in the message structure returns.
Tagging return values
You can tag any of the return values from the stored procedure for later use. For example, you might want to set the value of tags in the test to the values of each column in the data source.







directly to its right.
