Tuesday, December 18, 2012

Schema Validation in Mule ESB

The following sample shows how to perform a schema validation in mule ESB



I have used an XSD validation in this example here.

Set Payload in Mule ESB

Using the setPayload transformer one can modify the payload of the incoming message.



Testing Restful Webservice using Apache Jmeter


There are a lot of blogs around building restful webservice using jax-rs. Here are the steps to test restful webservice using Apache Jmeter. 

Create HTTP Request defaults with the location where the service is running. In my case its localhost:10021


 Create HTTP Header manager with the type of content used in the service call. In my case its xml


Create the HTTP request. In my case its a simple get request.


Once its over, adjust the test thread according to your needs and run the test.

Create Bootable Linux USB

As i dont have a CD/DVD Drive anymore, i had to use this unetbootin software to create a bootable Linux USB. Works like a charm!!.



KDE Training and Tutorials

Being a recent convert to KDE(I dont hate Gnome but i figured its not for me anymore :() i was searching for a nice youtube playlist that could educate me on the latest KDE features. Luckily i found this series and it was really helpful.

Mule ESB flow involving JMS

The following is a integration flow involving jms and file endpoints. This flow listens for messages from a jms queue - kiran. Once it receives a message, it is forwarded to the 'All' flow control pattern which forwards the message to a File location as well to another jms queue - kumar. I have used ActiveMQ as the messaging broker. The following is the flow with its details. Jmeter as mentioned here can be used to test this flow.









Apache Jmeter Configuration For Testing Apache ActiveMQ

One of my favourite testing tool is Apache Jmeter(Wouldnt give up soap UI too!!). My project involved sending test messages to ActiveMQ from Apache Jmeter. I had to figure out how to make Jmeter work for ActiveMQ. After sometime of going through some pages from google i found the way to make it work. Here are the steps

1. Copy activemq-all-5.7.0.jar from activeMQ installation and drop it in C:\apache-jmeter-2.8\lib.

2. Create a project in Jmeter with the following configuration


3. Check the ActiveMQ console configuration for the queue. The queue 'kiran' has no messages enqueued in it.


4. Run the test plan in jmeter and check the ActiveMQ console again. You can see the messages enqueued.





That's how you can make Jmeter work for testing ActiveMQ!!

Tuesday, November 20, 2012

Tabs for Putty - SuperPutty

Working on different sessions on putty is always difficult if you're on production environment. SuperPutty is an organized tabbed interface for putty. A must-have for developers and adminstrators.

Best Tool for Editing PDF forms

I've been searching for a tool that can save the form data in PDF's. After trying out certain products i ended up with PDF-XChange Viewer. This is a lightweight tool and does what it says. A very good find indeed!!.

Monday, October 1, 2012

Took a Git Training

Completed 2-day training on git essentials from https://tutsplus.com/course/git-essentials/. Everyone looks at version control management/source code management as an important part of the project but never invests time on how to use these tools effectively. Its been a 'learn as you use' tool. I have used Apache SVN for like 3 years and i wouldn't say I'm an expert on it. All i have done is check in and checkout. Taking a formal training on git has enabled me to exploit the features of git which otherwise would be left untouched.