Test Real-Time Services
You can test real-time data and process services by running the services in Data Management Server. To access the services, select the Data Management Servers riser bar from within Data Management Studio and use the following procedures.
Following is a brief overview of the various inputs and outputs associated with testing Real-Time Data Services.
Data Inputs and Outputs Tab
New Row - Enables you to add a new data row. The values are empty strings that will be passed to the service for processing.
Delete Row - Enables you to delete the rows containing the selected cells.
Delete All - Enables you to delete all rows.
Import From File - Imports data from a .csv file. If necessary, additional rows are added to match the number of imported rows. However, since columns are read-only on this tab, columns cannot be created during the import; any extra columns in the file will be ignored.
Test Real-Time Data Service: Data Inputs and Outputs
Variable Inputs and Outputs Tab
Insert New Variable - Opens the New Variable window, where you can specify a variable name. While you can specify any variable name, only meaningful variables will be used during the run.
Edit Value - Enables you to edit the value of one or more selected variables.
Rename Variable - Enables you to rename the current variable.
Delete drop-down menu:
- Clear value (null) - Set the value for the selected variables to return a value of null instead of an empty string.
- Clear all values (null) - Set the value for all variables to return a value of null instead of an empty string.
- Delete - Enables you to delete one or more selected variables.
Test Real-Time Data Service: Variable Inputs and Outputs
Testing Real-Time Data Services
To test a real-time data service, complete the following steps:
- Click the name of the server for which you want to test real-time data services. If you are prompted, log on to the server by entering your user ID and password, and then click Log On.
- Expand the Real-Time Data Services folder and click the folder containing the jobs you want to run.
- In the information pane, on the Real-Time Data Services tab, select the data service name and select Test
.
- In the Test Real-Time Data Service dialog box:
- In the Data Inputs and Outputs tab, the Data inputs section is populated with information from the external data provider node. Additionally, you can perform the following tasks:
- Click New Row to add new rows. Specify the appropriate input fields, depending on the service you are testing.
- Select a cell in a row you want to remove and click Delete Row.
- Click Delete All to delete all rows.
- Click Import From File to navigate to a file which has values you want to import.
- In the Variable Inputs and Outputs tab, in the Variable inputs section:
- Click New Variable to specify a new variable name, and click OK.
- Select a variable name and click Edit Value to specify or change the value for a variable.
Select Rename Variable to rename a selected variable.
- Select the drop-down menu at delete to:
- Clear value (null) - Set the value for the selected variables to return a value of null instead of an empty string.
- Clear all values (null) - Set the value for all variables to return a value of null instead of an empty string.
- Delete - Enables you to delete one or more selected variables.
- In the Data Inputs and Outputs tab, the Data inputs section is populated with information from the external data provider node. Additionally, you can perform the following tasks:
- Click Test. If the test was successful, output data and variables fields will be populated. If the server is not able to test the job, an error is displayed.
- Optional: To unload the process, select the Loaded Processes tab and choose one of the available options:
- Unload Process When Idle
- Unload Process
- Click Close.
Real-Time Data Services: Unload Process
Note: You must be the owner of a job to unload any associated processes.
Testing Real-Time Process Services
To test a real-time process service, complete the following steps:
- Click the name of the server for which you want to test real-time process services. If you are prompted, log on to the server by entering your user ID and password, and then click Log On.
- Expand the Real-Time Process Services folder and click the folder containing the jobs you want to run.
- In the information pane, on the Real-Time Process Services tab, select the process service name select Test
.
- In the Test Real-Time Process Service dialog box, in the Variable inputs section:
- Click New Variable to specify a new variable name, and click OK. Setting input variables is an optional step and variables must be declared on the process service job.
- Select a variable name and click Edit Value to specify or change the value for a variable.
- Select Rename Variable to rename a selected variable.
- Select the drop-down menu at delete to:
- Clear value (null) - Set the value for the selected variables to return a value of null instead
Test of an empty string. - Clear all values (null) - Set the value for all variables to return a value of null instead of an empty string.
- Delete - Enables you to clear or delete one or more selected variables.
Test Real-Time Process Service: Variable Inputs and Outputs - Clear value (null) - Set the value for the selected variables to return a value of null instead
- Click Test. If the test was successful, output data and variables fields will be populated. If the server is not able to test the job, an error will be displayed.
- Click Close.