Valid UK address data for testing

Mark Tomlinson (@Mtomlins) recently contacted me via Skype and asked me whether I had source of test data for valid UK addresses and postcodes. In the past I’ve used Brian Dunning’s sample data, and initially I recommended this to Mark. The data appears to be valid, but is actually made up of real first and last names, together with randomised street addresses which do not represent actual locations. This made me wonder what would be a good source of valid addresses for testing.

There are various options available to performance testers, including cuts of production data (suitably anonymised) or the Royal Mail address database. I did a couple of Google searches and stumbled across an excellent site run by Chris Bell, a developer who specialises in .NET, PHP and Google Maps integration.

Random Address Generator – from Chris Bell’s website

Chris has a random address generator on his website, you simply enter the number of addresses you require and decide whether you want them comma separated or not, then click a button to create the addresses. As the addresses are created by are plotted on a Google map which demonstrates that they are valid and once the list is complete, you can download it to a text file on your computer.

Chris has some other great code samples on his site including code which converts postcodes to latitude and longitude (and vice versa), lists UK phone dialling codes geographically and has sources of data such as postcodes by parliamentary constituency and even property sales.

PostCodes by Parliamentary Constituency
PostCodes by Parliamentary Constituency – from Chris Bell’s website

This is a fantastic source of data for any tester or even somebody who’s just a bit nosey and wants to know how much their neighbour’s house is worth!  😉

What’s new in LoadRunner 12?

LoadRunner 12

The roadmap for LoadRunner 12 was presented at HP Discover Barcelona in December last year. Since that time, I’ve been lucky enough to have a beta copy of LR12 for evaluation purposes. Now that the product has been released, I’m able to share some of the new features that I’ve found to a wider audience.

Key observations / new features are:

Cloud-based load generators. HP describes this feature as “cloud bursting”. Users now have the ability to provision load generators on AWS (Amazon Web Service) cloud servers from within LoadRunner or Performance Center. As well as this, the ports used to communicate between LoadRunner components such as Load Generators, Controllers, MI Listeners are user configurable through the new “network security manager” tool. This simplifies the setup process and allows more flexibility in distributed test networks or cloud-based test environments.  It is even possible to configure different ports/proxies for each Load Generator.

Licensing – 50 vUsers free
We in the user community have been asking for this for a long time. Providing fully-functional applications that allow small-scale testing allow prolonged evaluations and proof-of-concept exercises. This is great, because it allows more people e.g. developers to get hands-on experience and see the potential benefits of using LoadRunner.

This is likely to improve the adoption rate for LoadRunner and prevent the erosion of market share to low-cost / no-cost providers of performance testing software.

All protocols are included in the “community edition” license, with the exception of GUI (UFT) and COM/DCOM protocols as well as those protocols in the “template” bundle (i.e. those vUser types whose scripts are manually created (rather than record/replay) such as C# .Net, VB .Net vUsers).

VUGEN improvements
There are a variety of improvements as you would expect. Key ones are:

  • The ability to review replay statistics for tests after each run.
    Including details on total connections, disconnections and bytes downloaded.
  • The ability to edit common file types in the editor.
  • Support for recording in the Internet Explorer 11, Chrome v30 and Firefox v23 browsers.
  • The ability to create scripts from Wireshark or Fiddler files.
  • The ability to record HTML5 or SPDY protocols.

 

TruClient improvements
TruClient script converter. This basically replays your TruClient scripts and records the HTTP/HTML traffic allowing you to create these script typers from TruClient recordings. This is similar to recording GUI scripts and then converting to other script types.

The addition of support for Rendezvous points, IP spoofing, VTS2 and Shunra network virtualisation in TruClient scripts.

Linux Load Generator improvements
Building on the increased support for Linux Load Generators in 11.5x, LDAP, DNS, FTP, IMAP, ODBC, POP3, SMTP and Windows Sockets scripts can now be replayed through UNIX load generators.

CI/CD support
Better integration with Jenkins etc.

Platform support

  • Support for installation on Windows Server 2012.
    (LoadRunner 11.x and PC 11.x only supported up to W2K8 which was a barrier to enterprise adoption).
  • LoadRunner components can now run in a “non-admin” user account with UAC and DEP enabled.

There are numerous other improvements which are well documented in the “About LoadRunner” section in LoadRunner help. Now that the community license is available, there’s nothing stopping you from downloading it and giving it a go.

To get your own copy, navigate to www.hp.com/go/loadrunner  and follow thre links to download LoadRunner.

– reproduced from my Trust IV blog article at:
http://blog.trustiv.co.uk/2014/03/first-look-loadrunner-12#sthash.pmwREa11.dpuf

Everyone’s a tester

This afternoon, my wife (who is a Dentist) was looking for information on the BDA (British Dental Association) website (www.bda.org) . She called me over when she realised that somebody working on that site didn’t seem to know their own domain name. One of the links to previous articles sent users to www.bda.org.uk (The British Deaf Association).

Doing the responsible thing, she laughed about the problem and sent a bug report (in the form of an email) to the BDA. They’ve promised to fix the problem, so no harm done (apart from some slight reputational damage).

20140117_150516

This brings one thing to mind for me….

If you want to avoid this kind of embarrassing incident, you should employ “real testers” to find these sorts of bugs before your customers do.