Previous Topic: Create a Service Image from Request-Response Pairs in the UINext Topic: Sidecar Files with Request-Response Pairs


Create a Service Image from Request-Response Pairs from the Command Line

In addition to creating a service image from request/response pairs using the UI, you can create the image through the ServiceImageManager command line.

Follow these steps:

  1. Create a service image in the UI.
  2. After the image is created, click Save Image of the Save icon above the Finish button, then click Finish.

    The settings are saved in a file with a .vrs extension.

  3. Navigate to the LISA_HOME\bin directory and enter the following command:
    ServiceImageManager -vrs recording-session-file vsi-file=vsi-file --vsm_file=vsm-file --record 
    
    recording-session-file

    Defines the path of the .vrs file that you created previously, and

    vsi-file

    Defines the service image file that is created.

    vsm_file

    Defines the virtual service model files that is created.