Automation360

Acquire, aggregate and analyze test reports

Features of Automation360

Manage automation results 

We can achive realtime results and logs reports screenshots etc in one place for each and every testcase .With clear information whenever a test execution is completed .

Review Statistics

With the help of custom dashboard we can analyze and compare the results immediately,There is no need of ecternal integrations for graphical reprasentation of Stats.

Integrate with Test Frameworks

It Is Easily integrates with Test Frameworks, You can easily integrate portal with your test frameworks, as well as collect and browse all project tests in one place.

Classify test results

We can Classify test failures and quickly observe statistics around the launch as a whole and define a failure reasons of test case and set a Defect type for it: Product bug, Auto Bug, System Issue or custom type.


Review your test Case statastics

Mobirise

   Realtime Test Result Analysis 


Mobirise

Guide to Install

1. Docker on Ubuntu

Requirements of Installing Docker on Ubuntu

     
        -> You must be using a 64 bits OS because Docker doesn’t support 32 bits.

Install Docker from Ubuntu Repository

     
        -> Use below command to install Docker.

  • sudo apt install docker.io
DockerConfig

During the installation, a docker group and a Systemd service will be created. You can check the systemd service with:

  • systemctl status containerd
DockerConfig

Install Docker on Ubuntu from Docker’s APT Repository


        -> To ensure that we have the latest and greatest version, we will have to install it from Docker’s APT repository. Run the following command to add Docker repository to your Ubuntu system.

  • echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list


      -> Next, run the following command to import the Docker GPG key to Ubuntu system so that APT can verify package integrity during installation.

  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -


      -> And because this repository uses HTTPS connection, which I recommend all software repositories should be using, we also need to install apt-transport-https and ca-certificates package.

  • sudo apt install apt-transport-https ca-certificates


      -> Finally, update the package index on your Ubuntu system and install docker-ce (Docker Community Edition).

  • sudo apt update
  • sudo apt install docker-ce


      -> Once Docker is installed, the Docker daemon should be automatically started. You can check its status with:

  • systemctl status docker
DockerConfig


      ->  If it’s not running, then start the daemon with this command:

  • sudo systemctl start docker


      ->  And enable autostart at boot time:

  • sudo systemctl enable docker


     ->  Check Docker version.

  • docker -v
DockerConfig

2. Install Docker Compose

     
        ->  Run this command to download the current stable release of Docker Compose:

  • sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose


      ->  Apply executable permissions to the binary:

  • sudo chmod +x /usr/local/bin/docker-compose

  • Note: If the command docker-compose fails after installation, check your path. You can also create a symbolic link to /usr/bin or any other directory in your path.


      -> Test the installation.

  • docker-compose --version


          -> Output :

  • docker-compose version 1.26.2, build 1110ad01

3. Installation of ReportPortal


      -> Download Docker-Compose.yml using below command : -

  • curl https://raw.githubusercontent.com/reportportal/reportportal/master/docker-compose.yml -o docker-compose.yml


      -> Deploy ReportPortal using docker-compose within the same folder

  • docker-compose -p reportportal up


      -> Deploy ReportPortal using docker-compose within the same folder

  • docker-compose -p reportportal up
  • To start ReportPortal in daemon mode, add '-d' argument:

  • docker-compose -p reportportal up -d


      -> Open in your browser IP address of deployed environment at port 8080

  • http://IP_ADDRESS:8080

Use the following login\pass to access:
       
                    default\1q2w3e
                                 or
                    superadmin\erebus


DockerConfig

Download Docker from https://www.docker.com/get-started

  • Install Docker in to your mac .
  • After installation Check the Preferences is setted as below.
DockerConfig

Create a Directory with the name Reportportal by using below Terminal

  • mkdir reportportal

Navigate to that Directory path by using below command

  • cd reportportal

Download the latest ReportPortal Docker compose file from here. You can make it by run the below command:

  • curl https://raw.githubusercontent.com/reportportal/reportportal/master/docker-compose.yml -o docker-compose.yml

Run the Below command to The vm.max_map_count setting must be set within the xhyve virtual machine:

  • screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
  • Hit Enter You can see below Screen with “ docker-desktop “
DockerConfig

Run below command To set elasticsearch count

  • sysctl -w vm.max_map_count=262144
  • ** Close the terminal and open the new terminal .

Give right permissions to ElasticSearch data folder using the following commands:

  • mkdir -p data/elasticsearch
  • chmod g+rwx data/elasticsearch
  • chgrp 1000 data/elasticsearch

Start the application using the following command:

  • docker-compose -p reportportal up -d --force-recreate

ReportPortal address:

  • http://localhost:8080
DockerConfig

Use the following login\pass to access:

  • default\1q2w3e
  • or
  • superadmin\erebus

INSTALLING REPORTPORTAL ON AWS

Prerequisites:

     
        -> AWS account.

1. Launch and configure the AWS EC2 instance:

     

DockerConfig

select Instance Type t2-large

     

DockerConfig

Leave everything default in "Configure Instance Details"

     

DockerConfig

Leave everything default in "Add Storage" and "Add tags"


-> Configure Security group. Open port "8080" from Anywhere. It will be better if you         open everything for testing purpose, that is, Ports: All, Protocol: All .

-> Click "Review and Launch". Ignore warnings and click "Launch". Choose to create             new Key pair.

DockerConfig


-> Download the key pair (.pem) in local. Instance will launch in few minutes.

Note: -If using windows machine then convert the .pem file into .ppk file.

2. Once login into the ec2 machine run below commands:

     

  • sudo yum update
  •      

  • sudo yum install -y docker
  •      

  • sudo usermod -a -G docker ec2-user
  •      

  • sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null
  •      

  • sudo chmod +x /usr/local/bin/docker-compose
  •      

  • ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
  •      

  • sudo service docker start
  •      

  • sudo chkconfig docker on


-> Close the ec2 machine.

3. Set up Report Portal on EC2


-> Create new S3 bucket, for example with name "reportportal" Create new role              with FullS3Access Assign role to EC2.

DockerConfig


Download the docker-compose.yml file for Report Portal.


      Make following change in docker-compose file: "just add nofile limits on configuration from elastic search service" (add lines that are in Bold)

    memlock:

            soft: -1

            hard: -1

    nofile:

          soft: 65536

          hard: 65536


-> Upload the modified "docker-compose.yml" file to S3.

     

**Login into the EC2 using ssh (for example using PuTTY in windows)**

Download the "docker-compose.yml" file to EC2 from S3 by using below command :

 ->      aws s3 cp s3:// <my_bucket >/docker-compose.yml docker-compose.yml

And run below commands:

  • mkdir data/elasticsearch
  •      

  • chmod g+rwx data/elasticsearch
  •      

  • chgrp 1000 data/elasticsearch
  •      

  • sudo sysctl -w fs.file-max=65536
  •      

  • sudo sysctl -w vm.max_map_count=262144
  •      

  • sudo sysctl -w net.ipv4.ip_forward=1
  •      

Run below command to start installation of reportportal in aws :

     

  • docker-compose -p reportportal up -d --force-recreate
  •      

    Wait for some time untill you see:

    DockerConfig


    Reportportal Installed Sucessfully users can access by below IP:-

    ReportPortal address:
    • http://[server ip]:8080
    DockerConfig

    Use the following login\pass to access:

    • default\1q2w3e
    • or
    • superadmin\erebus