Automated tests for Spring Boot WebSocket server

Developing WebSocket server for your Spring Boot app is fairly simple and well described and documented. However when it comes to making sure that it 'actually works' is done manually in most cases. Below I will show how I do the automated integration tests for Websocket server using Spring's StompClient. I assume that you are … Continue reading Automated tests for Spring Boot WebSocket server

How to run jMeter tests on Jenkins

If you monitor your system performance with Apache jMeter test suite, you can easily make it a part of your Continuous Integration and monitor the performance on a regular basis. You need to do three things: Put your Apache jMeter binary files on Jenkins machine Run jMeter tests in headless mode from Jenkins job, generating … Continue reading How to run jMeter tests on Jenkins

Run Protractor tests in Jenkins’ headless browser on Linux with Xvfb

Automated GUI testing is a must for core buisness functionalities in an application. Running them frequently in an automated manner on Continuous Integration environment guarantees reliable results and gives confidence that system isn't broken. Test suite should be written in a way that does not require human attention, generates test report and is repetitive to … Continue reading Run Protractor tests in Jenkins’ headless browser on Linux with Xvfb

Guava Cache basic demo

Here I go with the caching! Caching (and cache invalidation) is second one of the most difficult thing to do while programming (the first one is the naming things problem :P ). I'll show the demo with Guava Cache (18.0). Source Code for this tutorial is on my GitHub: https://github.com/yacekmm/looksok/tree/GuavaCacheDemo/Guava/GuavaCacheDemo Caches Explained You may want … Continue reading Guava Cache basic demo

Tutorial: Install Monkey Talk in less than 30 minutes and benefit from it

Each Android / iOS developer should use Monkey Talk, not only for testing purposes, but also to make his life easier. Each developer knows how often one must go through the same path while developing an app - so it's not just for testers. With Monkey Talk you can easily record script with repeatable steps … Continue reading Tutorial: Install Monkey Talk in less than 30 minutes and benefit from it

Clean code: Error-proof and testable code

Continuing the previous post, here is another video. This one is lot more packed with concepts and best practices, so it is impossible to catch everything after first watch - one would have to consecutively come back to it and analyze particular clues. Slides are not very good in my opinion, however concepts and talk … Continue reading Clean code: Error-proof and testable code