There is a way to quickly put your hands on running ATS test examples
See how to do it by watching a short video or follow the next steps.
Preparation
We have created a VM image with ready-to-use ATS test project. It runs on top of Oracle VirtualBox. Requirements are minimum 3-4GB RAM and 10GB disk space.
- Download the ATS test project VM image
- Download the appropriate VirtualBox version for your operating system. It's been tested to work well with versions 5.2, 6.0 and 6.1. Note that at the time of verification, only 6.1.x is in maintenance.
- Install VirtualBox.
- Start it.
- Go to File -> Import Appliance
- Select the downloaded ATS test project image file.
- You can allow more resources in order to get better performance by right clicking the imported image, go to Settings → System. For instance you can allocate more CPUs and RAM.
- Right click the imported image and click Start.
- When prompted, login as 'atsuser' with password 'atspassword'.
- Optionally if there are issues you may need to update Guest Additions in the VM which provide better UI and mouse integration.
Now you have a running OS at your service.
Start some of the available tests
- You need to start some applications used by the tests. So from the command terminal go to /home/atsuser/Desktop/AtsDemoTests and execute the start_ats_test_applications script.
- Now open the AtsDemoTests folder located on the desktop and go to eclipse subfolder in order to start Eclipse.
- You will see a number of classes with tests in the ats-demo-tests project. Right-click some class and run it as TestNG test.
- Test results are available in suitable format if start Firefox browser and visit http://localhost:8080/TestExplorer
- Enjoy it. If you have questions, feedback or something does not work as expected - contact us: ats.team [at] axway.com.
Back to parent page
Go to Table of Contents