Posts

Showing posts from March, 2023

Base64EncodeDecode

Image
I have created this simple page to convert plain text into base64encoded and the vice versa Encode >> << Decode

API Testing Bytes

Image
Few of my colleagues are frequently asking me about API Testing related questions that API Tester should know. Here is a byte of some questions I found on internet- What is API Testing and Why API Testing? Is there any difference between SOAP and REST API testing? If so, how? Key things you test in an API - let's say a GET API to fetch a list of 5 records with id and name GET vs POST POST vs PUT vs PATCH - example for each What do you mean when you say PUT is idempotent? Conditions for idempotency? Do you follow any strategy for sending large payloads in POST. Is it a good idea to have assertions for request headers when testing apis? How do you get a request header in Rest-Assured? If I send a text file as an input in a POST call, what will be the content-type? Key things to test when you API response feeds into a down stream system? URI vs URL - with a simple example. What is JWT and it's format. How does JWT authentication works? Do you know if caching is applied in the rest