Postman Beginner Tutorial 1 | What is Postman

Поделиться
HTML-код
  • Опубликовано: 26 июл 2024
  • All FREE courses - automationstepbystep.com/
    Postman QUIZ - forms.gle/8M5Kc4KBrcVCNs6L8
    Notes:
    What is Postman
    Start Postman | SignUp | Setup
    Understand GUI
    Postman is a platform for API
    Development
    Testing
    Management
    Step 1 - Goto Postman website www.postman.com/ | Create Account
    Check Email and verify account
    Step 2 - Login to Postman
    Step 3 - Explore GUI and features
    #Postman #APITesting
    ____________________________________________________________
    Stories by Raghav - automationstepbystep.com/stor...
    Udemy Courses - automationstepbystep.com/udem...
    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 _______
    GitHub - github.com/Raghav-Pal/
    Udemy - www.udemy.com/user/raghav-pal-3/
    Training by Raghav at your venue - raghav.qna@gmail.com
    Training schedule - automationstepbystep.com/trai...
    ----------- 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/user/raghav-pal-3/
    Twitter - / learnwithraghav
    RUclips - / automationstepbystep
    Never Stop Learning
    Raghav

Комментарии • 127

  • @anupamdeo904
    @anupamdeo904 Год назад +11

    This is what I was looking for a Step By Step Course about everything.
    You tube always a blessing for me and now you are more of a blessing in disguise, thank you so much for your contribution Raghav!
    Concise right from Macro level to Micro!! Again thanks !!

    • @RaghavPal
      @RaghavPal  Год назад

      Thanks for the kind words Anupam, humbled

  • @digitally_ascended_conscio6304
    @digitally_ascended_conscio6304 2 года назад +10

    Your vids are excellent when starting from the basics with anything, I had a training at work with Cypress, that was not understandable, but your courses helped and now I'm good at it, and just now as I'm starting work that requires Postman this came up. Many thanks from EU.

    • @RaghavPal
      @RaghavPal  2 года назад

      Great to hear! thanks

  • @mani123ish
    @mani123ish 2 года назад +5

    Thank you Raghav... I was searching Postman on youtube but really feel satisfied when I saw u have posted new videos on Postman.I enrolled a course in Canada for testing but feel very demotivated but ur videos r like a life saver for me. Thank u so much

    • @RaghavPal
      @RaghavPal  2 года назад

      So nice of you Mandeep

  • @SarangHoley
    @SarangHoley 2 года назад +7

    Thanks a lot Raghav for starting up this Post man series 👍😊 in 2022 it need, as there are many changes happened in Postman till now

    • @RaghavPal
      @RaghavPal  2 года назад +3

      Thanks Sarang, Hope it will help many, do share in your network

    • @SarangHoley
      @SarangHoley 2 года назад +1

      @@RaghavPal Sure Raghav

  • @prernasharma1307
    @prernasharma1307 2 года назад

    Thanks a lot Raghav.... I am doing hands on for Postman tutorial simultaneously

  • @RajRaj-kn3fx
    @RajRaj-kn3fx 2 месяца назад +1

    Awesome introduction Raghav. I am new learner to this tool. Thanks

    • @RaghavPal
      @RaghavPal  2 месяца назад

      Most welcome Raj

  • @dominicaleung7329
    @dominicaleung7329 28 дней назад +1

    Thank you very much. Your video is very helpful and your speaking pace is good also.

    • @RaghavPal
      @RaghavPal  28 дней назад

      Most welcome Dominica.. keep learning

  • @lokeshwaran7671
    @lokeshwaran7671 2 года назад +2

    Thank you. I was expecting this now I got it surprisingly

    • @RaghavPal
      @RaghavPal  2 года назад

      You're welcome Lokesh

  • @olegchumin6634
    @olegchumin6634 2 года назад +1

    Hi Raghav, very good lessons for beginners. Thank you!

    • @RaghavPal
      @RaghavPal  2 года назад

      Glad you liked it Oleg

  • @shinewithshikha5680
    @shinewithshikha5680 Год назад +1

    God Bless you, sir. you are a great teacher.

  • @asiyaahmed7584
    @asiyaahmed7584 2 месяца назад

    Awesome and neat Explanation can't ask for more truly a "Blessing in Disguise" Thanks Raghav!

    • @RaghavPal
      @RaghavPal  2 месяца назад

      So nice of you Asiya.. humbled

  • @shahzaibidreesahmed4827
    @shahzaibidreesahmed4827 Год назад +2

    Great this is the simple way to convey your lecture 👍🙂

  • @vybhaveswaraiah7114
    @vybhaveswaraiah7114 2 года назад +1

    Great News Sir. Looking forward to learn Postman tool 🙂

  • @user-ju2cy9pc9q
    @user-ju2cy9pc9q 10 месяцев назад

    BEST RUclips CHANNEL EVER. THANK YOU SO MUCH GURU

    • @RaghavPal
      @RaghavPal  10 месяцев назад +1

      Most welcome Harini. Humbled

  • @fouried96
    @fouried96 8 месяцев назад

    Awesome course! Thank you very much. This will help me out at my new job

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Glad it was helpful Daniel

  • @parasarighoshdas369
    @parasarighoshdas369 Год назад

    There goes the 500th like from me. I always enjoy your simple way of teaching Raghav. Keep it up :)

  • @mahesht8252
    @mahesht8252 2 года назад

    Thanks for starting this course....

  • @akanshasaraswat7274
    @akanshasaraswat7274 2 года назад

    Wonder ful explanation..
    Sir requested you many times please sir make a video session on how to write and read test cases from real SRS document.
    Please make it sir
    Also cover happy path and negative testcases....

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Akansha, I will create a session

  • @gvnsashidhar7182
    @gvnsashidhar7182 2 года назад

    Thank you so much raghav...

  • @PriyankaSharma-ny8bb
    @PriyankaSharma-ny8bb Год назад

    Thanks for brief introduction 😊

  • @user-sx8cu7uh3c
    @user-sx8cu7uh3c Месяц назад

    Thanks!! This is helpful

    • @RaghavPal
      @RaghavPal  Месяц назад

      Glad it was helpful Akshay

  • @giovanaaa684
    @giovanaaa684 Год назад

    Oh, thx, really information video

    • @RaghavPal
      @RaghavPal  Год назад

      Glad it was helpful Giovana

  • @avyaarrhythms
    @avyaarrhythms 2 года назад +1

    Raghav sir you are awesome,
    Sir I would like to know about
    Security testing fault isolation --
    Debugging & troubleshooting

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Hi Avyaar, I will add on this

  • @nishantsinha5023
    @nishantsinha5023 2 года назад +1

    Thank you sir.
    Please try to cover everything related to postman in this series☺

  • @GaniraAtash
    @GaniraAtash 5 месяцев назад

    Thank you!

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      You're welcome Ganira

  • @yourfavouriteman
    @yourfavouriteman Год назад +1

    Man, really incredible guide !!!!!!!!!!!!!!!!!!

    • @RaghavPal
      @RaghavPal  Год назад

      Glad it helped Daniel

    • @yourfavouriteman
      @yourfavouriteman Год назад

      I wonder how to create an api...

    • @yourfavouriteman
      @yourfavouriteman Год назад

      @@RaghavPal I have to develop an app that uses data from an api for logging. After login, the app shows a home creen with 3 diff options (list create settings) all data stored in an api.

    • @RaghavPal
      @RaghavPal  Год назад

      Not much aware on API development Daniel, will need to check online

  • @kanaga4271
    @kanaga4271 2 года назад

    Thank you ji

  • @prasannakv528
    @prasannakv528 2 года назад

    Seriously,, extraordinary teaching keep it up , god bless, please make notes available or ppt.

    • @RaghavPal
      @RaghavPal  2 года назад +1

      Sure Prasanna

    • @prasannakv528
      @prasannakv528 2 года назад

      @@RaghavPal thank you sir! And honestly I watched videos of other channels but Your teaching is top notch! subscriber's dont define your quality but videos do! #respect .

  • @AnilKumar-sl4wl
    @AnilKumar-sl4wl 3 месяца назад

    Good explanation

    • @RaghavPal
      @RaghavPal  3 месяца назад

      Thanks for liking Anil

  • @ZAribeniq21
    @ZAribeniq21 2 года назад

    Well done! Thank you very much!

    • @RaghavPal
      @RaghavPal  2 года назад

      Glad it was helpful!

  • @areplica-
    @areplica- 6 месяцев назад +1

    What annotation tool are you using to highlight the different layout areas?

  • @jeqcomputer8529
    @jeqcomputer8529 Год назад +1

    what is the tools you are using in highlighting your screen?

  • @manojkumar1585
    @manojkumar1585 2 года назад

    Hi Raghav, you session is very good, can you please share the software name which you are using for screen recorder
    Please tell me.

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi Manoj, I mostly use QuickTime

  • @parkash212
    @parkash212 Год назад +1

    Hello sir
    Just want to know that after watching all videos of this course - Will i able to learn Postman tool or can I clear interview with this course.
    Thanks

    • @RaghavPal
      @RaghavPal  Год назад +1

      Yes, you can, check all POSTMAN videos here - automationstepbystep.com/

  • @moodoffbhubaneswar5486
    @moodoffbhubaneswar5486 2 года назад

    Sir make vedio on rest assured api testing for 2022....

    • @RaghavPal
      @RaghavPal  2 года назад

      Sure Jay, I have some videos here - automationstepbystep.com/

  • @Archmagus
    @Archmagus 3 месяца назад +1

    Pozdrawiam wszystkich z 3pT

    • @RaghavPal
      @RaghavPal  3 месяца назад

      Dzięki za oglądanie

  • @IMRAJRABBANI
    @IMRAJRABBANI Год назад

    what app do you use for recording and marking the screen like this?

  • @shilpareddy2903
    @shilpareddy2903 8 месяцев назад

    Hi Raghav, Below is the sample json response here i need to get the id 5 value into environments . How to get this because there are multiple id's in the DataFileTypes . Please help me
    [
    {
    "Id": 8,
    "Name": "XXX",
    "Active": true,
    "DataFileTypes": [
    {
    "Id": 2,
    "Name": "X",
    "Append": true,
    "DataType": {
    "Id": 5,
    "Name": "Survey"
    }
    },
    {
    "Id": 3,
    "Name": "XY",
    "Append": true,
    "DataType": {
    "Id": 1,
    "Name": "Media"
    }
    }
    ]
    has context menu

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Shilpa
      To extract the id 5 value from the DataFileTypes array and store it in an environment variable called "targetId" using Postman, you can use the following JSONPath expression:
      ```
      $.DataFileTypes[?(@.DataType.Id == 5)].Id
      ```
      This expression will filter the DataFileTypes array to only include objects where the DataType.Id property is equal to 5. Then, it will extract the Id property from the first object in the filtered array.
      Here are the steps on how to use this expression in Postman:
      1. In Postman, open the request that contains the JSON response you want to extract the value from.
      2. In the Tests tab, add a new test script.
      3. In the test script, paste the following code:
      ```
      var targetId = pm.response.json().DataFileTypes.find(function(dataType) {
      return dataType.DataType.Id === 5;
      }).Id;
      pm.environment.set("targetId", targetId);
      ```
      This code will first find the first object in the DataFileTypes array where the DataType.Id property is equal to 5. Then, it will extract the Id property from that object and store it in the environment variable called "targetId".
      4. Save the test script.
      5. Run the request.
      The targetId environment variable will now contain the value 5. You can use this environment variable in other requests or scripts.

  • @jhondoe2785
    @jhondoe2785 Год назад

    which software you have used for marking on display

  • @sridharmurari3007
    @sridharmurari3007 Год назад

    Raghav, How can I achieve parallel execution using newman in CMD line

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Sridhar, pls check this
      community.postman.com/t/collections-parallel-execution/13496

  • @venkateshyalla8965
    @venkateshyalla8965 Год назад

    hi, Raghav I am venkatesh I want to learn API automation testing full videos I am totally confused about what to learn the step-in-step process and I am already completed the postman beginner tutorial course. this is super full understanding and easy to learn. so please tell me the automation step-by-step process

    • @RaghavPal
      @RaghavPal  Год назад

      I will plan a API testing learning roadmap, for now you can learn some more api testing tools

    • @venkateshyalla8965
      @venkateshyalla8965 Год назад

      @@RaghavPal ok thank you sir

    • @venkateshyalla8965
      @venkateshyalla8965 Год назад

      @@RaghavPal sir do you provide notes for API automation notes

    • @RaghavPal
      @RaghavPal  Год назад

      I add in the description below the video

  • @pavankumar-zr4ky
    @pavankumar-zr4ky 8 месяцев назад

    Hi Sir, I have tried the below code and I am Getting this error : Couldn't evaluate the test script: Error: sandbox: execution interrupted, bridge disconnecting and tool is closing .Could you please have a look once

    • @RaghavPal
      @RaghavPal  8 месяцев назад +1

      Pavan
      The error message "Couldn't evaluate the test script: Error: sandbox: execution interrupted, bridge disconnecting and tool is closing" in Postman indicates that the test script execution was abruptly terminated due to an interruption in the communication between the test script and Postman's execution environment. This can happen for various reasons, such as:
      *Postman Crash or Shutdown:* If Postman crashes or shuts down unexpectedly, the test script execution will be interrupted.
      *Extension Conflicts:* Sometimes, conflicting extensions or plugins in Postman can interfere with the test script execution and cause the bridge to disconnect.
      *System Issues:* Underlying system issues, such as resource limitations or memory leaks, can also lead to the termination of the test script execution.
      To resolve this issue, you can try the following steps:
      1. *Restart Postman:* Close Postman completely and relaunch it. This can often resolve temporary glitches or issues that might be causing the interruption.
      2. *Disable Extensions:* Temporarily disable all extensions or plugins in Postman to check if any of them are causing the conflict. Enable them one by one to identify the culprit.
      3. *Update Postman:* Ensure you're using the latest stable version of Postman. Older versions may have bugs or compatibility issues that have been fixed in newer releases.
      4. *Check System Resources:* Ensure your system has sufficient resources, such as CPU, RAM, and network bandwidth, to handle the load of the test script.
      5. *Simplify Test Script:* If the test script is overly complex or resource-intensive, try simplifying it to identify any potential performance bottlenecks.
      6. *Seek Community Support:* If the issue persists, consider seeking assistance from the Postman community forums or mailing lists. There may be specific configuration or compatibility issues that require additional guidance.
      Remember, troubleshooting test script execution issues often involves a process of elimination. Start with simple steps like restarting Postman and disabling extensions, and gradually move on to more complex troubleshooting if necessary.

  • @ashishnaidu2487
    @ashishnaidu2487 7 месяцев назад

    Hello Raghav, my topic is not related to the course but I thought you're the best person to approach for my query. I want to know if there are any Freelancing websites for testing where I can earn extra income please?

    • @RaghavPal
      @RaghavPal  7 месяцев назад +1

      Ashish
      I tried to check online and this is the information I got:
      *Popular Freelancing Websites:*
      *Upwork:* One of the largest freelancing platforms with a wide variety of testing jobs, from manual testing to automation testing.
      *Fiverr:* Another popular platform with a focus on smaller, quick projects. You can offer testing services like test case creation, bug reporting, and usability testing.
      *Freelancer:* Offers a wide range of testing projects, including short-term gigs and long-term contracts.
      *Guru:* Similar to Upwork and Freelancer, Guru connects freelancers with clients for various testing projects.
      *PeoplePerHour:* A UK-based platform with a good selection of testing jobs, especially for manual testing.
      *Testing Specific Freelancing Websites:*
      *Testlio:* A platform focused exclusively on testing projects, offering opportunities for manual and automation testing across various industries.
      *TestingTime:* Connects testers with companies seeking on-demand testing services for websites and mobile apps.
      *UserTesting:* Recruits testers to record their sessions while interacting with websites and apps, providing valuable insights for companies.
      *Respondent:* Offers a diverse range of testing jobs, including user testing, usability testing, and accessibility testing.
      *Additional Resources:*
      *Daxx:* A platform specifically for software testing professionals, offering a mix of freelance and full-time positions.
      *ValueCoders:* Provides software testing services and also offers opportunities for freelance testers.

    • @ashishnaidu2487
      @ashishnaidu2487 7 месяцев назад +1

      @@RaghavPal Thank you so much sir for providing the information. Thanks a lot again for researching on my query and providing me the input.

  • @praveenkk21
    @praveenkk21 2 года назад

    Hi, i want to know how to update collection variables via newman cli

    • @RaghavPal
      @RaghavPal  2 года назад +1

      I will add a session on this Praveen

    • @praveenkk21
      @praveenkk21 2 года назад

      @@RaghavPal Thank you

  • @YSD432
    @YSD432 Год назад

    Employers can also use a free account in postman?

  • @ayushisharma6975
    @ayushisharma6975 2 месяца назад

    Can anyone pls tell me that this postman is all about for manual testing ..that means api using postman for a manual tester?

    • @RaghavPal
      @RaghavPal  2 месяца назад +1

      Ayushi
      You can use Postman both for manual and automation testing of APIs

    • @ayushisharma6975
      @ayushisharma6975 2 месяца назад

      @@RaghavPal sir just tell me that ye Jo apki Puri api ki series h is that enough to learn api using postman,I need practical experience also ,pls guide me ki from where I can implement it practically?

    • @RaghavPal
      @RaghavPal  2 месяца назад

      Ayushi
      yes, it will be enough to work on any Postman project. I will suggest that you watch all videos and do hands-on along with it

  • @Venkateshvenky-vy1dd
    @Venkateshvenky-vy1dd Год назад

    This is help for manual tester by learning these topics or I need learn other topics
    Please guide me im getting confuse.😢

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Venkatesh
      You can make a list on what you need to learn and then check here - automationstepbystep.com/
      It will depend on your needs, project requirements, career goals, self interests etc

    • @Venkateshvenky-vy1dd
      @Venkateshvenky-vy1dd Год назад

      @@RaghavPal thank you so much for your response Raghav but I’m working on manual testing having 2.4 years of experience and as of now I’m searching for a job I lose job because of layoffs I want to lean API postman so I need guidance what are topics Will come under API Postman and suggest playlist

    • @RaghavPal
      @RaghavPal  Год назад

      Venkatesh,
      Here are some topics that will come under API Postman:
      * **Introduction to APIs:** This topic will cover the basics of APIs, such as what they are, how they work, and the different types of APIs.
      * **Postman basics:** This topic will cover the basics of Postman, such as how to create requests, send requests, and view the responses.
      * **Postman collections:** This topic will cover how to create and use collections in Postman. Collections are a way to group together related requests.
      * **Postman variables:** This topic will cover how to use variables in Postman. Variables can be used to store data that can be used in requests.
      * **Postman scripts:** This topic will cover how to use scripts in Postman. Scripts can be used to automate tasks in Postman.
      * **Postman debugging:** This topic will cover how to debug requests in Postman. Debugging can be used to troubleshoot problems with requests.
      I hope this helps

  • @mental_order
    @mental_order 11 месяцев назад

    Can I learn how to test APIs in this course?

  • @bhaskarvarun7110
    @bhaskarvarun7110 2 года назад

    Jira tool explain sir

  • @sjohn5954
    @sjohn5954 2 года назад

    Hi sir , why software testing is not demanded job ?
    Why everyone advertising datascience,Ai,ML ,devops,cyber security,cloud ,Full stack developer ...... Fileds
    but Why Not QA ? Does it means testing is not evergreen ?

    • @RaghavPal
      @RaghavPal  2 года назад

      Hi, QA is evergreen, its just that the modes, strategies, tools keep on updating and changing

    • @sjohn5954
      @sjohn5954 2 года назад

      @@RaghavPal thank you so much sir for your valuable reply .....but could you do a. Video on how to learn Hadoop testing .and future growth of Hadoop testing

  • @travelgram5378
    @travelgram5378 Год назад

    707th like 💞

  • @Rasit64
    @Rasit64 Год назад

    hav ar yu

  • @ROVAKAN
    @ROVAKAN 10 месяцев назад

    We are not idiots you dont need to show us where is the sidebar or header at with red rectangle. We write software we have enough iq to figure that out 😂

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      This was for complete beginners starting with Postman. I will try to improve

    • @nellainayagam7540
      @nellainayagam7540 4 месяца назад

      @@RaghavPal sir pls do like this method,everyone is not same,,so pls teach from the scratch like u did,,thanks'

  • @magotelecom
    @magotelecom 7 месяцев назад

    Thanks for being thorough.

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      Glad it was helpful

  • @pavankumar-zr4ky
    @pavankumar-zr4ky 8 месяцев назад +1

    Hi Sir ,
    Your videos helping me a lot to learn new tools. Thank you so much.
    Can you please help me on the below case
    Scenario:
    Get-XXX/project/file/data/ProjectFileID/refresh
    I need to loop this request (with some delay time 5 sec) until the status is processed in the response json.
    Note 1: Status will be like first Processing and then Processed . If it is failed then it will be Error.
    Note2: Loop should end when Status is Processed or Error .
    Note 3 : Loop should continue when Status is in Processing .

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      Pavan
      Here's the Postman test script that will loop the Get request until the status is either "Processed" or "Error":
      ```javascript
      const delay = 5000; // 5 seconds delay between requests
      let status = "Processing";
      while (status === "Processing") {
      // Send the Get request
      pm.sendRequest('Get-example/project/file/data/ProjectFileID/refresh', function (err, res) {
      if (err) {
      console.error('Error:', err);
      return;
      }
      // Extract the status from the response JSON
      status = res.json().status;
      // Check if status is Processed or Error
      if (status === "Processed" || status === "Error") {
      console.log('Status:', status);
      return; // Exit the loop
      }
      console.log('Status:', status);
      console.log('Waiting for 5 seconds...');
      // Wait for 5 seconds before sending the next request
      setTimeout(function() {}, delay);
      });
      }
      ```
      This script will repeatedly send the Get request with a 5-second delay between each request. It will continue to loop until the response JSON contains a status of "Processed" or "Error".

    • @pavankumar-zr4ky
      @pavankumar-zr4ky 8 месяцев назад

      Thank you sir@@RaghavPal