Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

Easily enforce open source policies in real time and reduce MTTRs from six weeks to six seconds with the Sonatype Nexus Platform. See for yourself - Free Vulnerability Scanner. 

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."

Video


Automate open source governance at scale across the entire software supply chain with the Nexus Platform. Learn more.

Topics:
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 }}