API Testing Challenges 30 - How To - basic authentication passed 201
How to complete the authentication failed with username and password challenge number 30, which returns a status code of 201.
Issue a POST request on the `/secret/token` end point and receive 201 when Basic auth username/password is admin/password
- `POST` request means use the HTTP Verb POST
- e.g. `POST /secret/token` sends to the heartbeat endpoint
- `Basic auth` means include the [Basic Authorization header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication)
- `username/password is admin/password` the authorisation header value is base 64 encoded, and the details should match `admin` as the username, and `password` for the password
- add the `X-CHALLENGER` header to track progress and because the authentication code we need is asociated with the `X-challenger` session
- Receive a 201 response because the session token has been created to allow authorization to access the secret notes
Find the application links and more information at:
- https://eviltester.com/apichallenges
Write up of this challenge instructions:
- https://eviltester.com/apichallenges/howto/30-authentication-post-secret-token-201
---
Remember to subscribe to this YouTube channel.
You can support me on Patreon https://patreon.com/eviltester (watch my videos ad free and receive extra content)
I blog at https://eviltester.com/blog
Learn more about my books and online training at:
- https://eviltester.com
Follow me on:
- https://twitter.com/eviltester
- https://instagram.com/eviltester
- https://facebook.com/eviltester
Видео API Testing Challenges 30 - How To - basic authentication passed 201 канала EvilTester - Software Testing
Issue a POST request on the `/secret/token` end point and receive 201 when Basic auth username/password is admin/password
- `POST` request means use the HTTP Verb POST
- e.g. `POST /secret/token` sends to the heartbeat endpoint
- `Basic auth` means include the [Basic Authorization header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication)
- `username/password is admin/password` the authorisation header value is base 64 encoded, and the details should match `admin` as the username, and `password` for the password
- add the `X-CHALLENGER` header to track progress and because the authentication code we need is asociated with the `X-challenger` session
- Receive a 201 response because the session token has been created to allow authorization to access the secret notes
Find the application links and more information at:
- https://eviltester.com/apichallenges
Write up of this challenge instructions:
- https://eviltester.com/apichallenges/howto/30-authentication-post-secret-token-201
---
Remember to subscribe to this YouTube channel.
You can support me on Patreon https://patreon.com/eviltester (watch my videos ad free and receive extra content)
I blog at https://eviltester.com/blog
Learn more about my books and online training at:
- https://eviltester.com
Follow me on:
- https://twitter.com/eviltester
- https://instagram.com/eviltester
- https://facebook.com/eviltester
Видео API Testing Challenges 30 - How To - basic authentication passed 201 канала EvilTester - Software Testing
Показать
Комментарии отсутствуют
Информация о видео
24 июля 2021 г. 17:22:14
00:01:36
Другие видео канала
DEPRECATED - see description for new video - How to Install Java JDK on WindowsAPI Challenges Simulation Walkthrough using PostmanAPI Testing Challenges 33 - How To - GET authorized secret note 200API Challenges - POST Challenger 201 DebriefAutomating Tic Tac Toe JavaScript Game from Browser ConsoleExploratory Testing Government Style - The Evil Tester Show PodcastJava For Testers, learn to code differentlyIntroducing The Observatron a new Exploratory Testing Screenshot taking toolTopics for Free Selenium WebinarsEpisode 007 - Finding Tools Special 2019 - The Evil Tester ShowCommonsense Agile - an Agile Coach and Mentor Explains Agile Testing and DevelopmentHow to Use Console 2Selenium WebDriver Sporting Event TributeAPI Testing Challenge 16 - How To - GET todos any 200Which test entities help testing - Test cases, scripts, conditions or scenarios?Overview of the Tools For Selenium WebDriver InstallA short overview of the Postman REST API GUI ClientAutomating Tactically vs Strategically SauceCon 2020 Preview15 Minute Speedrun Install Of Selenium WebDriver With Java And Maven For Windows XPAn essential aspect of Exploratory Testing is the Debrief #Shorts