What is Peach
Installing
Tutorials
Methodology
Introduction
FAQ
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Vmware Monitor

The Vmware monitor can control a vmware virtual machine. The monitor is able to start a virtual machine and optionally reset to a snapshot on every iteration. When a fault occurs it will reset to the specified snapshot (if any).

Tip
When using with vSphere/ESXi prefix the image name with the storeage location in bracets. Example: "[ha-datacenter/datastore1] guest/guest.vmx"

Parameters

  • Vmx — Path to virtual machine

  • Host — Name of host machine (optional)

  • Login — Username for authentication on the remote machine (optional)

  • Password — Password for authentication on the remote machine (optional)

  • HostType — Type of remote host (optional, defaults to "Default")

  • HostPort — TCP/IP port on the remote host (optional)

    • Default — Default

    • VIServer — vCenter Server, ESX/ESXi hosts, VMWare Server 2.0

    • Workstation — VMWare Workstation

    • WorkstationShared —  VMWare Workstation (Shared Mode)

    • Player — VMWare Player

    • Server — VMWare Server 1.0.x

  • SnapshotIndex — VM snapshot index (optional)

  • SnapshotName — VM Snapshot name (optional)

  • ResetEveryIteration — Reset VM to snapshot on every iteration (optional, default false)

  • ResetOnFaultBeforeCollection — Reset VM after we detect a Fault during data collection (optional, default false)

  • WaitForToolsInGuest — Wait for tools to start in guest (optional, default true)

  • WaitTimeout — How many seconds to wait for guest tools (optional, default 600)

Examples

Start Virtual Machine
<Agent name="Local">
        <Monitor class="Vmware">
                <Param name="Vmx" value="D:\VirtualMachines\OfficeWebTest\OfficeWebTest.vmx" />
                <Param name="HostType" value="Workstation" />
                <Param name="SnapshotName" value="Fuzzing" />
        </Monitor>
</Agent>
Start Virtual Machine hosted on ESXi
<Agent name="Local">
        <Monitor class="Vmware">
                <Param name="Vmx" value="[ha-datacenter/datastore1] guest/guest.vmx" />
                <Param name="SnapshotName" value="Fuzzing" />
        </Monitor>
</Agent>