# Bulk Operations
This feature is available as part of vREST NG Pro/Enterprise version.
Bulk Operations functionality allows you to update a large list of test cases/hooks in a single operation.
Before performing the bulk operation, we recommend you take a backup or commit your project data. Because this operation updates several records at once. Any mistakes during this operation will result in a lot of effort.
# How to perform Bulk Operation
To perform the bulk operation, simply follow the steps below:
First select the record(s) (either test cases or hooks) on which you want to perform the bulk operation. If you don't select any records then the bulk operation will be performed on all the records available.
Now, click on the
More Actionsbutton labeled as
...in the left pane toolbar in the Test Cases / Hooks tab and then select
Bulk Operationfrom the list of options as shown in the figure below.
A dialog window will appear as shown in figure below.
From this dialog window, select the desired operation say
Set/unset Authorizationand then provide the desired value for that field.
Now, click on
Submitto perform the bulk operation.
# Allowed Operations
As of now, we allow to perform the following operations:
Change Request Method
To update the request Method to a different value say
POSTof multiple tests/hooks.
To update the API endpoint URL of multiple tests/hooks.
To update the description field of multiple tests/hooks.
Set Wait for seconds
To update the
Wait for Secondsfield of multiple tests/hooks.
To link/unlink the
Authorizationfield of multiple tests/hooks.
To update the
Conditionfield of multiple tests/hooks.
Set Runnable Field
To enable/disable multiple tests/hooks.
To link tags to multiple tests/hooks.
To unlink tags of multiple tests/hooks.
Add/Update Request Header
To add/update request headers of multiple tests/hooks.
Remove Request Header(s)
To remove request headers of multiple tests/hooks. *Just provide a comma *separated header names.
Add Request Query Param
To add a request query parameter to multiple tests/hooks.
Remove Request Query Param(s)
To remove the request query parameter(s) of multiple tests/hooks. Just provide comma-separated query parameter names.
Add Request Form Param
To add a request form parameter to multiple tests/hooks.
Remove Request Form Param(s)
To remove the request form parameter(s) of multiple tests/hooks. Just provide the comma-separated form parameter names.
Add request validation assertion
To add a request validation assertion in multiple tests/hooks. This assertion will be added only if it is not already there in the test case and the test case's
Operation Idis not linked with the API specification operation.
Add a variable in Variable Extractor
To add a variable in the Variable Extractor section of multiple tests/hooks.
Remove variable(s) from Variable Extractor
To remove the variable(s) from the Variable Extractor section from multiple tests/hooks.
Ignore dynamic JSON fields from Expected Body
To ignore the dynamic JSON fields like createdOn, updatedOn, etc from the
Expected Bodyfield of multiple tests/hooks. The application will replace the values of these fields with
Set Loop Source
To update the
Loop Sourcefield of multiple tests/hooks.