Category Archives: Liverpool Tester Gathering

Liverpool Tester Gathering – API Testing Challenges with Postman & REST Assured

Development of an application programming interface (API) requires extensive testing. Such testing not only relates to the usability of an application, but also of the underlying coding mechanics, to ensure the API performs and executes the functions required.

Last week, I attended an event organised by Liverpool Tester Gathering at Avenue HQ, which looked at the challenges involved with API testing when using two specific API tools. These tools are Postman and REST Assured, which enable testers to create and customise templates, in order to test different API performance scenarios.

The event was compared by Ian Smith of ROQ, and featured two speakers in James Hattersley-Dykes and Jonny Fletcher. This event was also my first time attending, so I was looking forward to dipping my toe in the testing world. I was made to feel very welcome, as Ian opened the event by allowing me and other first-time attendees to introduce ourselves, in a warm and friendly manner.

Both James and Jonny proceeded to deliver a fascinating presentation into how Postman and REST Assured can be specifically tailored to test multiple scenarios. One of the major points that I learned early on, was there are lots of variations to consider as part of the API testing process. In addition, I also learned other useful points from James and Jonny, to consider when testing an API.

These points include the following:

  1. Important to document your API’s, as you would do your business processes.
  2. Postman is an API testing tool, which allows testers to create customised testing outputs.
  3. REST Assured is a Java-based library used for writing tailored API tests, which are understandable and human readable.
  4. User interface (UI) is suitable for testing API interface usability, but cannot sufficiently verify functions and back-end services associated with multi-user architecture.
  5. API testing is more suitable for testing automation than UI testing.
  6. In addition to API testing, it is also important to support and compliment both pre and post-testing activities.

Listening to James and Jonny speak, I was impressed with the depth of their knowledge. I not only left with a taste of what is involved with API testing, but also with a book prize that I also won, from tweeting about the event. To summarise, this event has lit the testing flame for me, and I am looking forward to hopefully attending September’s event featuring Lisa Crispin, who I believe is a legend in the Agile testing community.

In conclusion there are several I would like to thank for this event. These include James and Jonny for delivering the presentation, Ian for being a welcoming compare, and also to Avenue HQ for hosting the event. Finally I would also like to thank Doris IT for sponsoring the event, and providing the beer and delicious pizza. Doris IT is an IT recruitment company that works with talented young people from schools, colleges and universities, and develops them with many well-known organisations in the UK.

Thanks for reading!

Advertisements