Over a million developers have joined DZone.

Using the Turnkey Linux VM for Tracks Testing

DZone's Guide to

Using the Turnkey Linux VM for Tracks Testing

Learn about using the Turnkey Linux VM for testing Tracks using network settings Bridged, or Host Only, in this tutorial.

· DevOps Zone ·
Free Resource

The need for DevOps innovation has never been greater. Get the results from over 100 business value assessments in this whitepaper, Digital Darwinism: Driving Digital Transformation, to see the positive impact of DevOps first hand.

I normally use VM Ware, but I create a video showing Turnkey Linux and Virtual Box to help people with the network settings.

Virtual Machines

Virtual Machines are great, particularly when someone else builds them for you, which is the case with Turnkey Linux.

For my book "Automating and Testing a REST API," I used both Bitnami VMs and Turnkey VMs, but Bitnami stopped supporting the Tracks VM - Turnkey (at the time of writing) still support the Tracks VM.

I used Virtual Box and importing the Turnkey VM as a Virtual Box Appliance worked faultlessly.

The main issue that people have with VMs is the network settings.

VM Network Settings

With the Tracks VM, we don't really care if the VM can access the outside world or not, we just want to access it from our browser and with our REST Client tools.

In the video, I work through all the Network settings to show the various errors that you might encounter, but normally, I use either

  • Bridged, or
  • Host-Only Adapter.

On VM Ware, I tend to use NAT.

Experiment With Different Settings

The point is, that with different VMs, on different operating systems, with different machines, and different Virtual Machine Host software, we have to experiment.

In the trade, this is known as "messing with the settings until it seems to work."

I've uploaded the video to YouTube and embedded it on the support page for "Automating and Testing a REST API."


Interested in Kubernetes but unsure where to start? Check out this whitepaper, A Roundup of Managed Kubernetes Platforms from Codeship by Cloudbees, for an overview and comparison of Kubernetes platforms. 

devops ,tracks ,software testing ,linux ,virtual machines

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}