Virtual labs
Find your next practical
Choose a subject, search for a task and start at the right level. Each practical explains what to do and how to check the result; its badge shows whether login is needed.
23 practicals found. Choose a card to read the brief, inputs and task list.
Cloud Computing and Testing Tools 23 labs
Virtual Machines (1)
ubuntu-vm01 ● Powered on
datastore1 · 30 GB free
Install VMware ESXi and create a VM with the Host Client
Walk through the ESXi 8 text-mode installer, give the host a static management IP in the DCUI, log in to the ESXi Host Client from an admin PC, upload an ISO to datastore1, create a thin-provisioned Ubuntu VM, install it with VMware Tools and take a snapshot.
# xe vm-list params=power-state
cli-vm01 running
ubuntu-xen01 running
Install XCP-ng (Xen) and manage VMs with XCP-ng Center and the xe CLI
Install the XCP-ng 8.3 Xen hypervisor with a static management IP, connect XCP-ng Center from an admin PC, attach an NFS ISO library, create and install an Ubuntu VM, add the guest agent and snapshot it, then build a second VM entirely with the xe CLI.
PS> Get-VM
UbuntuVM01 Running 2 vCPU
Checkpoint: before-update
Native virtualization with Microsoft Hyper-V
On Windows Server 2022, add the Hyper-V role, create an external virtual switch, build a Generation 2 VM with the New Virtual Machine Wizard, fix the Secure Boot trap for Linux guests, install the OS, take a checkpoint and automate a second VM with PowerShell.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Install CloudSim in Eclipse and run your first simulation
Verify the JDK, create a Java project, add the CloudSim JARs to the build path, avoid the module-info trap, then copy and run CloudSimExample1.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Create and simulate a cloud data center
Model a data centre in code: hosts, processing elements (PEs), RAM, bandwidth, storage and pricing – then grow it and observe the effect.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Create virtual machines in CloudSim
Define VMs with MIPS, PEs, RAM, bandwidth and image size, submit them to the broker, trigger a VM creation failure on purpose and fix it.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Virtual machine scheduling: time-shared vs space-shared
Run the same workload with time-shared and space-shared schedulers at the VM and host level and compare start and finish times.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Cloudlet creation and execution
Create cloudlets with defined length, file size and output size, execute them on VMs and read the execution report.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Simulate task scheduling with cloudlet-to-VM binding
Compare the broker’s default round-robin assignment with explicit scheduling using bindCloudletToVm, and measure the effect on makespan.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Simulation of multiple data centers
Model two independent data centres; watch the broker try the first one, fail when it is full and create the remaining VMs in the second.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Performance analysis of a cloud simulation
Instrument the output with average execution time, makespan and cost, then compare scheduling policies with numbers rather than guesses.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Study the CloudSim architecture inside the JAR
Explore cloudsim-3.0.3.jar layer by layer – simulation core, cloud services, VM services and user code – and map each class to the architecture diagram.
Record, assert and replay tests with Selenium IDE
Install the Selenium IDE extension, record a login on the VLP Demo Store, add assertions, build a negative test, watch a broken assertion fail, run the suite and export the test to Java JUnit.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Selenium Remote Control: server + registration test
Start the Selenium RC server from the command prompt, run a JUnit test that uses the classic DefaultSelenium API to fill the registration form, and follow every Selenese command in the server log.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
JUnit tests for a web application’s search
Explore the VLP Demo Store, add Selenium and JUnit to an Eclipse project, run four search tests that drive Chrome, then break and fix an expectation using the failure trace.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Automate a complete checkout with Selenium WebDriver
Run an end-to-end purchase test on the VLP Demo Store, discover why a fixed Thread.sleep makes it fail, replace it with an explicit wait, and review the screenshots captured at every step.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Handle a Windows file-upload dialog with AutoIt
Run your first AutoIt script in SciTE, inspect the native “Open” dialog with AutoIt Window Info, write and compile upload.au3, and call the executable from a Selenium WebDriver test to upload a résumé.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Organise web tests with TestNG and testng.xml
Run a TestNG class with priorities, groups, a data provider and a dependency, convert it to a testng.xml suite, filter by groups and watch a dependent test get skipped.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Unit testing a Calculator with JUnit 4
Put JUnit 4 on the build path, run a real test class in Eclipse, watch the red bar on a wrong expectation, complete the division tests (delta comparison and expected exceptions) and add a parameterised test.
Unit-test an authentication class with NUnit in Visual Studio
Create a .NET 8 class library and an NUnit test project in Visual Studio 2022, wire the project reference, implement AuthService, and verify valid, invalid, empty-input and lock-out scenarios in Test Explorer and with dotnet test.
Load-test the VLP Demo Store with Apache JMeter
Build a JMeter test plan with a thread group, HTTP defaults, four samplers, think time, assertions and listeners, then run it with 50, 100 and 200 users and find the bottleneck from throughput, percentiles and error rate.
Starting CloudSimExample1...
Datacenter_0 is starting...
Cloudlet 0 SUCCESS Time 400.0
Behaviour-driven development with Cucumber
Run Gherkin feature files against the VLP Demo Store, turn undefined steps into Java step definitions from Cucumber’s snippets, get all scenarios green and filter runs with tags.
Functional and load testing of a REST API with SoapUI and Postman
Build a SoapUI test case for the Students API with assertions and property transfer, run a load test, then recreate the checks in Postman with test scripts, an environment and the Collection Runner.