Skip to main content

Posts

API Testing Part 5 - Authentications using REST Assured

 Next API testing video tutorial covers following topics -  How to specify auth? Basic Auth Preemptive basic auth credentials are sent before server responds with unauthorised response. reduces overhead of additional connection.  Challenged basic auth credentials are supplied only when server asks for it.                                         Ex: https://www.httpwatch.com/httpgallery/authentication/ First post request Ref: https://github.com/rest-assured/rest-assured/wiki/Usage   
Recent posts

API Testing Part 3 - using REST Assured

 Next API Training session video brings focus back to REST API testing. This session covers: Testing RESTful service
 using REST Assured https://github.com/rest-assured/rest-assured/wiki/GettingStarted
   REST Assured Maven dependency, 
REST Assured Includes JsonPath and XmlPath  to parse json and xml documents respectively
 API used in testing: https://reqres.in/  Operations around Get Set base URI With and without Gherkins syntax Data driven test with query, path parameters and Curly bracket notation Passing parameters between tests using extract method


Intellij IDEA Hack 2

 Next training session video of IDEA Hack is live. This session covers - Presentation assistant plugin Double shift > search any where  Search class name using first letters     Go to specific line on file i.e. filename:linenumber Searching folders i.e. /resources Recent files > cmd+E Project pane > cmd+1 Creating new file/package etc > cmd/ctrl + N Auto scroll from source Move one or multiple lines without cut and paste select + option + shift + arrow up/down Turn off presentation assistant plugin First IDEA Hack session: https://www.seleniumtests.com/2021/02/selenium-idea-hacks.html  

Java 8 part 7: Back to basics and Selenium WebDriver

This training session video covers - PECS > Producer extends Consumer super Remember Generics which provide type safety?: https://www.seleniumtests.com/p/java-training-tutorial-videos.html What are “extends”, “super” and bounded wild card? <? extends T> and <? super T> WTF ??? PECS on Jav8 > Stream examples - forEach(Consumer<? super T> action) map(Function<? super T, ? extends R> mapper) example from com.seleniumtests.tests.web.SeleniumWithJava8Session6#usingJava8

Java 8 part 6: Stream cont. and Selenium WebDriver

 Next java 8 and Selenium WebDriver training session video is live and covers - Different ways of creating Stream empty stream, stream of collection, stream of string objects, stream builder, stream generate method with limit and iterate Stream of primitives int, long and double streams using IntStream, LongStream, DoubleStream interfaces Stream of File Streams can not be reused How to eliminate expensive operations And what is parallel stream?? And some WebDriver examples  

Java 8 part 5: IntStream, sum, avg, reduce, file reading operations and SeleniumWebDriver

 Next java8 and Selenium training session video is live and covers - Method implementation on interface with java 8 - static and default methods, wtf?? IntStream.range() More Stream operations -     sum, sort, average And how do I add double numbers? Reading from file Collectors.toMap Where are the WebDriver examples??