<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Tutorial for API testing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/79044#M49696</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Hi all, currently I'm doing manual testing at a startup and my manager wants me to start learning how to write code to test our API, which I am grateful for the opportunity. I do have some Python experience through online tutorials but I've never wrote code for testing before, specifically API testing. Does anyone know a good tutorial for this or can show me, for example, a simple example of testing Twitter's API? Apologies if I've messed up on any semantics and thanks in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 07 Oct 2021 06:51:01 GMT</pubDate>
    <dc:creator>manishkob</dc:creator>
    <dc:date>2021-10-07T06:51:01Z</dc:date>
    <item>
      <title>Tutorial for API testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/79044#M49696</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Hi all, currently I'm doing manual testing at a startup and my manager wants me to start learning how to write code to test our API, which I am grateful for the opportunity. I do have some Python experience through online tutorials but I've never wrote code for testing before, specifically API testing. Does anyone know a good tutorial for this or can show me, for example, a simple example of testing Twitter's API? Apologies if I've messed up on any semantics and thanks in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2021 06:51:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/79044#M49696</guid>
      <dc:creator>manishkob</dc:creator>
      <dc:date>2021-10-07T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for API testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/79196#M49798</link>
      <description>&lt;P data-unlink="true"&gt;You can get all tutorial for api and tech news apdates through whatsapp group&amp;nbsp;. It is soo easy now&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:46:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/79196#M49798</guid>
      <dc:creator>eveabion</dc:creator>
      <dc:date>2022-04-28T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for API testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/81633#M51450</link>
      <description>&lt;P&gt;Some of the common tests we perform on APIs are as follows.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To verify whether the return value is based on the input condition. The response of the APIs should be verified based on the request.&lt;/LI&gt;&lt;LI&gt;To verify whether the system is authenticating the outcome when the API is updating any data structure&lt;/LI&gt;&lt;LI&gt;To verify whether the API triggers some other event or request another API&lt;/LI&gt;&lt;LI&gt;To verify the behavior of the API when there is no return value&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;&lt;H3&gt;&lt;STRONG&gt;Advantages of API Testing:&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;API Testing is time effective when compared to GUI Testing. API test automation requires less code so it can provide faster and better test coverage.&lt;/LI&gt;&lt;LI&gt;API Testing helps us to reduce the testing cost. With API Testing we can find minor bugs before the GUI Testing. These minor bugs will become bigger during GUI Testing. So finding those bugs in the API Testing will be cost-effective to the Company.&lt;/LI&gt;&lt;LI&gt;API Testing is language independent.&lt;/LI&gt;&lt;LI&gt;API Testing is quite helpful in testing Core Functionality. We can test the APIs without a user interface. In GUI Testing, we need to wait until the application is available to test the core functionalities.&lt;/LI&gt;&lt;LI&gt;API Testing helps us to reduce the risks.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 15 Mar 2022 07:02:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/81633#M51450</guid>
      <dc:creator>SandraLewisFrin</dc:creator>
      <dc:date>2022-03-15T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for API testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/82389#M51911</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN&gt;I use postman for these sort of things, and I found their online documentation to be super good. They also have a tutorial the first time you install it, guiding you on how to test a basic &lt;FONT color="#333333"&gt;omegle&amp;nbsp; shagle&amp;nbsp;&lt;/FONT&gt; GET I think.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Give it a try!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 14:59:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/82389#M51911</guid>
      <dc:creator>SandraLewisFrin</dc:creator>
      <dc:date>2022-04-28T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for API testing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/90784#M57065</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/54573"&gt;@manishkob&lt;/a&gt;, your interest in learning API testing is an excellent step forward in your testing career. With your Python background, you’re already on the right path. Here’s a streamlined approach to get started with API testing:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tools to Use&lt;/STRONG&gt;: Start with &lt;STRONG&gt;Postman&lt;/STRONG&gt;, which is beginner-friendly and extensively documented. You can explore its capabilities for sending requests, analyzing responses, and automating test cases. Once comfortable, move to Python-based libraries like &lt;STRONG&gt;Requests&lt;/STRONG&gt; and frameworks like &lt;STRONG&gt;Pytest&lt;/STRONG&gt; for advanced scripting.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Example Setup&lt;/STRONG&gt;: Here’s a quick Python example for testing an API, like a basic GET request:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;import requests&lt;/P&gt;&lt;P&gt;response = requests.get('&lt;A href="https://api.twitter.com/2/tweets" target="_blank"&gt;https://api.twitter.com/2/tweets&lt;/A&gt;', headers={&lt;BR /&gt;'Authorization': 'Bearer YOUR_ACCESS_TOKEN'&lt;BR /&gt;})&lt;BR /&gt;print(response.status_code)&lt;BR /&gt;print(response.json())&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Replace YOUR_ACCESS_TOKEN with a valid token, and you can start testing endpoints.&lt;/P&gt;&lt;P&gt;Comprehensive Tutorials: For structured learning, platforms like whatsapp offer resources not just for technical tutorials but also for staying updated on API tools and techniques.&lt;/P&gt;&lt;P&gt;Advanced Testing: As you progress, dive into automated testing frameworks like Tavern or Behave for API testing. These can help you write more maintainable and scalable test cases.&lt;/P&gt;&lt;P&gt;Remember, API testing isn't just about functionality; also test for edge cases, performance, and security. If you'd like, I can provide more resources or discuss testing strategies in detail!&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 20 Nov 2024 18:30:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Tutorial-for-API-testing/m-p/90784#M57065</guid>
      <dc:creator>sujeek</dc:creator>
      <dc:date>2024-11-20T18:30:22Z</dc:date>
    </item>
  </channel>
</rss>

