Это видео недоступно.
Сожалеем об этом.
Postman Beginner Tutorial 6 | Collections
HTML-код
- Опубликовано: 17 авг 2024
- All FREE courses - automationstep...
Notes:
1. What is COLLECTION
2. How to create Collection
3. How to create folders inside collection
4. How to arrange requests inside collection
After watching take this QUIZ - forms.gle/Tvuw...
Collection is a group of API requests
____________________________________________________________
Stories by Raghav - automationstep...
My Udemy Courses - automationstep...
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 _______
automationstep...
GitHub - github.com/Rag...
Udemy - www.udemy.com/...
Training by Raghav at your venue - raghav.qna@gmail.com
Training schedule - automationstep...
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb
Protractor - bit.ly/2KtqVkU
TestProject - bit.ly/2DRNJYE
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN
----------- MOBILE TESTING -----------
Appium - bit.ly/2ZHFSGX
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
Kubernetes - bit.ly/2MJIlMK
------------VIRTUALISATION------------
Virtualization on windows - bit.ly/2SItIL9
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
GitLab - bit.ly/2kQPGyQ
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
----------- PROGRAMMING -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C
JAVASCRIPT - bit.ly/2KJDZ8o
PYTHON - bit.ly/2Z4iRye
----------- IDE -----------
Visual Studio Code - bit.ly/2V15yvt
----------- BUILD TOOLS -----------
Maven - bit.ly/2NJdDRS
Gradle - bit.ly/30l3h1B
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
---------- Connect with Raghav -----------
Udemy Courses - www.udemy.com/...
Twitter - / learnwithraghav
RUclips - / automationstepbystep
Never Stop Learning
Raghav
Thank you sir, I am fresher and wanted to learn Postman. Please share more videos on Postman.
Will upload soon
I want to set common bearertoken and baseurl for single collection in postman
Navneet
To set a common Bearer Token and Base URL for a single collection in Postman, you have a few options:
1. Collection Variables:
- Create a collection variable for the Bearer Token and Base URL.
- In your collection, go to the Variables tab.
- Define the following variables:
- `tokenBaseURL`: Set this to the base URL for your authentication service.
- `authData`: If your auth service requires specific data, add it here as a JSON object.
- Now, your requests within the collection can reference these variables.
2. Pre-request Script:
- You can use a pre-request script at the collection level to set environment variables dynamically.
- Here's an example of how to set the Bearer Token using a script:
```javascript
pm.sendRequest({
url: 'YourURL',
method: 'POST',
header: {
'content-type': 'application/json'
},
body: {
mode: 'raw',
raw: JSON.stringify({
// YOUR PARAM TO CREATE THE TOKEN IF NEEDED
})
}
}, (err, res) => {
pm.collectionVariables.set('TOKEN', res.json().accessToken);
});
```
3. Environment Variables:
- Create a new environment or use an existing one.
- Add environment variables for the Bearer Token and Base URL.
- Set the values accordingly.
Remember to choose the approach that best fits your project requirements and workflow
-
@@RaghavPal Sir ,
Thankyou for your quick reply which helps a lot. 😀😀
Clear and concise explanation, thanks
Glad it was helpful!
Thanks for awesome videos and your patience is taking is slow and basic level
You are welcome Richard. Thanks for the support
Sir what is swagger.? Is there any relation with Portman? Please reply sir...
Swagger is a platform that can be used to describe the structure of your APIs in a way that machines can read them
swagger.io/docs/specification/2-0/what-is-swagger/
Wonderful job!
Thanks Daniel
I Follow your steps, but when I run collection, then it shows as 'No test found'.
Navneet
Let's break down the problem step by step to troubleshoot the issue
Step 1: Make sure you have saved your project. Verify that you have tests in your collection
* Open your Postman collection and check if you have any tests written for the requests
* Look for the "Tests" tab in each request. If you don't see any tests, that's likely the reason why Postman is showing "No test found"
* Make sure you have at least one test written in the "Tests" tab of a request in your collection
Step 2: Check the test syntax
* If you have tests written, check the syntax of the tests to ensure they are correct
* Postman uses the Chai assertion library for writing tests. Make sure you're using the correct syntax for Chai assertions
* Common mistakes include incorrect indentation, missing semicolons, or incorrect function calls
Step 3: Check the test location
* Ensure that the tests are located in the correct place. Tests should be written in the "Tests" tab of a request, not in the "Pre-request Script" or "Post-request Script" tabs
* If you have tests in a separate file or folder, make sure they are properly linked to the request
Step 4: Check the collection settings
* Open your collection settings by clicking the three dots next to the collection name and selecting "Edit"
* In the collection settings, ensure that the "Run tests" option is enabled
* Also, check if there are any filters or conditions set that might be preventing the tests from running
Step 5: Check for any errors in the console
* Open the Postman console by clicking the "Console" button at the bottom of the Postman window
* Check for any error messages related to the tests. If you see an error, it might give you a clue about what's going wrong
Step 6: Try running the tests individually
* Instead of running the entire collection, try running each request individually to see if the tests pass or fail
* This can help you identify if the issue is specific to a particular request or if it's a collection-wide problem
-
Please create a playlist of RestAssured Framework creattion.
Hi Raman, can find here - automationstepbystep.com/
thanks for the videos sir .
Glad you like them
hello, thank you for your videos they are very helpful ,So I have question I don't have any real experience and I already learn java as programming language and selenium (junit and testng) and I can create POM framework from the scratch and Jenkins ,also I learn soupui postman restassured for API testing, So my question is Am I ready to apply for job as automation tester?
Malak
Yes, you are ready to apply for a job as an automation tester. You have a good foundation in programming languages, testing frameworks, and API testing tools. You also have the ability to create a POM framework from scratch and to use Jenkins for continuous integration and continuous delivery (CI/CD).
However, it is important to keep in mind that some companies may prefer to hire automation testers with experience. To increase your chances of getting hired, you can try to gain some real-world experience by working on personal projects or contributing to open source projects.
You can also try to get involved in the automation testing community by attending meetups and conferences. This is a great way to learn about new technologies and trends, and to network with other automation testers.
Here are some additional tips for applying for jobs as an automation tester:
* Tailor your resume and cover letter to each job that you apply for. Highlight the skills and experience that are most relevant to the job.
* Be prepared to talk about your automation testing skills and experience in job interviews. Be able to explain how you have used your skills to solve real-world problems.
* Be willing to start at an entry-level position if necessary. This is a great way to gain experience and to learn from more experienced automation testers.
I wish you the best of luck in your job search
Hello , Is the monitor collection make the collection run automatically in any time without action from me ?
Hi Reham, it will run as per the schedule you set, check here learning.postman.com/docs/monitoring-your-api/intro-monitors/
Lovely 🙂
Thank you! 😊
Hi Sir tqu .. I got a new job because of you i followed entire java selenium suite.but they are working in Cypress automation frame work , now I have a dout whether I have to go or not and wt about cypress future/scope and it's is good or not for my career.
Please respond to this , iam Regorsly waiting.
Hi Chethuhari, you can go with Cypress, it is gaining traction, I will suggest to keep yourself updated with other skills too
Hello sir I'm a fresher now currently I'm following your selenium classes and can you tell me what should i go for next ,which can help me get a job in quality assurance.What is the current trend to follow?
Hi Abhiram, Learn framework creation, API testing, if you can learn some CI CD tools like Jenkins
Hi sir I wonder why we have to run same requests many times when it gives the same result.
There are several features of collection, I will make a video, You can also check the earlier postman playlist here - automationstepbystep.com/
Thank you sir.
what is the difference between duplicate collection and create fork in collection
In Postman, you can create a duplicate of a collection or fork a collection
The main difference between the two is that a duplicate is an exact copy of the original collection, including all of its requests and folders, whereas a fork creates a new copy of the original collection that you can edit and modify without affecting the original collection
In summary, if you want to make a copy of a collection and make changes to it without affecting the original, you should fork the collection. If you want to make an exact copy of the collection, you should duplicate it.
@@RaghavPal So you are saying that if I will use duplicate copy of collection than I cant modify and update in that duplicate copy of collection. Changes will reflect to original copy of collection in case of changes in duplicate collection.
No, that is not the case, Just understand why we need forking
Forking is useful when working on a team or collaborating with others, as it allows multiple users to make changes to the same collection without interfering with each other's work.
you can merge a forked collection with the original collection by using the "Import" feature. The process of merging a forked collection with the original collection is also known as "pull request"
waiting new course Gj sir...
sure, coming soon
Hi sir make performance testing (jmeter) new series sir
Hi Ravi, can find here - automationstepbystep.com/
How can I DELETE multiple data/record using postman?
Hi Soumen, this generally should be the functionality from API service side, there must be some API where multiple records can be given for deletion, The best we can do in Postman is to add a script which will extract the IDs from a GET API and run the Delete API taking IDs from the extracted list
sir, is this postman series finished ???
No, more coming
You never explain what IS a collection like what is it? What is it for? What does it do??
I will check and try to do a session on this
i hate postman because too much feature and buttons.. haha
ha ha
sahi baatt..... :D