How to write automated tests with Postman

How to write automated tests with Postman

Steve Griffith - Prof3ssorSt3v3

4 года назад

166,147 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

moinkhan
moinkhan - 20.10.2023 01:01

What a wonderful tutorial!!! Thank you.

Ответить
kaferey adige
kaferey adige - 08.09.2023 07:03

You rock👍

Ответить
Chris Bell
Chris Bell - 01.06.2023 04:54

Super informative but that white theme kills me

Ответить
Daniel Njoroge
Daniel Njoroge - 11.05.2023 00:19

Hats off to you Steve!! This was worth every minute.

Ответить
Harish A
Harish A - 28.03.2023 02:31

Quick question steve - why was the variable declared in curly braces ? ex: "const {data} = pm.response.json;" and not like normal const data;

Ответить
Robert Bykowski
Robert Bykowski - 22.02.2023 23:10

Great video! The language used to convey the knowledge was simple and easy to understand. The example presented was straightforward and logical, making it easy to follow along. The video effectively conveys the essence of testing APIs using Postman. Well done!

Ответить
xy d
xy d - 12.10.2022 00:11

thank you professor steve, the video is very informative and easy to comprehend as a beginner into API automated testing!

Ответить
akash sanyal
akash sanyal - 10.10.2022 21:59

The only video you need to learn postman using JS. Great job Professor !!! Loved it

Ответить
Raww
Raww - 27.08.2022 20:23

Thanks Steve! Awesome tutorial.

Ответить
Siddhartha U
Siddhartha U - 22.08.2022 04:46

Thanks for the detailed explanation. Can we write a pre request script to upload an image file as binary in the Body of the request?
I have an api in which I upload the image binary in the body before sending the request. I'm trying to validate this through script. Could you please guide me how to write the script for this. Thank You.

Ответить
Janith Kularathne
Janith Kularathne - 14.08.2022 15:17

Appreciate if you could build a test automation project using any language matching for a real world scenario. Best Postman tutorial EVER

Ответить
Sofiia Bondarenko
Sofiia Bondarenko - 12.08.2022 17:49

very very thank you! I could))

Ответить
Штабс-капитан Овечкин
Штабс-капитан Овечкин - 01.06.2022 17:24

Thanks a lot for your video!

Ответить
Ismael Romero
Ismael Romero - 28.05.2022 13:54

Excelent video !!! You make my day !!! I'm working with several APIs and you saved me testing time thanks a lot !!!

Ответить
d4lep0ro
d4lep0ro - 24.04.2022 15:41

This was very educational and concise. Altough I will never understand why would anyone choose this testing tool having much better open source options

Ответить
Rio The Hitman
Rio The Hitman - 23.04.2022 02:47

I love your peaceful demeanor very easy to listen to you thank you for uploading this.

Ответить
Vidya Abhimaan
Vidya Abhimaan - 16.04.2022 16:39

Steve you are the Bob Ross of web development. 🙌

Ответить
french_daily_cupcake
french_daily_cupcake - 09.04.2022 18:46

Thank you thank you thank you for making this video. I am learning clearly from your videos 🌸

Ответить
William Nitchie
William Nitchie - 19.03.2022 00:41

What a great video. I didn't realize the power of Postman. It would be great to take a Collection of tests in postman and add them into a Jenkins build pipeline. Do you know anything about this process?

Ответить
amelia amel
amelia amel - 23.02.2022 19:27

Hi nice to know your channel, thank you for the detail explanation. Its very helpful 👍🏻

Ответить
Adam Alawawda
Adam Alawawda - 12.02.2022 23:06

Video is very informative thank you!

Ответить
Gustavo Metzler Pontes
Gustavo Metzler Pontes - 04.02.2022 15:17

Nice content Professor but where did you get this "Chupacabra" password? hahahah Do you know what it means???

Ответить
kit kat
kit kat - 01.02.2022 09:38

I am still amazed how skilled people are so underrated. You will get more views and more money for a smartphone phone review than a well organised tutorial like this. If you are famous then you are successful but if you are skilled then you are not.

Ответить
Yogi  Sadhewo
Yogi Sadhewo - 16.01.2022 17:59

Actually I got all point that I needed here to implementing my API test. Absolutely subscribed. Thank youu 🙏

Ответить
christian ngirinshuti
christian ngirinshuti - 11.01.2022 22:30

When i request the list of the movies. I dont get the list i only get data []

Ответить
M H
M H - 09.01.2022 22:18

{
...,
"password": "chupacabra"
}

Ответить
vijaybhasker neela
vijaybhasker neela - 30.12.2021 03:38

This is really great compilation for any one looking to step into automation.

Ответить
Vijayakumar Krishnan
Vijayakumar Krishnan - 21.12.2021 20:40

Crispy. Crystal Clear. Thanks a lot for your effort.

Ответить
snehal kale
snehal kale - 17.12.2021 15:38

very good demo

Ответить
Do Huong
Do Huong - 15.12.2021 16:53

Your voice is really warm :)

Ответить
Johannes Rennert
Johannes Rennert - 16.11.2021 14:48

To validate the json schema I would recommend to place the follwing code under "Tests":
The Example JSON-Schema looks like this:
{
"id": 1234,
"message": "hello",
"result": [ "it works!" ]
}

// place that code unter "Tests"
const schema = {
"type": "object",
"properties": {
"id": { "type": "number" },
"message": { "type": "string" },
"result": {
"type": "array",
"minItems": 1
}
},
"required": [ "id", "message", "result" ]
}

pm.test('Validate body schema', () => {
pm.response.to.have.jsonSchema(schema);
});

Ответить
Phạm Thanh Phong
Phạm Thanh Phong - 06.11.2021 13:02

How to set up the localhost (like in the video) for testing?

Ответить
Nadia
Nadia - 05.11.2021 06:18

wow fantastic, you just described all the necessary topics within just 30 minutes. perfect E2E test. Thank you so much

Ответить
Sarvesh N
Sarvesh N - 27.10.2021 07:24

Thank you! This saved a lot of time. Great Demo

Ответить
Robin
Robin - 21.10.2021 12:11

Hi Steve, could you make an instruction video on how to fetch a random bearer token from your API and then automatically use that bearer token to access the DB?

Ответить
Army
Army - 15.10.2021 10:49

Thank you ever so much.

Ответить
Amjad Khan
Amjad Khan - 03.10.2021 07:53

A brief yet extensive overview of testing in Postman. Thank you. I will be encouraging my entire team to watch this video. Many thanks for creating this.

Ответить
Amjad Khan
Amjad Khan - 03.10.2021 07:51

Thanks

Ответить
Piotr M
Piotr M - 02.10.2021 02:55

Hi there is something wrong with API:
When I try to get Movie list the only response I got was empty data:
{
"data": []
}

The server status is 200 so it should return the Movie list. Could You check it?

Ответить
naincy jain
naincy jain - 26.08.2021 06:54

hey, should we also create testing scripts for automation if we have just 7-8 apis in our project
or should we just check it by quick request response by performing CRUD operations.

Ответить
Mark Adonis Ramos
Mark Adonis Ramos - 13.08.2021 07:10

Thank you Sir. This is very helpful. well explained 💯💯🙏👏

Ответить
Obim Mordi
Obim Mordi - 06.08.2021 19:34

This is really excellent material... Thanks

Ответить
J C
J C - 01.08.2021 18:33

Had some problems with syntax, maybe I am using a most current version, for other people that may have the same problem:
when retrieving a field from the json response the explained code didn´t work, this syntax did instead:
var jsonData = pm.response.json();
pm.environment.set('field', jsonData.field);

Ответить
Dhruv Udayashankar
Dhruv Udayashankar - 23.07.2021 21:38

Could not start the server, any updates are available? here is the error :::npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `API_PORT=3000 NODE_ENV=dev TOKEN_KEY=cantGuessThisKey nodemon server.js`
npm ERR! Exit status 1

Ответить
Vlaskz
Vlaskz - 19.07.2021 20:26

"I saw a mfkin brazillian reference there: chupacabra" Thanks for the awesome lesson.

Ответить
Krithiga Jayaraman
Krithiga Jayaraman - 07.07.2021 11:38

Hi Sir, i can see the results shows got the movie, got the token. But can we display what token or movie is displayed in response. I wanted to display this value in test results.
Thanks!

Ответить