For source code of the demo please refer - https://github.com/atulsharmacsk/OWAS...
Json based authentication
Site setup- docker run -d -p 3000:3000 bkimminich/juice-shop
Site to visit- http://localhost:3000/
Steps:-
Context creation
Create & save Session script (to set up bearer token and cookie for further requests)
Set up Authentication- Json based authentication
Set up Session managment- Script based session managment
Configure Users
Export context
Use it in automation just like we did it for form based authentication
In questa pagina del sito puoi guardare il video online 7- JSON based authentication - Automated Security Testing using Java & zap-ClientApi - OWASP ZAP della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Test Automation with Atul Sharma 25 marzo 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,190 volte e gli è piaciuto 47 spettatori. Buona visione!