Previous Topic: Step 8 - Record the Test CaseNext Topic: Step 10 - Test Against the VSM


Step 9 - Deploy the VSM

To deploy the Virtual Service Model (VSM):

  1. To close the Demo Server window, click X in the upper right corner.

    Closing this window shuts down the demo server, which hosts LISA Bank. This shutdown leaves the test case without a system under test and allows you to use the virtual service you created.

  2. Open DevTest Workstation and open the Server Console, which provides the VSE UI for managing virtual services.
  3. Click VSE in the left navigation pane.
  4. In DevTest Workstation, right-click VSETutorial virtual service model in the Project panel and select Deploy/Redeploy to VSE.

    On the Deploy Virtual Service dialog, the virtual service model and the VSRecorder config file are selected. The Group Tag is blank. The Concurrent capacity is set to 1, Think time scale is at 100%, and If service ends, automatically restart it is selected. Because the Start the service on deployment check box is selected, the virtual service starts when you deploy it.

    To share this model and the configurations, or to deploy it remotely, click the Save as MAR button to create a MAR file and distribute the model as necessary. All the prepopulated configurations are correct, so click Deploy, and the virtual service is deployed and displays in the VSE dashboard.

    The virtual service is deployed to VSE.

  5. To return to the VSE Console, click the DevTest Console tab in your browser.

    The VSETutorial virtual service model appears in the Services tab.

    Screenshot of the VSETutorial virtual service model appears in the Services tab of the VSE Console.

    The virtual service is started and ready to process transactions, which are tracked in the Txn Count column. The service initially shows that it has processed 0 transactions.

  6. Run the test case and return to this window.
  7. Continue with "Step 10 - Test Against the VSM".