SlideShare a Scribd company logo
OPTIMUS CLOUD
Connecting DevicesTogether
PREREQUISITES
• Docker - https://www.docker.com/
• Appium - http://appium.io/
• Android SDK
• XCODE *
PROTIP
Install Optimus-CLI to setup machine for running appium tests
npm install -g optimus-cli
optimus doctor
optimus setup
TERMINOLOGIES
WORKERS
• Machines where devices/emulators/simulators are
connected/running
• MacMini
• Linux Box
• Windows Machine
CLOUD
• Machine or a cluster where Optimus Cloud
Services Run
• MacMini
• AWS
• GCP
CLIENT
• Dev Machine from where the tests are executed
• Laptop
• CI Runner
BIRDVIEW
Client Optimus Cloud Worker
Note: Client and Worker should be on same intranet
OPTIMUS CLOUD SETUP
STEP 1
DEPLOYING OPTIMUS CLOUD
SERVICES
MACMINI
• The machine where Optimus cloud get deployed should have docker
installed.
• Once the docker is installed run below curl in a folder of your choice.
• curl -OL https://raw.githubusercontent.com/testvagrant/OptimusCloud/master/docker-
compose.yml
• Launch the cloud using below command, on successful launch you will find
logs as shown in the image
• docker-compose up
• Keep a record of the ip address of the machine where cloud is deployed
• e.g. 192.168.1.12
STEP 2
DEPLOYING WORKER SERVICE
ON WORKERS
WORKERS
• Download worker service gem
• gem install optimus-runner
• Create OptimusCloud Env file.
• Create an file as OptimusCloud.env and enter the OptimusCloud host which was recorded in step 1.
Use the sample OptimusCloud.env file shared in OptimusCloud kit
• Launch OptimusWorker
• optimus-runner run -e OptimusCloud.env
• optimus-runner start -e OptimusCloud.env // If you want to run worker service in the background
• On Successful launch your worker service will detect the devices connected to the worker and launches
appium sessions as shown in the image.
REPLICATE STEP 2 FOR AS MANY
WORKERS ASYOU WANT
STEP 3
UPDATE CLIENT WITH OPTIMUS
CLOUD LANGUAGE BINDINGS
JAVA LANGUAGE BINDING
• Add JavaClient dependency to your project from
here
• https://search.maven.org/artifact/
com.testvagrant.optimuscloud/javaclient/1.0.1-beta/pom
• Refer to the sample project shared in the
OptimusCloud kit
STEP 4
TESTYOUR CLOUD BY
RUNNINGTESTS

More Related Content

What's hot

Modernizing Traditional Apps with Docker Enterprise Edition
Modernizing Traditional Apps with Docker Enterprise EditionModernizing Traditional Apps with Docker Enterprise Edition
Modernizing Traditional Apps with Docker Enterprise Edition
Elton Stoneman
 
Cloud+Data Next: Mashing Linux and Windows Containers
Cloud+Data Next: Mashing Linux and Windows ContainersCloud+Data Next: Mashing Linux and Windows Containers
Cloud+Data Next: Mashing Linux and Windows Containers
Elton Stoneman
 
Automating your mac farm for iOS build and automation
Automating your mac farm for iOS build and automationAutomating your mac farm for iOS build and automation
Automating your mac farm for iOS build and automation
Mikhail Advani
 
ScotSoft 2017: Why Containers Will Take Over the World
ScotSoft 2017: Why Containers Will Take Over the WorldScotSoft 2017: Why Containers Will Take Over the World
ScotSoft 2017: Why Containers Will Take Over the World
Elton Stoneman
 
Particle Image Velocimetry on AWS Batch
Particle Image Velocimetry on AWS BatchParticle Image Velocimetry on AWS Batch
Particle Image Velocimetry on AWS Batch
Takahisa Shiratori
 
Introduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavorIntroduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavor
Giulio Vian
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
Massimo Ferre'
 
Docker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET AppsDocker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET Apps
Elton Stoneman
 
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put togetherVMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
Eduardo Patrocinio
 
AWS Connect 2017 - Container (feat. AWS)
AWS Connect 2017 -  Container (feat. AWS)AWS Connect 2017 -  Container (feat. AWS)
AWS Connect 2017 - Container (feat. AWS)
smalltown
 
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As CodeDevops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Israel Shirk
 
IP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with DockerIP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
Elton Stoneman
 
Domain's Robot Army
Domain's Robot ArmyDomain's Robot Army
Domain's Robot Army
domaingroup
 
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azureNode.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Patriek van Dorp
 
SQL Sever on Docker: Database Containers 3 Ways
SQL Sever on Docker: Database Containers 3 WaysSQL Sever on Docker: Database Containers 3 Ways
SQL Sever on Docker: Database Containers 3 Ways
Elton Stoneman
 
HTCondor flocking between two clouds
HTCondor flocking between two cloudsHTCondor flocking between two clouds
HTCondor flocking between two clouds
Guy Tel-Zur
 
Introduction to IBM Bluemix
Introduction to IBM BluemixIntroduction to IBM Bluemix
Introduction to IBM Bluemix
craftworkz
 
Immutable infrastructure with Boxfuse
Immutable infrastructure with BoxfuseImmutable infrastructure with Boxfuse
Immutable infrastructure with Boxfuse
Lars Östling
 
Provisioning, deploying and debugging node.js applications on azure
Provisioning, deploying and debugging node.js applications on azureProvisioning, deploying and debugging node.js applications on azure
Provisioning, deploying and debugging node.js applications on azure
Patriek van Dorp
 
Spinnaker for Azure
Spinnaker for AzureSpinnaker for Azure
Spinnaker for Azure
Larry Guger
 

What's hot (20)

Modernizing Traditional Apps with Docker Enterprise Edition
Modernizing Traditional Apps with Docker Enterprise EditionModernizing Traditional Apps with Docker Enterprise Edition
Modernizing Traditional Apps with Docker Enterprise Edition
 
Cloud+Data Next: Mashing Linux and Windows Containers
Cloud+Data Next: Mashing Linux and Windows ContainersCloud+Data Next: Mashing Linux and Windows Containers
Cloud+Data Next: Mashing Linux and Windows Containers
 
Automating your mac farm for iOS build and automation
Automating your mac farm for iOS build and automationAutomating your mac farm for iOS build and automation
Automating your mac farm for iOS build and automation
 
ScotSoft 2017: Why Containers Will Take Over the World
ScotSoft 2017: Why Containers Will Take Over the WorldScotSoft 2017: Why Containers Will Take Over the World
ScotSoft 2017: Why Containers Will Take Over the World
 
Particle Image Velocimetry on AWS Batch
Particle Image Velocimetry on AWS BatchParticle Image Velocimetry on AWS Batch
Particle Image Velocimetry on AWS Batch
 
Introduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavorIntroduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavor
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS servicesEnd-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
 
Docker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET AppsDocker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET Apps
 
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put togetherVMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
VMware, SoftLayer, OpenStack, Heat, Cloud Foundry and Docker put together
 
AWS Connect 2017 - Container (feat. AWS)
AWS Connect 2017 -  Container (feat. AWS)AWS Connect 2017 -  Container (feat. AWS)
AWS Connect 2017 - Container (feat. AWS)
 
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As CodeDevops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
 
IP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with DockerIP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
 
Domain's Robot Army
Domain's Robot ArmyDomain's Robot Army
Domain's Robot Army
 
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azureNode.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
 
SQL Sever on Docker: Database Containers 3 Ways
SQL Sever on Docker: Database Containers 3 WaysSQL Sever on Docker: Database Containers 3 Ways
SQL Sever on Docker: Database Containers 3 Ways
 
HTCondor flocking between two clouds
HTCondor flocking between two cloudsHTCondor flocking between two clouds
HTCondor flocking between two clouds
 
Introduction to IBM Bluemix
Introduction to IBM BluemixIntroduction to IBM Bluemix
Introduction to IBM Bluemix
 
Immutable infrastructure with Boxfuse
Immutable infrastructure with BoxfuseImmutable infrastructure with Boxfuse
Immutable infrastructure with Boxfuse
 
Provisioning, deploying and debugging node.js applications on azure
Provisioning, deploying and debugging node.js applications on azureProvisioning, deploying and debugging node.js applications on azure
Provisioning, deploying and debugging node.js applications on azure
 
Spinnaker for Azure
Spinnaker for AzureSpinnaker for Azure
Spinnaker for Azure
 

Similar to Optimus Cloud User Guide

DCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
DCEU 18: Automating Docker Enterprise: Hands-off Install and UpgradeDCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
DCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
Docker, Inc.
 
calmio-cicd-containers
calmio-cicd-containerscalmio-cicd-containers
calmio-cicd-containers
Balaji Janakiram
 
Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019
Sargis Sargsyan
 
Get started with docker & dev ops
Get started with docker & dev opsGet started with docker & dev ops
Get started with docker & dev ops
Asya Dudnik
 
Deploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudDeploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the Cloud
Robert Parker
 
Dockercon eu tour 2015 - Devoxx Casablanca
Dockercon eu tour 2015 - Devoxx CasablancaDockercon eu tour 2015 - Devoxx Casablanca
Dockercon eu tour 2015 - Devoxx Casablanca
Michel Courtine
 
Zombies in Kubernetes
Zombies in KubernetesZombies in Kubernetes
Zombies in Kubernetes
Thomas Fricke
 
Docker in10mins
Docker in10minsDocker in10mins
Docker in10mins
Dawood M.S
 
Dockerin10mins
Dockerin10minsDockerin10mins
Dockerin10mins
Dawood M.S
 
Dockerin10mins
Dockerin10minsDockerin10mins
Dockerin10mins
Dawood M.S
 
Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)
Julien SIMON
 
Get started with docker & dev ops
Get started with docker & dev opsGet started with docker & dev ops
Get started with docker & dev ops
Asya Dudnik
 
Docker fundamentals
Docker fundamentalsDocker fundamentals
Docker fundamentals
Alper Unal
 
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
Amazon Web Services
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
openstackindia
 
State of Containers in Openstack
State of Containers in OpenstackState of Containers in Openstack
State of Containers in Openstack
Madhuri Kumari
 
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
Ambreen Khan
 
Securing Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad MeetupSecuring Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad Meetup
Kumar Ashwin
 
Securing Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad MeetupSecuring Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad Meetup
Kumar Ashwin
 
Automation in the Small: Code to Cloud
Automation in the Small: Code to CloudAutomation in the Small: Code to Cloud
Automation in the Small: Code to Cloud
Jay Barker
 

Similar to Optimus Cloud User Guide (20)

DCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
DCEU 18: Automating Docker Enterprise: Hands-off Install and UpgradeDCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
DCEU 18: Automating Docker Enterprise: Hands-off Install and Upgrade
 
calmio-cicd-containers
calmio-cicd-containerscalmio-cicd-containers
calmio-cicd-containers
 
Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019
 
Get started with docker & dev ops
Get started with docker & dev opsGet started with docker & dev ops
Get started with docker & dev ops
 
Deploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudDeploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the Cloud
 
Dockercon eu tour 2015 - Devoxx Casablanca
Dockercon eu tour 2015 - Devoxx CasablancaDockercon eu tour 2015 - Devoxx Casablanca
Dockercon eu tour 2015 - Devoxx Casablanca
 
Zombies in Kubernetes
Zombies in KubernetesZombies in Kubernetes
Zombies in Kubernetes
 
Docker in10mins
Docker in10minsDocker in10mins
Docker in10mins
 
Dockerin10mins
Dockerin10minsDockerin10mins
Dockerin10mins
 
Dockerin10mins
Dockerin10minsDockerin10mins
Dockerin10mins
 
Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)
 
Get started with docker & dev ops
Get started with docker & dev opsGet started with docker & dev ops
Get started with docker & dev ops
 
Docker fundamentals
Docker fundamentalsDocker fundamentals
Docker fundamentals
 
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
(DVO305) Turbocharge YContinuous Deployment Pipeline with Containers
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
State of Containers in Openstack
State of Containers in OpenstackState of Containers in Openstack
State of Containers in Openstack
 
Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
 
Securing Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad MeetupSecuring Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad Meetup
 
Securing Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad MeetupSecuring Containers From Day One | null Ahmedabad Meetup
Securing Containers From Day One | null Ahmedabad Meetup
 
Automation in the Small: Code to Cloud
Automation in the Small: Code to CloudAutomation in the Small: Code to Cloud
Automation in the Small: Code to Cloud
 

Recently uploaded

一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
一比一原版美国宾州州立大学毕业证(psu学位证)如何办理一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
mjjbdpo2
 
eSIM and Virtual SIM Data Plans with GhostSims
eSIM and Virtual SIM Data Plans with GhostSimseSIM and Virtual SIM Data Plans with GhostSims
eSIM and Virtual SIM Data Plans with GhostSims
Ghost Sims
 
一比一原版美国麻省大学波士顿分校毕业证如何办理
一比一原版美国麻省大学波士顿分校毕业证如何办理一比一原版美国麻省大学波士顿分校毕业证如何办理
一比一原版美国麻省大学波士顿分校毕业证如何办理
obaem
 
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
sf3cfttw
 
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
naagimvidio
 
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
anilsa9823
 
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
Grest Grest.in
 
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
toynvu
 

Recently uploaded (8)

一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
一比一原版美国宾州州立大学毕业证(psu学位证)如何办理一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
一比一原版美国宾州州立大学毕业证(psu学位证)如何办理
 
eSIM and Virtual SIM Data Plans with GhostSims
eSIM and Virtual SIM Data Plans with GhostSimseSIM and Virtual SIM Data Plans with GhostSims
eSIM and Virtual SIM Data Plans with GhostSims
 
一比一原版美国麻省大学波士顿分校毕业证如何办理
一比一原版美国麻省大学波士顿分校毕业证如何办理一比一原版美国麻省大学波士顿分校毕业证如何办理
一比一原版美国麻省大学波士顿分校毕业证如何办理
 
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
一比一原版(soton毕业证书)南安普顿大学毕业证如何办理
 
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
Call Girls In Kolkata Book Me Monika:- 9079923931 | For Hot Moments Direct Ca...
 
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
Call Girls Kolkata ☎️ +91-7426014248 😍 Kolkata Call Girl Beauty Girls Kolkata...
 
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
How a Second-hand/Pre-owned iPhone Becomes a Certified Premium Refurbished iP...
 
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
一比一原版(hertfordshire毕业证书)赫特福德大学毕业证如何办理
 

Optimus Cloud User Guide

  • 2. PREREQUISITES • Docker - https://www.docker.com/ • Appium - http://appium.io/ • Android SDK • XCODE *
  • 3. PROTIP Install Optimus-CLI to setup machine for running appium tests npm install -g optimus-cli optimus doctor optimus setup
  • 5. WORKERS • Machines where devices/emulators/simulators are connected/running • MacMini • Linux Box • Windows Machine
  • 6. CLOUD • Machine or a cluster where Optimus Cloud Services Run • MacMini • AWS • GCP
  • 7. CLIENT • Dev Machine from where the tests are executed • Laptop • CI Runner
  • 9. Client Optimus Cloud Worker Note: Client and Worker should be on same intranet
  • 11. STEP 1 DEPLOYING OPTIMUS CLOUD SERVICES
  • 12. MACMINI • The machine where Optimus cloud get deployed should have docker installed. • Once the docker is installed run below curl in a folder of your choice. • curl -OL https://raw.githubusercontent.com/testvagrant/OptimusCloud/master/docker- compose.yml • Launch the cloud using below command, on successful launch you will find logs as shown in the image • docker-compose up • Keep a record of the ip address of the machine where cloud is deployed • e.g. 192.168.1.12
  • 13.
  • 14. STEP 2 DEPLOYING WORKER SERVICE ON WORKERS
  • 15. WORKERS • Download worker service gem • gem install optimus-runner • Create OptimusCloud Env file. • Create an file as OptimusCloud.env and enter the OptimusCloud host which was recorded in step 1. Use the sample OptimusCloud.env file shared in OptimusCloud kit • Launch OptimusWorker • optimus-runner run -e OptimusCloud.env • optimus-runner start -e OptimusCloud.env // If you want to run worker service in the background • On Successful launch your worker service will detect the devices connected to the worker and launches appium sessions as shown in the image.
  • 16. REPLICATE STEP 2 FOR AS MANY WORKERS ASYOU WANT
  • 17. STEP 3 UPDATE CLIENT WITH OPTIMUS CLOUD LANGUAGE BINDINGS
  • 18. JAVA LANGUAGE BINDING • Add JavaClient dependency to your project from here • https://search.maven.org/artifact/ com.testvagrant.optimuscloud/javaclient/1.0.1-beta/pom • Refer to the sample project shared in the OptimusCloud kit
  • 19. STEP 4 TESTYOUR CLOUD BY RUNNINGTESTS