iSCSIsim is a powerful generic test tool for iSCSI targets. Its capabilities include SCSI command injection, error insertion, and recovery testing: all with built-in validation of test results.
Provision VMs in QEMU, using ZFS clones for virtual disks
These scripts run from any webserver (eg, nginx) on a FreeBSD host with a zpool configured. VMs are cloned from ZFS snapshot and exported via iSCSI. A qemu process on a (linux) hypervisor host is created via ssh (keys), with the qemu process being the iSCSI initiator.