Posts tagged " Automation "

Ansible 2.8 Released

May 17th, 2019 Posted by DevOps, News, RedHat No Comment yet

Ansible 2.8 has been released. While not as many major features as 2.7, there are an absolute truckload of smaller features, including quite a few focussed on Windows. Some highlights for me:

  • Experimental support for Ansible Collections and content namespacing – Ansible content can now be packaged in a collection and addressed via namespaces. This allows for easier sharing, distribution, and installation of bundled modules/roles/plugins, and consistent rules for accessing specific content via namespaces.
  • Python interpreter discovery, which hopefully will make managing multiple Python versions a bit easier
  • A k8s module defaults group has now been added to reduce the amount of parameters required for multiple k8s tasks. Thank goodness!
  • Added experimental support for connecting to Windows hosts over SSH. This could be really useful, in those circumstances where WinRM isn’t going to fly.

(more…)

Website automation with Selenium and JMeter: part 1

December 12th, 2018 Posted by DevOps No Comment yet

This post is part 1 of a series:

One of our customers asked us to troubleshoot their web application: “out of memory” errors were causing page loads to fail. To understand and isolate the problem we needed a way to reproduce it, and observe it in a monitored scenario. We decided on a strategy for both server and web user:

  • Server: deploy a build that monitors for memory leaks, a first-pass step to diagnose the out of memory errors.
  • Client: simulate web requests from one or more users.

It was straightforward to monitor the server application for memory leaks. On the client side we needed a way to generate repeating user requests, potentially at high volume, because the errors didn’t occur for every request. This post describes how we built a client-side process to automate web requests.

(more…)

Website automation with Selenium and JMeter: part 2

December 12th, 2018 Posted by DevOps No Comment yet

This is the final post, part 2 of a series:

In this post I show how to script Selenium for handling asynchronous browser behaviour, and how to install the tools.

(more…)