Postman Beginner Tutorial 10 | Scripts in Postman

preview_player
Показать описание
You can add JavaScript code to execute during 2 events in the flow:
1. Before a request is sent to the server, as a pre-request script under the Pre-request Script tab
2. After a response is received, as a test script under the Tests tab

Postman will prompt you with suggestions as you enter text. Select one to autocomplete your
code
You can add pre-request and test scripts to a collection, a folder, a request within a collection, or a request not saved to a collection

#PostmanScripts
____________________________________________________________

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can.

________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

-------------VIRTUALISATION-------------
------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ BUILD TOOLS ------------

------------ OTHERS ------------

----------- Connect with Raghav ------------

Never Stop Learning
Raghav
Рекомендации по теме
Комментарии
Автор

Hi Raghav, I am trying to pass date of birth in yyyy-mm-dd format so could you please help me for script which I need to pass for generating DOB in specified format and save as environment variable.
Thanks in advance.

abhijitkolekar