Auto Scale Selenium Hub with Zalenium

Selenium-Hub Autoscale Issue —

  • – Selenium Grid is resource consuming & Not container based.
  • – Running multiple test creates issue with scaling or increased Test Cases.
  • – Can’t auto scale.
  • – Scaling with docker alone with cloud testing provider.

Zalenium : –
A flexible and scalable container based Selenium Grid with video recording, live preview, basic auth & dashboard.

1,873 total views, 3 views today

 

API Testing – Running Postman collection in the Docker

Most of the time people have the issue with installing software and dependencies. For example, we want to

Schedule the collection of the postman that we have created earlier using ‘POSTMAN’ tool, Rather than installing ‘newman’ command line tool, We will use a Docker image of Linux box with already installed ‘newman’.

I have been asked why I am getting the error, ‘newman’ not working etc, my os/system is having an issue while installing or running. This post definitely help you guys.


Understanding docker

Docker allows you to package an application with all of its dependencies into a standardized unit for software development.

In simple sentence consider it as a virtual machine which has ubuntu running with ‘newman‘ installed already.

Installing docker.

Navigate to the https://www.docker.com/products/overview#/install_the_platform. And Install it.
When you run it this is how it look like in Mac.

 

 

 

 

 

Pulling the docker images(Make sure you have the Docker install and started it)

  • docker pull postman/newman_ubuntu1404

Running postman collection using docker Command-line.

  •  docker run t postman/newman_ubuntu1404 url=“https://www.getpostman.com/collections/8a0c9bc08f062d12dcda”

Getting results.