Previous Topic: Start a Lab from the Server ConsoleNext Topic: Obtain Information About a Lab


Start a Lab by Using LISA Invoke

You can use LISA Invoke to start a lab. The syntax is as follows:

/lisa-invoke/startLab?labKey=LAB:key 

The available lab keys are included in the response to the listRunnableLabs operation. For more information, see List the Available Labs.

The response is an XML document that includes a status message.

 

Example

The following URL makes a request to start a lab whose key is VCD:49.

http://localhost:1505/lisa-invoke/startLab?labKey=VCD:49 

The following response indicates that the lab was started.

<?xml version="1.0" encoding="UTF-8" ?>
<invokeResult>
  <method name="StartLab">
    <params />
  </method>
  <status>OK</status>
  <result>
    <lab name="MM-Test run by rich-49" key="VCD:49" />
  </result>
</invokeResult>