Writing Tests in Postman - with Examples | The Exploratory
Ғылым және технология
Intro to writing tests in Postman - with examples
www.postman.com/postman/works...
Learn about writing tests, different types of tests, and the foundation for test automation.
- Basic test syntax
- API tests
- Integration testing
Other test script examples
www.postman.com/postman/works...
Docs
learning.postman.com/docs/wri...
Older videos:
- • Writing tests in Postm...
- • Writing tests in Postm...
Пікірлер: 39
Great video - easy to understand, helpful information, and not any longer than it needs to be! Thanks!
Great video with clear explanations and it's easy to understand. Very useful workspace even for people who are new to Postman tests.
Thanks for the great presentation! It is very helpful for me
Thank you... Excellent video. Very clear, concise & to the point!
@postman
Жыл бұрын
Glad you enjoyed it!
Thank's for sharing information!
Good video. Thank you for providing the source code. My only comment is the lesson glossed over some steps for example, naming an environment for the first time, e.g., bitcoin so that you can actually save to environment variable, how to actually pull in a forked environment into your workspace, why Postman gives a Try button for vs. a Send for these forked collections, warnings and behavior if you modify (e.g., add comments or change the name of a test from a forked collection to make more meaningful and how Postman will make a copy of the request (which you can always move to the appropriate folder), you can delete the forked request if you edited it more to your liking, etc. I mean, a tech person, can figure out with some elbow grease but I just had to pause the video and experiment with the missing steps.
short and to the point
Great video ma'am..learnt a lot..thank you
Thank you for posting this video, most helpful :)
Thanks mam for this video tutorial on Postman.
Great video!
Great example
8:04 was someone's cat / dog in front of your yard lol. thanks very easy to understand
@postman
Жыл бұрын
This is likely 😆
good job
Your voice is awesome. Thank you
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.
@postman
Жыл бұрын
Please ask your question in the community forum, it'll be easier to get help there: community.postman.com
thanks alot ma'am
Thank you for this excelent vídeo! I want to learn about write tests in Postman to run in it via command line interface with Newman just to create a CI / CD process. But I want to use some Postman mock servers when execute somes tests in terminal with Newman. Someone know if this is possible? (I didn't find articles or videos talking about this)
@postman
Жыл бұрын
Hey! This two sessions might help: - API Contract Testing: www.postman.com/events/intergalactic/api-contract-testing/ - Continuous Quality with Postman: www.postman.com/events/intergalactic/continuous-quality-with-postman/ If you have more questions, please ask them on community.postman.com!
thanks
can we fetch data from endpoints path , and verify it with string in response, like we have param pass in get req
@postman
Жыл бұрын
Yes, you can use pm.request.url.path to get the request path, and then write tests against it. If you have more questions please come ask on the community forum: community.postman.com
Pretty good btc price - When someone is looking at this video in 9 yrs time they'll wish for a 30k usd btc Also thanks for the video
Tahnk you
Please share links for sample collections that use here?
@postman
Жыл бұрын
All links are in the video description: www.postman.com/postman/workspace/test-examples-in-postman/documentation/1559645-142a747b-0386-4aa2-9336-7db74659d496
i loved her
It's not negative test case ..you are validating the response with diffrent diffrent parameter... Negative test case ...is. ...suppose login api have...in login API first time I want to pass valid username invalid password ... 2nd test case.:-left bank both user name and password filed .. 3rdtest case ...invalid user name and valid password ...... How can we do that via scripting...?
Thank you! Love Postman
Awesome having the Bitcoin example. Bitcoin is the future!
@user-cj3tf3jh5r
2 жыл бұрын
loooooooooooooooool
@Kevin-lh6xu
Жыл бұрын
For sure
I like your tone.. Check it out.. ❤️❤️
o/
Where is the actual test? Why do you show us the default, obvious things? Average youtuber (
@postman
Жыл бұрын
Check this out! www.postman.com/postman/workspace/test-examples-in-postman/documentation/1559645-820d771d-70ab-452f-9edd-0904dbc315b8