Posts

Showing posts from December, 2020

Testing Tool: LetXPath - XPath Finder, simple and useful, open-source project

Image
LetXPath is an open-source project, it is used to find the XPath & CSS in a single click with code snippets based on the element type. Watch the Video to know more:   https://www.youtube.com/watch?v=91HXmTwr3eQ&feature=youtu.be   Good Feature is  XPath with driver code snippets is generated automatically.

API Testing: JSON Web Token (JWT)

Image
According to  RFC Standard 7519 , JSON Web Token is pronounced as "Jot". JWT is used to represent as self-contained session of authenticated user and the roles of the user. It has set of claims that encodes users identity, users permission and digitally signed to protect the content. Example of JSON Web Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 . eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ . SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c It has three parts and separated by two dots. First Part:  Header Second Part: Payload Third Part: Signature JSON Web Token Decoder: https://jwt.io/   Understanding the Decoded Information: Header: Algorithm and Token Type Payload: Data      Sub is compulsory: To whom the token refers to     iat    : Issued at Time.