No video

How write API Tests with Postman in 3 easy steps (PART 2/3)

  Рет қаралды 30,005

Valentin Despa

Valentin Despa

6 жыл бұрын

In this series of tutorials, you will learn how to write API tests with Postman.
___
// P L A Y L I S T S
▸ Learn Postman | goo.gl/iEhyzt
___
// F R E E R E S O U R C E S
▸▸▸ Download the FREE Postman Quick Reference Guide
goo.gl/H9dMNs
___
// P O S T M A N O N L I N E T R A I N I N G
👉 Want to learn more about Postman? Get my Postman complete course at a special price and help support this KZfaq channel.
vdespa.com/courses/?q=KZfaq
___
// M U S I C C R E D I T S
Dreams by Joakim Karud / joakimkarud
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
creativecommons.org/licenses/b...
Music promoted by Audio Library • Video
___

Пікірлер: 42
@vdespa
@vdespa 4 жыл бұрын
👉 Want to learn more about Postman? Get my Postman complete course at a special price and help support this KZfaq channel. vdespa.com/courses/?q=KZfaq
@getulionm
@getulionm 5 жыл бұрын
Thank you so much for this course Valentin Despa . It helped me a lot. I will buy your course. Please keep it up the work!! All the best
@denzel7089
@denzel7089 4 жыл бұрын
Thanks a lot, man, It's really one of the most clear tutorial on Postman I've found on youtube.
@vdespa
@vdespa 4 жыл бұрын
I am glad it was helpful. Thanks for letting me know.
@alexandergorbunov6375
@alexandergorbunov6375 6 жыл бұрын
Amazing lessons!
@MaheshJoshi_wellington
@MaheshJoshi_wellington 6 жыл бұрын
Here we go part 2 thanks a lot :)
@pogothemonkey7461
@pogothemonkey7461 5 жыл бұрын
@12:25 when you explain arrays being zero indexed, I believe you could then switch over to the console to show the array from the previous console.log query you made because in the console it shows the indexes visually, as "keys" - this would help cement the whole "array being zero indexed" fact (for those who don't know arrays from before) - you could also mention its the same for strings as added useful info ^^
@gokulkrishnan291
@gokulkrishnan291 3 жыл бұрын
Love you bro......
@vdespa
@vdespa 3 жыл бұрын
🤓 thanks man
@denny7477
@denny7477 5 жыл бұрын
hello, I was very surprised when you said that result of Date.now() is randomly generated value because its definitely NOT. Its number of miliseconds that passed since 1.1.1970 and you can quite easily convert that number to actual date format
@shashanksingh9238
@shashanksingh9238 5 жыл бұрын
EPOCH Value
@leventunver
@leventunver 5 жыл бұрын
came to comments to point that out. thanks. now back to watching the rest of the video.
@qwertyqwerty-ov4ir
@qwertyqwerty-ov4ir 4 жыл бұрын
Could somebody help me how I can convert date from the test in video? Thank you in advance.
@truthresonator
@truthresonator 4 жыл бұрын
He meant that it's constantly changing value. Come on man, you knew what he meant even though he didn't say it like that.
@TarekFaham
@TarekFaham 3 жыл бұрын
Beautiful... I liked it...!
@vdespa
@vdespa 3 жыл бұрын
Thank you! Cheers!
@neophilextester1049
@neophilextester1049 4 жыл бұрын
That was cool video. One question I have is, how to user to.include for nested objects
@vdespa
@vdespa 4 жыл бұрын
What do you mean? Can you give an example?
@juergenschubert3247
@juergenschubert3247 4 жыл бұрын
Will there Becca way to set a global variable in the test script?
@vdespa
@vdespa 4 жыл бұрын
Yes. You can use pm.globals.set("name", "value");
@bhumikaparikh9762
@bhumikaparikh9762 4 жыл бұрын
The console log result generated by date @2:11 is not a random value, it's Unix epoch timestamp.
@bhumikaparikh9762
@bhumikaparikh9762 4 жыл бұрын
Valentin Despa Thank you for the tutorial.. it’s neat..
@jpixellab5026
@jpixellab5026 2 жыл бұрын
Hello there, I have a question. I need to get the value of a specific JSON response that has several values. The response comes as an array and consists of several values. Example: I want to get the JSON response value of the " 77 " Id number. I know I can take this value by doing this = " jsonData[1].Id. But the problem is, what if I don't know that 77 id response is situated at ?? That is the issue I have. I have the value of 77. But I don't know at which element it is situated. I need to get the data of that specific response. Could you please help me? Thanks [ { "Id": "76", "CustomerName": "Sam", }, { "Id": "77", "CustomerName": "John", }, ]
@vdespa
@vdespa 2 жыл бұрын
Hey, you need to use JavaScript to search the array. For example the find function.
@swatibhavsar4774
@swatibhavsar4774 6 жыл бұрын
Hi I solved your Assignment
@swatibhavsar4774
@swatibhavsar4774 6 жыл бұрын
www.getpostman.com/collections/2d78c0964c6f3db6ac9b Here we go Check Post Request on which I have solved your assignment !! Hope to be correct one
@swatibhavsar4774
@swatibhavsar4774 6 жыл бұрын
Ok. Got it . Here is the solution //setting global variable pm.globals.set("name", "john"); pm.globals.set("email", "john_{{$timestamp}}@example.com"); //writing request body { "name": "{{name}}", "email": "{{email}}" } Hope this time answer will be correct
@swatibhavsar4774
@swatibhavsar4774 6 жыл бұрын
www.getpostman.com/collections/2d78c0964c6f3db6ac9b Check this Collection It is working perfectly fine for me .Thanks
@swatibhavsar4774
@swatibhavsar4774 6 жыл бұрын
+Valentin Despa Thank you so much ...
@tanacing347
@tanacing347 2 жыл бұрын
Click!!
@martinanguiano3353
@martinanguiano3353 Жыл бұрын
So nobody got the answer to the task?
@GuyRobertKernisant
@GuyRobertKernisant 6 жыл бұрын
Part 3 is here: kzfaq.info/get/bejne/n7Z6dtilq77egXk.html
@GuyRobertKernisant
@GuyRobertKernisant 6 жыл бұрын
Valentin Despa thanks for taking the time to make detailed tutorials. I'm learning Postman so that I can automate validating our API
@thedreamnym
@thedreamnym 3 жыл бұрын
i have one piece of advice for you:: for me, personally is hard to listen when you keep slurp by your lips. it's getting annoying. I really like the info and videos.
@vdespa
@vdespa 3 жыл бұрын
Sorry about that and thanks for the advice.
How write API Tests with Postman in 3 easy steps (PART 3/3)
9:10
Valentin Despa
Рет қаралды 14 М.
Data-driven testing using Postman
13:37
Valentin Despa
Рет қаралды 58 М.
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,5 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 238 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 256 М.
PyTest • REST API Integration Testing with Python
37:24
pixegami
Рет қаралды 80 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 76 М.
Loop request based on data from response in Postman
13:13
Valentin Despa
Рет қаралды 58 М.
Rest API - Best Practices - Design
15:50
High-Performance Programming
Рет қаралды 103 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 560 М.
Svelte 5's Secret Weapon: Classes + Context
18:14
Huntabyte
Рет қаралды 15 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,5 МЛН