POSTMAN BEGINNER TUTORIAL 8 💡 How to create ENVIRONMENTS

  Рет қаралды 239,845

Automation Step by Step

Automation Step by Step

6 жыл бұрын

website - automationstepbystep.com/
Today we will learn:
1. What is Environment
2. How to create Environment
3. How to use Environment
4. How to delete Environment
Env is a set of key-value pairs
Reference - reqres.in/
________________________________________________________________
POSTMAN Beginner Tutorials - • POSTMAN BEGINNER TUTOR...
Playlists - / @raghavpal
________________________________________________________________
Do like, share and subscribe
Keep Learning,
Raghav
_______ ONLINE COURSES TO LEARN _______
automationstepbystep.com/
----------- 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 - bit.ly/2Px6Ue9
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
----------- MOBILE TESTING -----------
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
----------- 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
----------- JAVA -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
----------- MAVEN -----------
Maven - bit.ly/2NJdDRS
----------- 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
Keep Learning,
Raghav
Website - automationstepbystep.com/
LifeCharger - lifecharger.org/
Udemy Courses - www.udemy.com/user/raghav-pal-3/
Facebook - / automationstepbystep
Twitter - / automationsbs
KZfaq - / automationstepbystep

Пікірлер: 199
@user-rv2id5fv7n
@user-rv2id5fv7n 3 жыл бұрын
One of the bests! Takes ~30 min to learn all about Postman!
@RaghavPal
@RaghavPal 3 жыл бұрын
So happy & humbled
@gboyegaladipo7210
@gboyegaladipo7210 5 жыл бұрын
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 5 жыл бұрын
I am so glad to know this. Humbled by your message
@gisgndecan0111
@gisgndecan0111 4 жыл бұрын
Great explanation and walk thru! Thank you so much, Raghav!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome
@irynahryshanovich9927
@irynahryshanovich9927 6 жыл бұрын
Thank you! Very useful. I will continue watching your channel.
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for watching
@diegogomes5837
@diegogomes5837 4 жыл бұрын
You're great. Thanks for your help. God bless you!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Diego
@umangsharma7447
@umangsharma7447 4 жыл бұрын
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
@spfeiffer13
@spfeiffer13 5 жыл бұрын
Using version 6.2.4, you have to set the 'Current Value' of the environment variables or else you get an error.
@RaghavPal
@RaghavPal 5 жыл бұрын
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 :)
@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.
@SureshKumar-sn6gt
@SureshKumar-sn6gt 3 жыл бұрын
Tutorials are on point and very easy to understand, thanks man:)
@RaghavPal
@RaghavPal 3 жыл бұрын
Glad to hear that Suresh
@DeadlyPoet1
@DeadlyPoet1 4 жыл бұрын
Thank you for the tutorials!
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome Daniel
@saurabhparasar21
@saurabhparasar21 4 жыл бұрын
Hi Raghav, Thanks a lot for sharing these videos..they are really very very helpful..
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Saurabh
@riteshkumar6403
@riteshkumar6403 5 жыл бұрын
Excellent. Very informative video.
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for watching Ritesh
@rachangoudapatilnidoni5058
@rachangoudapatilnidoni5058 5 жыл бұрын
Really helpful Raghav . please keep doing more tools & technologies
@RaghavPal
@RaghavPal 5 жыл бұрын
Sure Rachan
@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.
@johng5295
@johng5295 4 жыл бұрын
Thanks in a million!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome John, Can find all tutorials here - automationstepbystep.com/online-courses/
@aparnaaras3531
@aparnaaras3531 Жыл бұрын
beautifully explained in a simple language, thank you Sir for this video
@RaghavPal
@RaghavPal Жыл бұрын
Mose welcome Aparna
@lakshmiyanamandra2348
@lakshmiyanamandra2348 6 жыл бұрын
Excellently explained
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for watching Lakshmi
@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
@Gym_Studio
@Gym_Studio 3 жыл бұрын
Thanks for this smooth way
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome
@ArkopalBhattacharya
@ArkopalBhattacharya 4 жыл бұрын
very well explained!
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad you liked it Arkopal
@alexgorbunov494
@alexgorbunov494 4 жыл бұрын
Thanks from Russia. Great work! Жалко что ,подобных, русских мануалов в разы меньше.
@RaghavPal
@RaghavPal 4 жыл бұрын
Спасибо за просмотр Alex
@kiranjape3941
@kiranjape3941 4 жыл бұрын
Nice explaination..Thanks
@RaghavPal
@RaghavPal 4 жыл бұрын
You are welcome Kiran
@NitinMurali
@NitinMurali 3 жыл бұрын
Thank you so much for this!
@RaghavPal
@RaghavPal 3 жыл бұрын
You're so welcome! Nitin
@paraspatidar7925
@paraspatidar7925 5 жыл бұрын
Great video keep it up,
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks Paras.
@Fitnesswithchitra
@Fitnesswithchitra 4 жыл бұрын
Thank you so much
@RaghavPal
@RaghavPal 4 жыл бұрын
You're most welcome Chitra
@indusharma7099
@indusharma7099 2 жыл бұрын
Thank u so much sir
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome Indu
@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
@AmitGupta14
@AmitGupta14 3 жыл бұрын
Thank you so much :)
@RaghavPal
@RaghavPal 3 жыл бұрын
You're most welcome Amit
@achyutdiwanji6441
@achyutdiwanji6441 5 жыл бұрын
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 5 жыл бұрын
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
@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 - kzfaq.info/get/bejne/fq5xhseeqLiVknk.html
@progKev
@progKev 4 жыл бұрын
@@RaghavPal @Rahav, thank you for your reply. That was just what I was looking for.
@tatebrownhamam
@tatebrownhamam 5 жыл бұрын
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 5 жыл бұрын
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.
@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
@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
@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.
@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
@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
@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
@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.
@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 - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html
@priyahinha397
@priyahinha397 4 жыл бұрын
@@RaghavPal done thanx
@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
@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
@Scooterboy_and_freinds109
@Scooterboy_and_freinds109 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/
@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 - kzfaq.info/get/bejne/a8d9pNyJv7jaqJs.html
@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 < ?
@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
@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"
@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
@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
@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
@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?
@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?
@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 5 жыл бұрын
I had the same error, then I realised that the given post url was wrong.( before- reqres.in/a{{endpoint}}, after reqres.in/{{endpoint}}.
@uddeshya7798
@uddeshya7798 3 жыл бұрын
I am getting 404 not found followed completely as told by you at the time after setting QA env. And running it.
@RaghavPal
@RaghavPal 3 жыл бұрын
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 - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html to debug and check what values are referred during execution
@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
@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
@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
@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 - kzfaq.info/sun/PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG
@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
@krishveni615
@krishveni615 3 жыл бұрын
Hi Raghav, How can we pass empty value through environment variable/variable? For example: { "Name":"Xyz", "age":" ", "Address":" ", },
@RaghavPal
@RaghavPal 3 жыл бұрын
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 3 жыл бұрын
do you have classes i want to join
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Shruti, you can check here - automationstepbystep.com/trainings-2/
@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
@ggamezscr
@ggamezscr 3 жыл бұрын
Hi. Mr. Raghav. When I tried reqres.in/api/register , it looks like out of service.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi German, it may be down that time, but seems to be working now. pls try again
@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/
@MalkaExplains.
@MalkaExplains. 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
@MalkaExplains.
@MalkaExplains. 3 жыл бұрын
@@RaghavPal Thank you
@ItMaKeSSeNsE
@ItMaKeSSeNsE 5 жыл бұрын
The same video are on Udemy right ?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi, On Udemy, it has more sessions than here. Also I will be adding future videos on Udemy
@ItMaKeSSeNsE
@ItMaKeSSeNsE 5 жыл бұрын
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 5 жыл бұрын
Hi, Yes infact you can look at the contents before buying the course.
@ItMaKeSSeNsE
@ItMaKeSSeNsE 5 жыл бұрын
Automation Step by Step - Raghav Pal Thanks !
@Scooterboy_and_freinds109
@Scooterboy_and_freinds109 5 жыл бұрын
@@RaghavPal - Can you please share UDemy URL to the videos where we could see rest of your videos/sessions?
@khaynes8160
@khaynes8160 3 жыл бұрын
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 3 жыл бұрын
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 - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html
@khaynes8160
@khaynes8160 3 жыл бұрын
@@RaghavPal Thanks non of this worked. I have changed {{endpoint}} to "final" reqres.in/{{final}}
@khaynes8160
@khaynes8160 3 жыл бұрын
@@RaghavPal Hi The variable name change did not work either. Is there any way I can talk privately with you?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Haynes, did you check this video kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html to see what is the value of the variable being referred during execution
@khaynes8160
@khaynes8160 3 жыл бұрын
@@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.
@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.
@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.
@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
@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
@falgunichauhan8887
@falgunichauhan8887 2 жыл бұрын
In your every video, your voice is too low . It is not clearly audible.
@RaghavPal
@RaghavPal 2 жыл бұрын
I will check Falguni
Postman Beginner Tutorial 9 | Environments
12:15
Automation Step by Step
Рет қаралды 45 М.
POSTMAN BEGINNER TUTORIAL 7 💡 How to set and get VARIABLES through SCRIPTING
7:08
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 25 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 42 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
POSTMAN BEGINNER TUTORIAL 9 💡 How to create Quick Scripts
2:44
Automation Step by Step
Рет қаралды 175 М.
POST request with Postman
15:20
Valentin Despa
Рет қаралды 335 М.
All New Performance Testing Option in Postman is Awesome 🤯⚡️
9:58
Execute Automation
Рет қаралды 25 М.
How To Create a Python API With FastAPI - Full Tutorial
25:39
Tech With Tim
Рет қаралды 33 М.
REST API & RESTful Web Services Explained | Web Services Tutorial
15:33
How to Become Genius in XPath in Selenium  - Session -18
39:48
Naveen AutomationLabs
Рет қаралды 711 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 25 МЛН