Тёмный

POSTMAN BEGINNER TUTORIAL 8 💡 How to create ENVIRONMENTS 

Automation Step by Step
Подписаться 533 тыс.
Просмотров 241 тыс.
50% 1

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 203   
@spfeiffer13
@spfeiffer13 6 лет назад
Using version 6.2.4, you have to set the 'Current Value' of the environment variables or else you get an error.
@RaghavPal
@RaghavPal 6 лет назад
thanks for the info Scott
@DebanjaniBhattacherjee
@DebanjaniBhattacherjee 5 лет назад
Thanks Scott, I was getting error too.. but after setting current value, its working now. Raghav- Your tutorial is helping me a lot!
@derrick7968
@derrick7968 5 лет назад
Yeah, Thanks alot, that helped
@bilalrahaoui7542
@bilalrahaoui7542 5 лет назад
totally correct
@mostafataha9676
@mostafataha9676 5 лет назад
thank you :)
@gboyegaladipo7210
@gboyegaladipo7210 6 лет назад
Hi Raghav, you can`t imagine how helpful your videos have been towards my learning everything Automation... they have been very helpful and handy. Thank you and may God continue to bless and endow you with more knowledge.
@RaghavPal
@RaghavPal 6 лет назад
I am so glad to know this. Humbled by your message
@רועיאקרמן
@רועיאקרמן 3 года назад
One of the bests! Takes ~30 min to learn all about Postman!
@RaghavPal
@RaghavPal 3 года назад
So happy & humbled
@millikin2099
@millikin2099 3 года назад
I love your videos man! I was Duplicating my Environment and it was not showing up, then I refreshed and all the duplicate environments were visible.
@RaghavPal
@RaghavPal 3 года назад
Glad to hear it Deigan
@Cmart6444
@Cmart6444 6 лет назад
The way you present every topic (so suscint and fast) is quite interesting form me, you mantain the level of attention in your explanations. Thanks again indeed!
@RaghavPal
@RaghavPal 6 лет назад
Great to know this. Thanks for your message.
@aparnaaras3531
@aparnaaras3531 Год назад
beautifully explained in a simple language, thank you Sir for this video
@RaghavPal
@RaghavPal Год назад
Mose welcome Aparna
@PRIYANSHUPATHAK99
@PRIYANSHUPATHAK99 2 месяца назад
What a great Explanation Thank You so much for this video
@RaghavPal
@RaghavPal 2 месяца назад
Thanks a lot
@Gym_Studio
@Gym_Studio 3 года назад
Thanks for this smooth way
@RaghavPal
@RaghavPal 3 года назад
Most welcome
@progKev
@progKev 4 года назад
@Rahav, thank you for the Postman Videos. In regards to Environments, is there a way to take the returned "token" value and save it to an environment variable from the "Tests" tab? Thanks again.
@RaghavPal
@RaghavPal 4 года назад
Hi Kevin, yes you can do something similar to what is shown here - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HHASdmCR1bE.html
@progKev
@progKev 4 года назад
@@RaghavPal @Rahav, thank you for your reply. That was just what I was looking for.
@gisgndecan0111
@gisgndecan0111 4 года назад
Great explanation and walk thru! Thank you so much, Raghav!
@RaghavPal
@RaghavPal 4 года назад
You're welcome
@umangsharma7447
@umangsharma7447 5 лет назад
thanks a lot for the crisp and clear content and video! You are an amazing teacher :)
@RaghavPal
@RaghavPal 4 года назад
Thanks Umang. Happy & humbled by your message
@achyutdiwanji6441
@achyutdiwanji6441 6 лет назад
Hi Raghav, thank u for explaining in detail. I have one doubt i.e should I keep on adding environment and change the values like username and password?
@RaghavPal
@RaghavPal 6 лет назад
Hi Achyut, the ideal use of environment is to store the values that vary with Build, OS, platform etc. So that whenever you need to change, you don't have to change them at multiple places and do updates in requests, tests etc. For example the username and password will be different on QA env and Dev env. If we need to run the same tests/project on QA we can just update the environment and save time and effort.
@lainda002
@lainda002 4 года назад
@Raghav Pal Sir your sessions are easy to understand but there is a one request like see in this session you are talking about creating environment also please elaborate in simple words what are the benefits of it, why we use it, if we will not create environment then what complications we might be face like this then with this with practical concept will be more clear. Like in short why we need to do this.
@RaghavPal
@RaghavPal 4 года назад
I got your point Salman. Will take care of this
@beckyburnett8641
@beckyburnett8641 29 дней назад
Thank you for your videos.
@RaghavPal
@RaghavPal 28 дней назад
Glad you like them Becky
@rachangoudapatilnidoni5058
@rachangoudapatilnidoni5058 5 лет назад
Really helpful Raghav . please keep doing more tools & technologies
@RaghavPal
@RaghavPal 5 лет назад
Sure Rachan
@irynahryshanovich9927
@irynahryshanovich9927 6 лет назад
Thank you! Very useful. I will continue watching your channel.
@RaghavPal
@RaghavPal 6 лет назад
Thanks for watching
@saurabhparasar21
@saurabhparasar21 5 лет назад
Hi Raghav, Thanks a lot for sharing these videos..they are really very very helpful..
@RaghavPal
@RaghavPal 5 лет назад
You're welcome Saurabh
@arik22g
@arik22g 4 года назад
what is the header of the request? and what is content-type? and why to save it as application/json?
@RaghavPal
@RaghavPal 4 года назад
I will have a session on this.
@priyahinha397
@priyahinha397 4 года назад
Hi Raghav, after setting the values in the environment i m getting 404 not found error, but before that it is giving the token value ....why it is happening?
@RaghavPal
@RaghavPal 4 года назад
Hi Priya, pls check you have saved after adding variables. Also ensure the variable values are correct and are referenced properly. You can also debug like this - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ne1RsYcgkSY.html
@priyahinha397
@priyahinha397 4 года назад
@@RaghavPal done thanx
@shivlingbodke8241
@shivlingbodke8241 6 лет назад
Very nice videos Raghav sir, Thanks for sharing..., we would like to watch more advance videos on postman ...
@RaghavPal
@RaghavPal 6 лет назад
Thanks for watching . I will add more videos soon on Postman. Keep watching.
@SureshKumar-sn6gt
@SureshKumar-sn6gt 4 года назад
Tutorials are on point and very easy to understand, thanks man:)
@RaghavPal
@RaghavPal 4 года назад
Glad to hear that Suresh
@tatebrownhamam
@tatebrownhamam 6 лет назад
Hi Raghav, I am new to testing automation and your videos have been a great help so thank you. I just wanted to know what languages do you advise to study in order to use postman or other automation tools? I only know basic programming. Is it advisory to know advanced programming in order to be an automation tester?
@RaghavPal
@RaghavPal 6 лет назад
Hi Tate, great to know this and you're welcome. For Postman basic javascript will help. For an automation tester it will help to understand the basic concepts and object oriented concepts in any programming language. You can go with Python. its easy and in demand these days
@tatebrownhamam
@tatebrownhamam 5 лет назад
@@RaghavPal Hi raghav, thanks for the response. Do you have an email address for testing queries? I have a postman query that I would like assistance with. Thanks.
@alexgorbunov494
@alexgorbunov494 4 года назад
Thanks from Russia. Great work! Жалко что ,подобных, русских мануалов в разы меньше.
@RaghavPal
@RaghavPal 4 года назад
Спасибо за просмотр Alex
@lowrencekalyansingh5922
@lowrencekalyansingh5922 4 года назад
Hi Raghav, When you add a Header, first of all why should we add a Header, and (2). what is the purpose of using content-type = application.json. What happens when we use this header. Please could you explain here.
@RaghavPal
@RaghavPal 4 года назад
Hi Lowrence, when we add header content-type = application.json, we are telling server to provide us JSON representation of the response
@vishalshah6594
@vishalshah6594 5 лет назад
Hello Raghav, I followed the steps and I am able to set the Environment and getting the token when I run it. I am trying to print the values of email & password using console.log command and getting error " ReferenceError | email is not defined" please advise.
@RaghavPal
@RaghavPal 5 лет назад
Hi Vishal, pls check you have saved your tests. Also check if there are any spaces in the name
@shivaagarwal7406
@shivaagarwal7406 4 года назад
I have using 7.22.1 version. When i set same value at INITIAL VALUE & CURRENT VALUE field, it get sucessfully. Please let me know we have to put same values in these two field always? Thanks in advance sir..
@RaghavPal
@RaghavPal 4 года назад
Hi Shiva, you can just put your required value in Current column. Check this for more details - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5aMqyXZRvxg.html
@diegogomes5837
@diegogomes5837 4 года назад
You're great. Thanks for your help. God bless you!
@RaghavPal
@RaghavPal 4 года назад
You're welcome Diego
@atulbhau6948
@atulbhau6948 2 года назад
Hello, I think if we are using different environments for multiple values declaration, can't we just use global variables instead ?
@RaghavPal
@RaghavPal 2 года назад
Hi Atul, global variables will have the same value in a project, If you create env variables, you can create multiple env and select the required env during execution
@nafetseznuk6968
@nafetseznuk6968 3 года назад
hi Raghav Pal , thx for uploading the tutorials. they are very helpful for a better understanding of postman. Do you know if there is a way to arrange requests per environment? requests a, b and c shall only be executed on environment IQA and FQA(preProd) but not on PROD environment. requests d, e and f can be executed on all environments (IQA, FQA(preProd) and PROD). thx in advance. regards.
@RaghavPal
@RaghavPal 3 года назад
Hi Nafets, I believe you can organize them in diff folders and name these folders as PROD, IQA, FQA etc. Now you can run a specific folder both from Collection Runner and from Newman CMD
@hudakhaled8353
@hudakhaled8353 5 лет назад
Very nice explanation Would you please explain what token is? Thanks
@RaghavPal
@RaghavPal 5 лет назад
Hi Huda, its usually used for secure communication. www.techopedia.com/definition/4140/token
@prasadpujari3642
@prasadpujari3642 6 лет назад
Hi Ragav,lets suppose QA environments have different type of user role and every role different username and password so in that case how to update environments your tutorial is very helpful and lot of informative ,Thanks a lot Prasad
@RaghavPal
@RaghavPal 6 лет назад
Hi Prasad, so whatever values can change with env, keep them as env variable and you can provide values accordingly. And during execution you can select the env on which you want to run
@johng5295
@johng5295 5 лет назад
Thanks in a million!
@RaghavPal
@RaghavPal 5 лет назад
You're welcome John, Can find all tutorials here - automationstepbystep.com/online-courses/
@kiranjape3941
@kiranjape3941 4 года назад
Nice explaination..Thanks
@RaghavPal
@RaghavPal 4 года назад
You are welcome Kiran
@TbagsTV
@TbagsTV 4 года назад
Hello Raghav, After I set the key to Content-Type and Value to application/json, I am still getting error 'Missing email or username' What should I do? Hoping to hear from you soon
@TbagsTV
@TbagsTV 4 года назад
I have been able to get it right. It was not explained in the video though. What I did was to switch the language. I was on json, I just had to navigate from json to json again
@RaghavPal
@RaghavPal 4 года назад
Glad to know it worked Nike
@emilmehtiyev3452
@emilmehtiyev3452 5 лет назад
Sir, why you are added Content-Type --> application/json at 3:00 Can't understand this part
@RaghavPal
@RaghavPal 5 лет назад
Hi Emil, in the request headers we add content-type to make the server understand that the request body we are sending is of type JSON
@MohaideenA
@MohaideenA 6 лет назад
Hi Ragav, Now I know postman, so is there any reason I still need to learn SOAPUI tool after knowing postman ?
@RaghavPal
@RaghavPal 6 лет назад
Hi Mohaideen, SoapUI is also used widely today in API testing. Having its knowledge will help
@indusharma7099
@indusharma7099 3 года назад
Thank u so much sir
@RaghavPal
@RaghavPal 3 года назад
Most welcome Indu
@DeadlyPoet1
@DeadlyPoet1 4 года назад
Thank you for the tutorials!
@RaghavPal
@RaghavPal 4 года назад
Most welcome Daniel
@hogopogo123
@hogopogo123 5 лет назад
Hi Raghav, after {{endpoint}}, {{email}} and {{password}} and changing url to end point ,when you run your token section automatically shows Jason but mine shows big list of values in HTML,when changing it to Jason (it says can't beautify)it shows error 'unexpected '
@RaghavPal
@RaghavPal 5 лет назад
Hi Aditya, so there is formatting issue in your JSON. Try to use some online JSON beautifier. Did you try removing the unexpected < pls try
@adityasubba8755
@adityasubba8755 5 лет назад
@@RaghavPal how to remove unexpected < ?
@Leafia_Barrett
@Leafia_Barrett 4 года назад
3:17 I followed everything you did up untilt his point (or tried to - the Content-Type is now auto-generated, you have to change the variable next to raw in the Body), but when I click send, instead of getting a token back, the request times out. I don't know what I could explain that might help diagnose this problem, so all I can do is ask if you might know what would cause that.
@RaghavPal
@RaghavPal 4 года назад
Hi Leafia, Open Postman Console and clear all logs. Then send your request and check the logs. It will show the exact request that went to the server
@ronallan8680
@ronallan8680 3 года назад
I get the same problem: "This request did not get sent completely and might not have all the required system headers"
@MovingDirection
@MovingDirection 6 лет назад
Why it is necessary to add content type and application.json? And how do I know when and what should I add?
@RaghavPal
@RaghavPal 6 лет назад
Hi, this actually is defined by the service provider. When you are working with api for your testing, you will be provided this information.
@logurully13
@logurully13 6 лет назад
Worth to watch all your videos, In your video once you have updated the content type and its values we got the token in result right, but my question is how to identify these things i mean once i got an error in result tab how to debugging this error raghav. could you help me.
@RaghavPal
@RaghavPal 6 лет назад
Very valid question. I am creating a video on how to create tests and how to debug. You should get it in 2-3 days. Pls subscribe to get notified on new videos.
@bharatvarshney2666
@bharatvarshney2666 6 лет назад
Yes, exactly same question from my side if i am get any error instead of not token then how we debugging.Please clarify it
@riteshkumar6403
@riteshkumar6403 5 лет назад
Excellent. Very informative video.
@RaghavPal
@RaghavPal 5 лет назад
Thanks for watching Ritesh
@ArkopalBhattacharya
@ArkopalBhattacharya 4 года назад
very well explained!
@RaghavPal
@RaghavPal 4 года назад
Glad you liked it Arkopal
@pavantejavydhik7354
@pavantejavydhik7354 4 года назад
I’m trying to export my collection to json file which I can distrubute among the team, can I export environment as well with the collection. Pls help to clarify . Thanks
@RaghavPal
@RaghavPal 4 года назад
Yes you can do Pavan
@Scooterboy_and_others109
@Scooterboy_and_others109 5 лет назад
How does it differentiates between variables from different places. Say I defined variable "email" (in Environment, Local & Global) and use/consume it as {{email}}, how does it know which one to use? Is there a said priority-order logic?
@RaghavPal
@RaghavPal 5 лет назад
Hi Prasanna, The diff is as follows: 1. Scope- Environment variables can be accessed with the corresponding environments. Global variables can be accessed broadly regardless of the selected environment. 2. Priority : priority is as follows: - local - data - environment - collection - global So in case a global variables shares same name with an environment variables, at runtime value will be referenced from env variable 3. Getting & Setting variables through scripts - Global - pm.globals.set() - pm.globals.get() - Env - pm.environment.set() - pm.environment.get() learning.getpostman.com/docs/postman/environments_and_globals/intro_to_environments_and_globals/
@lakshmiyanamandra2348
@lakshmiyanamandra2348 6 лет назад
Excellently explained
@RaghavPal
@RaghavPal 6 лет назад
Thanks for watching Lakshmi
@sajidsaiyed8169
@sajidsaiyed8169 5 лет назад
please help me to clear my doubts,what is actual purpose of Environment Setup?
@RaghavPal
@RaghavPal 5 лет назад
Hi Sajid, when you work in organizations, there are diff environment for Production, Testing, Development etc. By environment, we mean servers, infrastructure etc. So the same application can be deployed on these environments and Dev env will be used by developers, QA env will be used by Testers etc. Now there will be some parameters that change with env. We call these as env dependent parameters. This can be like in a web application URL USERNAME PASSWORD etc. So while testing it is a good practice to keep these values in global variables and can be changed without going inside the scripts whenever you want to test on diff env
@bhartipatel9221
@bhartipatel9221 4 года назад
Hie Raghav , I am getting the error " user not found", I set current values of the environment variables.
@RaghavPal
@RaghavPal 4 года назад
Hi Bharti, Pls check the following 1. The variables are referred correctly (syntax) {{varname}} 2. While referring from env variables, the env must be selected from the env dropdown from top right corner
@Fitnesswithchitra
@Fitnesswithchitra 4 года назад
Thank you so much
@RaghavPal
@RaghavPal 4 года назад
You're most welcome Chitra
@mohitgoel3951
@mohitgoel3951 5 лет назад
Raghav, why we add content type in this video. And how we know when to use or not.
@RaghavPal
@RaghavPal 5 лет назад
Hi Mohit, In REST we have to tell the server what representation of content to accept. This may be optional in some cases. This you usually get from the application details. Usually application/json works generally
@shilpad3597
@shilpad3597 4 года назад
@@RaghavPal I do not understand the use of Headers at all.. Can you elaborate here please?
@NitinMurali
@NitinMurali 3 года назад
Thank you so much for this!
@RaghavPal
@RaghavPal 3 года назад
You're so welcome! Nitin
@AmitGupta14
@AmitGupta14 3 года назад
Thank you so much :)
@RaghavPal
@RaghavPal 3 года назад
You're most welcome Amit
@krishveni615
@krishveni615 4 года назад
Hi Raghav, How can we pass empty value through environment variable/variable? For example: { "Name":"Xyz", "age":" ", "Address":" ", },
@RaghavPal
@RaghavPal 4 года назад
Hi Krish, if you are using env variables, you just need to refer the variables and you can keep it null or empty
@shrutijuikar2695
@shrutijuikar2695 4 года назад
do you have classes i want to join
@RaghavPal
@RaghavPal 4 года назад
Hi Shruti, you can check here - automationstepbystep.com/trainings-2/
@uddeshya7798
@uddeshya7798 4 года назад
I am getting 404 not found followed completely as told by you at the time after setting QA env. And running it.
@RaghavPal
@RaghavPal 4 года назад
Hi Uddeshya, Hope you have selected the env from dropdown before execution. Pls check the following 1. Requests were saved 2. The spelling, cases, whitespaces etc of variables used in request is same as the name given in env 3. Watch this - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ne1RsYcgkSY.html to debug and check what values are referred during execution
@paraspatidar7925
@paraspatidar7925 5 лет назад
Great video keep it up,
@RaghavPal
@RaghavPal 5 лет назад
Thanks Paras.
@robell1954
@robell1954 6 лет назад
Hi Raghav, when I add the environment {{endpoint}}, {{email}} and {{password}}, when changing the body to filet in JSON, I get an error stating unexpected '
@RaghavPal
@RaghavPal 6 лет назад
Hi Robert, do you have < somewhere in your variable values on request. Also check the console
@swapnilvishwakarma7476
@swapnilvishwakarma7476 6 лет назад
Even i am getting same error
@prameelareddy9359
@prameelareddy9359 6 лет назад
I had the same error, then I realised that the given post url was wrong.( before- reqres.in/a{{endpoint}}, after reqres.in/{{endpoint}}.
@ItMaKeSSeNsE
@ItMaKeSSeNsE 6 лет назад
The same video are on Udemy right ?
@RaghavPal
@RaghavPal 6 лет назад
Hi, On Udemy, it has more sessions than here. Also I will be adding future videos on Udemy
@ItMaKeSSeNsE
@ItMaKeSSeNsE 6 лет назад
Automation Step by Step - Raghav Pal I want to learn in detail automation in postman. Wil it be there ? Since it is paid so if you confirm that Detailed course is there , I will go for it
@RaghavPal
@RaghavPal 6 лет назад
Hi, Yes infact you can look at the contents before buying the course.
@ItMaKeSSeNsE
@ItMaKeSSeNsE 6 лет назад
Automation Step by Step - Raghav Pal Thanks !
@Scooterboy_and_others109
@Scooterboy_and_others109 5 лет назад
@@RaghavPal - Can you please share UDemy URL to the videos where we could see rest of your videos/sessions?
@DeanExplains
@DeanExplains 3 года назад
How did you know you need to add "content type" and "application/json"?
@RaghavPal
@RaghavPal 3 года назад
Generally you will get these details if testing your or client APIs. And in general in the response of an API is json, this is what we use in content-type
@DeanExplains
@DeanExplains 3 года назад
@@RaghavPal Thank you
@ggamezscr
@ggamezscr 4 года назад
Hi. Mr. Raghav. When I tried reqres.in/api/register , it looks like out of service.
@RaghavPal
@RaghavPal 4 года назад
Hi German, it may be down that time, but seems to be working now. pls try again
@khaynes8160
@khaynes8160 4 года назад
Hi Raghav I'm having problems getting expected results after I SAVE and SEND POST ...I'm getting 404 NOT FOUND. I've tried everything as you have instructed and I even deleted/started from scratch my POST but I keep getting the same results. Instead of showing the toke , i see HTML code (i had saved as raw/JASON). Please help!
@RaghavPal
@RaghavPal 4 года назад
Hi Haynes, Pls check the following 1. You have saved the request 2. You have selected the env from the dropdown 3. The references are correct (syntax, spelling) 4. Check for variables spelling, cases, white spaces etc 5. In case you still face issue, Check on Postman console, what the value being referred from env variables, You can watch this - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ne1RsYcgkSY.html
@khaynes8160
@khaynes8160 4 года назад
@@RaghavPal Thanks non of this worked. I have changed {{endpoint}} to "final" reqres.in/{{final}}
@khaynes8160
@khaynes8160 4 года назад
@@RaghavPal Hi The variable name change did not work either. Is there any way I can talk privately with you?
@RaghavPal
@RaghavPal 4 года назад
Hi Haynes, did you check this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ne1RsYcgkSY.html to see what is the value of the variable being referred during execution
@khaynes8160
@khaynes8160 4 года назад
@@RaghavPal yes, I did. I am able do get my token before I change to variables using {{...}} in the body and POST url. This step always fails.
@debiprasad5773
@debiprasad5773 2 года назад
hi i cant change my content-type as application/json..there already mention test/plain.. plz help
@RaghavPal
@RaghavPal 2 года назад
Hi Debi, do you not see option or drop down for selecting other options
@debiprasad5773
@debiprasad5773 2 года назад
@@RaghavPal Yes i disable the existing content-type and add a new content-type as application/json..now its working..thanks
@sandipb8822
@sandipb8822 2 года назад
im getting { "error": "Missing email or username" } this erroe even after giving content type and applicationjson ..what to do bro now? edit:- it has generated token now :)
@RaghavPal
@RaghavPal 2 года назад
Hi Sandip, in case your api needed authorisation, you will need to add them in request under auth
@NishMoments
@NishMoments 6 лет назад
sir can you please provide a vedio for using android studio
@RaghavPal
@RaghavPal 6 лет назад
I will plan to do session on that soon, Nishtha
@k.venkateshnyros5857
@k.venkateshnyros5857 5 лет назад
im also waiting for that do you know anything about that?
@jeeturanjan1271
@jeeturanjan1271 4 года назад
I am facing issue 404 status code at 6.01.I did the same for QA env.
@RaghavPal
@RaghavPal 4 года назад
Hi Jeetu, Pls check you have saved your requests and also check the variables are referred properly from env and have correct values
@perstry2397
@perstry2397 3 года назад
The post for this url is giving me a get response test, try a different url
@RaghavPal
@RaghavPal 3 года назад
sure, will check this
@ashirbadsatapathy3920
@ashirbadsatapathy3920 4 года назад
Hi Sir.. For me while i am practicing with environment it is showing 404.
@RaghavPal
@RaghavPal 4 года назад
Hi Ashirbad, just check you are providing the correct values and referring the variables properly. Take care of spelling, cases and spaces. Also save request before running.
@jeeturanjan1271
@jeeturanjan1271 5 лет назад
Can you please tell me how you know the solution of given error ? at 3:00
@RaghavPal
@RaghavPal 5 лет назад
Hi Jeetu, these are few basic things like headers, req values, format, authentication etc we check. By experience, you will get this.
@jeeturanjan1271
@jeeturanjan1271 3 года назад
@@RaghavPal thanks
@ajeetpatel3533
@ajeetpatel3533 5 лет назад
I am biggner for Postman I am trying check email and pass word as it is this vedio but result are different so please help me. My case are email are different post register success full and your case in email are different but response are in sample api reqres but my result is different so kindly help me
@RaghavPal
@RaghavPal 5 лет назад
Hi Ajeet, I did not exactly got you. Pls point the time in video where you are getting the difference with details.
@ajeetpatel3533
@ajeetpatel3533 5 лет назад
@@RaghavPal aapne jo sample api me POST ka use kiya uski mail ID alg aur mere case me Post ki mail ID alg but response dono ka same hai leki jab ham collection runner karte hai to aap ke case me alg aatha hai aur mere case me html code aata hai
@RaghavPal
@RaghavPal 5 лет назад
Have you changed the endpoint like i did at 6:30
@mukeshmishra2440
@mukeshmishra2440 4 года назад
how to test multiple enviroment key value pair in api,
@RaghavPal
@RaghavPal 4 года назад
Hi Mukesh, where exactly you need to test this. You can also check a crash course here - automationstepbystep.com/
@nikitathergaonkar3908
@nikitathergaonkar3908 5 лет назад
I am still getting the error at 6:10, unable to have the same output after using the environment variables.
@RaghavPal
@RaghavPal 5 лет назад
Hi Nikita, hope you have followed all steps. What is the error you get. Also check console logs
@prateek250388
@prateek250388 5 лет назад
even i am facing same
@mostafataha9676
@mostafataha9676 5 лет назад
Using version 6.2.4, you have to set the 'Current Value' of the environment variables or else you get an error.
@sharandsouza9898
@sharandsouza9898 5 лет назад
@@mostafataha9676 Thanks Bro..
@apiguy6287
@apiguy6287 4 года назад
@@mostafataha9676 Thanks Bro. That really saved.
@ravikanthkoneru
@ravikanthkoneru 6 лет назад
How can we store Collections into Github
@RaghavPal
@RaghavPal 6 лет назад
Hi Ravi, for Postman pro its GitHub integration is provided out of the box, but you can still do it by creating an account on GitHub and then get git on your system and version control the collection file. You can see this - ru-vid.com/group/PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG
@alessia6715
@alessia6715 4 года назад
I also had issue with {{endpoint}} {{email}} {{password}} returning 404. Turned out for some reason these vars weren't copied from Initial to Current, or maybe there was invisible Space in Current - anyways, as soon as I reset these values and Current mirrored Initial - the request returned 200 for me. Version 7.21.1 (7.21.1)
@RaghavPal
@RaghavPal 4 года назад
Hi Alessia, so the values should be present in the Current column and save your request before running.
@alessia6715
@alessia6715 4 года назад
@@RaghavPal Yes, for some reason they were not automatically copied to Current, though I saved request and re-entered valued multiple times. I think only Reset Values button was the trigger to make things work properly. Thanks for your response.
@SagarSagar-ro3fj
@SagarSagar-ro3fj 4 года назад
"email":"{{email}}" "password":"{{password}}" this throws error...404 .. i have saved values in the Qa env and also selected the env and then i send but it throws error..
@RaghavPal
@RaghavPal 4 года назад
Hi Sagar, did you check if providing hard coded values is working. If yes, pls recheck the values in variables and ensure there are no spaces (leading or training), spellings etc. Save and run. You can check Postman Console to check what is the actual value referred.
@SagarSagar-ro3fj
@SagarSagar-ro3fj 4 года назад
@@RaghavPal yes it works fine with hard-coded values. But when I use variables as said above..it throws error and console show's blank values..anyways I will figure out..but brother thanks for so simple and easy tutorials..can you make one series on a live project where we are using all things in that project so we can get an idea on how things move ..you can add that project on git we can pull from there..thanks once again
@RaghavPal
@RaghavPal 4 года назад
Sure Sagar, I will check
@falgunichauhan8887
@falgunichauhan8887 2 года назад
In your every video, your voice is too low . It is not clearly audible.
@RaghavPal
@RaghavPal 2 года назад
I will check Falguni
Далее
Это было очень близко...
00:10
Просмотров 3,1 млн
Postman Beginner Tutorial 9 | Environments
12:15
Просмотров 52 тыс.