Functional programming is a programming paradigm – a style of building the structure and elements of computer programs that treats computation as the evaluation of mathematical functions and avoids mutating objects state. Clojure as a functional programming language is a dynamic programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is “homoiconic” language, which is a modern term describing the fact that programs are represented by data structures. This is very important difference between Clojure and most other programming languages.
This presentation has a goal to show the use of Clojure to create automated testing framework for REST API testing. As it’s Lisp based, Clojure is language with almost no syntax. In this presentation the authors will demonstrate basic features of Clojure and overall structure with a view on testing framework for REST API testing. Also, authors will demonstrate usage of some common Clojure tools and libraries. Beside practical examples in this presentation that are showing REST API testing, authors have provided some basics of REST API testing also. In the end, we want to show you simplicity in REST API testing.