Testing REST APIs with REST Assured

Note: This is an updated version of a post I wrote for my private blog years ago.

While working on the REST API of RHQ a long time ago, I had started writing some integration tests against it. Doing this via pure HTTP calls is very tedious and brittle. So, I was looking for a testing framework to help me and found one that I used for some time. I tried to enhance it a bit to better suit my needs but didn’t really get it to work.

I started searching again and this time found REST Assured, which is almost perfect as it provides a high-level fluent Java API to write tests. REST Assured can be used with the classic test runners like JUnit or TestNG.

Continue reading “Testing REST APIs with REST Assured”

Share

EDI Transformations with Fuse Integration Services (FIS)

EDI, or Electronic Data Interchange, has always been a challenging domain to support for organizations. As EDI standards cover a large range of industries, from supply chain to medical to financial services (FSI), the standards rapidly evolve and change over time, thus requiring constant maintenance. The sheer cost of maintaining standards is high, not only for organizations but also for EDI software vendors who struggle to keep up. The expensive fees paid to standards organizations and rapidly evolving releases are the main reasons there are no decent open source EDI tools in the community.

Continue reading “EDI Transformations with Fuse Integration Services (FIS)”

Share

Testing your Android App’s UI with Espresso

Android is one of the most used mobile operating systems in the market with an estimated market share of approximately 84.82%. Millions of apps loom in the Android OS, for various tasks and it’s a shame that only a small percentage of the apps have a well-developed user interface (UI), which is flexible and adaptable to various mobile sizes. For an average user, they want their apps to look good and do well. However, if you are an app developer there will be a monstrous problem for you, Android is open source and it comes in all sorts of mobile phones with all sorts of screen sizes. Android developers have taught of this problem and have introduced a new automated testing framework to test the UI of your app called Espresso.

Continue reading “Testing your Android App’s UI with Espresso”

Share

Upgrading to Vaadin Framework 8 (Part 2 of 2)

In the previous part of this blog, I talked about the most important steps to get your project to compile with the latest Framework version.

The migration has been done through the first three steps mentioned here, and in this post, I will go over the least complicated steps of migration. Steps 4 and 5 cover the modernization of your project with the latest Framework 8 features. If you are in a hurry, you can do this later on as well, and use the new APIs only for new Vaadin code.

  1. Upgrade dependencies in the POM file
  2. Run Maven goal vaadin:upgrade8
  3. Upgrade Add-ons
  4. Upgrade non-data components
  5. Upgrade data components
  6. Back to the future

Continue reading “Upgrading to Vaadin Framework 8 (Part 2 of 2)”

Share

Five OpenShift Development Environments in Five Minutes

It’s been over a month since I spoke at the Red Hat Summit in Boston and now that the dust has settled, I thought you might be interested in reading a brief summary of my Lightning Talk on Five OpenShift Development Environments in Five Minutes.

In the presentation, I spoke about five different ways that you can create an OpenShift development environment within minutes. This included oc cluster up, Vagrant All in One Box, Minishift, a Fabric8 technology, and the Red Hat Development Suite. My goal through the presentation was to get developers up and working with OpenShift very quickly.

Continue reading “Five OpenShift Development Environments in Five Minutes”

Share

Statement Frontier Notes and Location Views

Surely, you too have been frustrated, while single-stepping optimized programs in symbolic debuggers, by the Brownian motion in the source code, and by never being sure, when you reach a certain source line (if you can reach it at all), whether or not earlier lines have taken effect. Our frustration is about to be significantly alleviated, thanks to two new pieces of technology about to be contributed to the GNU toolchain.

Continue reading “Statement Frontier Notes and Location Views”

Share