<?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 Re: API Testing in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160117#M7218</link>
    <description>&lt;P&gt;Just a quick warning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"do stuff" is not unlimited. If you need to to a lot of things you better do this in bacthes where you repeat step 2 and 3 for each batch.&lt;/P&gt;
&lt;P&gt;Just for fun try to import 3000 networks and 1000 groups of various sorts and then try to publish that. it will take a while. (Enough to grind the beans by hands to make your own coffee.)&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 09:18:21 GMT</pubDate>
    <dc:creator>Hugo_vd_Kooij</dc:creator>
    <dc:date>2022-10-21T09:18:21Z</dc:date>
    <item>
      <title>API Testing</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160040#M7208</link>
      <description>&lt;P&gt;How to&amp;nbsp; generate "&lt;SPAN&gt;x-chkp-sid&lt;/SPAN&gt;" for the api testing in POSTMAN&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&amp;lt;mgmt-server&amp;gt;:&amp;lt;port&amp;gt;/web_api/show-logs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for testing this API we need&amp;nbsp;Request Headers (x-chkp-sid)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#web/show-logs~v1.8%20" target="_self"&gt;ref&lt;/A&gt;&amp;nbsp;link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advandce..!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 08:57:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160040#M7208</guid>
      <dc:creator>viveky</dc:creator>
      <dc:date>2022-10-20T08:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: API Testing</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160059#M7212</link>
      <description>&lt;P&gt;You need to log in to use the API.&lt;BR /&gt;That starts with the login endpoint, which will provide a sid upon successful authorization.&lt;BR /&gt;That sid can then be used in future API calls.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.8%20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, you need to be mindful of the following flow when working with the API:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;login (gets a sid)&lt;/LI&gt;
&lt;LI&gt;"do stuff"&lt;/LI&gt;
&lt;LI&gt;publish (if write changes occur)&lt;/LI&gt;
&lt;LI&gt;logout&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 20 Oct 2022 13:52:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160059#M7212</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-10-20T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: API Testing</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160117#M7218</link>
      <description>&lt;P&gt;Just a quick warning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"do stuff" is not unlimited. If you need to to a lot of things you better do this in bacthes where you repeat step 2 and 3 for each batch.&lt;/P&gt;
&lt;P&gt;Just for fun try to import 3000 networks and 1000 groups of various sorts and then try to publish that. it will take a while. (Enough to grind the beans by hands to make your own coffee.)&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 09:18:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160117#M7218</guid>
      <dc:creator>Hugo_vd_Kooij</dc:creator>
      <dc:date>2022-10-21T09:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: API Testing</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160136#M7219</link>
      <description>&lt;P&gt;That number of operations might also fail if you don't have sufficient memory on your management.&lt;BR /&gt;Publishing after a couple hundred write/modify operations is recommended.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 19:15:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/API-Testing/m-p/160136#M7219</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-10-21T19:15:11Z</dc:date>
    </item>
  </channel>
</rss>

