Java NumberFormat in action

Parsing or formatting various decimal or currency formats often make the job more difficult. If the expected number format is not the same as it is given then you as a programmer have to adapt to the situation and this is not always easy. There is an already implemented way in Java to handle this.


Perforce – Can’t Clobber Writable File Error

There is an interesting issue i have met the other day.
When i tried to get the latest version of a file from a perforce repository the following error message appeared:

Can’t clobber writable file

Mobile friendly Algorithm

This algorithm will be the next on the list of Google’s updates. Will it impact too much on the Google SERPs in the future? Judge it yourself. Maybe it is enough to say, that more than 50% of the internet traffic is used by mobile devices.
Check here is your website mobile friendly.

Why is important to have a mobile friendly website?

Meaning of SEO words and acronyms

In my previous post – Seo for beginners, I have shared some basic information about the Search Engine Optimization. I want to continue with some more important words and acronyms.

Have you heard about Impressions?

Mobile Website Load Testing

Internet usage on mobile devices increases every year. Even though mobile screens became bigger, its size is still significantly smaller than PC monitors. As the result the website won’t appear correctly or the content will be too small. Because of that the websites needs to be adjusted for the current device. For this purpose there is usually created a mobile version of the website. These changes can cause different performance and stability issues. That’s why there is a need for testing on those pages as well.
There is a variety of devices and web browsers. The website to identify from what device/browser the request came from it will check the “User agent” header string which contains this information. In the later part we will show an example of the header.

For the load test we will be using JMeter. You can download the newest release from here: Download JMeter

Navigating between browser windows with WD

I’ll continue more about testing with JavaScript WD test frame and Selenium stand-alone server.
Today’s topic is navigating between browser windows (or tabs) with WD.

The Webdriver sees each tab and window as a window, it doesn’t make difference. The difference is only at the browser how it is set to handle the windows appearance, opens them in separate browser or as tabs. With WD the navigation is pretty straight forward and not so difficult. There is a command called windowHandles() which as you can read handles the windows. Actually it returns a list of opened windows based on a generated ID by the browser. I’ll give some minor example about navigating and work between two windows.

Test Frameworks to work with inside NodeJS

Testing with NodeJS requires some test framework to work with inside NodeJS.

Our list would be something like this:

  • Mocha
  • Jasmine
  • QUnit
  • Express (no longer supported)
  • jsUnit
  • some other tools

Lets focus on the first three now in this section, they are the most widely used, with some pros and cons.

Trello + Zapier + Cloud – Ultimate tool to organize your life

Get up early, do some stuff at home, go to work, you get thousands of emails, files, conversations, go to the store to buy some stuff for everyday needs, get things done at home etc. and you’ll notice how much stuff have you forgotten to do. Every single of us is familiar with this. Now we have magical tools which can help us like calendars, to-do lists, and note taking apps. Why not link them together? For this purpose we have a great tool, called Zapier.

It doesn’t matter which tools you use to organize your life, there is a big chance that Zapier supports your apps, and you can link them together. We will show you some helpful use cases.

BlazeMeter – Work with Selenium Webdriver

It was a long time we wrote about the BlazeMeter and during this time it comes more reliable, easy to use and there are also some new, great tools (Here you can find our latest post about BlazeMeter: Previous post about loadtesting with BlazeMeter).
Maybe the most important feature is that now you can use Selenium Webdriver to describe your test scenario. There are two ways of creating Selenium Webdriver test on BlazeMeter. You can write your own Selenium Webdriver script or you can record it. Unfortunately recording function was not published yet, so we will explain it in one future post (the link will be placed here).

Handling CSRF prevention tokens / dynamic data in JMeter

In today’s web technologies a common defensive mechanism against csrf attacks is to use a synchronizer token.
This token is unique for each request and thus it blocks us from using the recorded JMeter test session off the shelf.

The solution is to identify and extract the token from the html form.
Identification can be tricky as the dynamic data not always stand out in the html code.
A good practice is to record two test cases with different user credentials and compare the parameters.
Try to identify the technologies used and Google for some documentation.