Recipes

  • How to validate a json schema in rest assured

    Steps: 1. Check the response of your api. 2. Use a json schema generator online, to generate a schema for the json you are using 3. In src/test/resources create a .json file and paste that schema 4. Use validatableResponse interface to validate the schema 5. import hamcreshmatchers,  6.Import jsonschemavalidator to validate the schema import io.restassured.module.jsv.JsonSchemaValidator; import io.restassured.path.json.JsonPath;…


  • How to create a JWT token and use it

    Steps : Create some fields like these {    “id”:”test123″,     “bookname”: “Algorithms”,     “price”:100,     “sellername”:”local”     “sold”: false } 2. Now go to edit collection>API rules>>>Here you can edit the behaviour of the api. Now, I want this api to create a record, only when they are authorised user.  So I set this in…


  • Easy Cabbage Stir Fry – Chinese style

    Ingredients Optional Seasoning: Steps:


  • Bengali Style – Banana stem tossed with grated coconut

    This dish is simple and authentic Bengali style. I Love it. Important Notes 1. Remove the outer layers of the stem. Use only core.2. Peel the core thoroughly, or there will be too much fibre. Steps:


  • Bake Lemon bars – The way we like it

    Equipment– Baking pan 8×8 Ingredients List (Makes 16 bars) For Shortbread Crust For Lemon Filling Steps to make shortbread crust Steps to Make the Lemon Filling


  • Bake a Cake – Date, No suger, Whole Wheat

    Ingredients  For soaking: For the cake batter:


  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!