The Developer Testing Paradox

April 6 2011

0 comments 0
motif

Over the years, I’ve seen many different testing styles while doing software development. Each one has unique characteristics, and some developers can identify themselves with more than one probably. I would like to go over all the different styles and point the effect it has over the project.
(more…)

Page Models: An Object Oriented approach to integration tests design

motif

Setting up the problem

Here is a simple scenario:

1. Go to Google
2. Provide a search string
3. Search the web
4. Make sure that some results are returned

In order to automate it, use your favorite test recording tool. Did you say Selenium IDE? Sure, Why not, but there are other tools, even those solely based on Javascript.

The previous scenario was implemented using Selenium IDE. Below you can see the resulting generated Java code (JUnit4):

(more…)

Web Testing & Selenium

motif

I did Unit Testing, but the Customer is still not happy

sauron

I have this web project. Pretty complex one. The code coverage is over 90%. Awesome! I even have a Continuous Integration set up. My code is built, and my tests make sure that functionally works as expected.  I even have a well defined suite of UI tests using an internal renderer that is super fast.  But, ohhh… today a Customer filled in a complaint saying that the site is not working well. Buttons are not responding, images are missing and the like. Catastrophe!  This may be familiar to you? What am I missing here? I need  external, not controlled-by-us browser behavior testing! How do I solve this problem? Or at least have an early warning that Sauron is about to be awake?
(more…)

Tomcat 7 Voted Stable, Tomcat 6 No Longer the Latest Stable

January 14 2011

1 comment. 0
motif

Tomcat 7.0.6 has just been voted the first Tomcat 7 stable release! This makes Tomcat 6.0.x only a supported stable release, not the latest stable as it had been for several years. A little more than a half a year ago we saw the first 7.0.0 beta release, which was exciting, but now the first stable release is ready to use.

A major branch stable Tomcat release is an infrequent event — it’s been four years since the last major branch, Tomcat 6, was voted stable in February of 2007, and six and a half years since Tomcat 5.5 was voted stable in November of 2004.

(more…)

Dynamic port testing in Mule 3

November 16 2010

0 comments 0
motif

I wanted to write about a little project I have been working on which I added to the Mule testing framework recently: dynamic port testing.  As long as I have been working on the Mule ESB project, we have had weird random intermittent test failures which fail with a message like this:

Most of the time, the condition is not reproducible and re-running the test again would pass.  After a lot of investigation/poking around, I traced the cause of the problem to be the OS not releasing the port quickly enough for the next test to use it.  This usually happened when the build machine was under high load.  That’s where dynamic port testing comes in.  Using variable substitution in our Mule test configuration files, I wrote a wrapper test framework class which looks for and assigns free ports to tests so we can avoid the ‘Address already in use’ condition.
(more…)

Test Drive Tcat Server in the Cloud

August 12 2010

0 comments 0
motif

Tcat Server remains the most intuitive and easy to use product for enterprise Tomcat users. In the most recent release, we made Tcat Server even easier to try.  Since we launched the product several months ago, downloads for Tcat Server have been increasing exponentially, but we wanted to find a way to reach yet more users that will benefit from using Tcat Server.

We realize that some of you do not have time to download software, install it and take a look. Some of you want to first take a quick look at Tcat Server to decide if its the right choice, without having to go through the download process.

(more…)

The road to microservices: an overview of architectures

September 9 2019

1 comment. 0

This is the second blog in a series explaining how MuleSoft’s Anypoint Platform can provide agile connectivity across monolith, SOA, and microservices architectures

In my last blog post, I discussed the impact agility has on business and IT, what it means for a business to be agile, and how implementing flexibility within your architecture enables business agility. This post will discuss the different architectures that have been prominent in previous years and how they’ve influenced the architecture of today. 

(more…)

How standardized APIs enabled efficiency, speed, and security for a global top 10 bank

August 29 2019

0 comments 0
Standardized APIs- efficiency, speed, security

One top 10 global bank’s efforts to improve its IT operations was quickly coming to fruition; following the success of applying API-led connectivity to mortgage lending, its IT team embarked on another project to unify collections and recovery experiences. 

(more…)

Top 5 CIO podcasts

August 28 2019

0 comments 0
Top-podcasts-CIO

The role of the chief information officer is becoming ever more important as they drive organizations toward success with both business and technology in mind. We’ve rounded up some of the best CIO podcasts that talk about everything from digital transformation to cloud security to measuring the impact of IT. 

Read More

Use case-specific error handling in Mule 4

August 23 2019

2 comments 0
popular error types

Often times when you are processing data through a flow, you may want to treat certain errors differently than others. For instance, if you are trying to select records from Salesforce, you would want to handle a record not found error differently than an out of memory error. For this reason, MuleSoft allows us to handle errors based on use cases as well as the types of errors that are being thrown.

(more…)