<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Isabela Gehren on Medium]]></title>
        <description><![CDATA[Stories by Isabela Gehren on Medium]]></description>
        <link>https://medium.com/@isabela.gehren?source=rss-97fbd1374f9c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*REYcWKUm_Eu-1MDWvKPOUQ.jpeg</url>
            <title>Stories by Isabela Gehren on Medium</title>
            <link>https://medium.com/@isabela.gehren?source=rss-97fbd1374f9c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:07:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isabela.gehren/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automating using Postman]]></title>
            <link>https://medium.com/@isabela.gehren/automating-using-postman-ccbb81479d1e?source=rss-97fbd1374f9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccbb81479d1e</guid>
            <category><![CDATA[postman-testing]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Isabela Gehren]]></dc:creator>
            <pubDate>Fri, 09 Feb 2024 23:04:37 GMT</pubDate>
            <atom:updated>2024-04-30T13:59:12.181Z</atom:updated>
            <content:encoded><![CDATA[<p>Automating using Postman</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*KerGq71gYXKQm4xBAye1LA.png" /></figure><p>No doubt Postman is my best tech friend.</p><p>I needed to process a batch of reports calling my API. I could do this by any kind of script console easily, but more easily I can do it through Postman.</p><p>How?</p><p>I already have an Postman environment configured to test through this API that requires bearer token authentication, as below.</p><p>First, I persist the bearer access token in the environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*OhBxYmo5wTdH4gglfS9cJQ.png" /><figcaption>The acquirer token request</figcaption></figure><pre>var jsonData = JSON.parse(responseBody) ;<br>postman.setEnvironmentVariable(&quot;admin_token&quot;, jsonData.token);</pre><p>And as we can see, the token is now available for any request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*hf3cOuoj9xpTfZxo1YQMGA.png" /></figure><p>Now, going to my business, I will run a batch call to my API to generate the reports that I need passing this access token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*5OA-EkhoeexwuhT2DgucOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*PstuPQIpx4PpNOtyCxdPXA.png" /></figure><p>Note that the prop investorId is parameterized! It will be filled wit a .csv content like this (pay attention to the quotation marks and double keys)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*IuIz2dsUFYILlWCvh--M_g.png" /></figure><p>Now, this request must be saved on Postman.</p><p>In the footer (or somewhere else depending on the Postman version), there is a <strong>Runner </strong>button to *make the magic*…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*Hp-HN1t4XA2ZfcKy1zyfaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*t97-_ryEM6bIMEXMi1I5DA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MP3VPaqjoqdTBw1TdXHsFw.png" /></figure><p>It is possible to make test scripts and treat the results, but for me it is enough.</p><figure><img alt="That´s all folks" src="https://cdn-images-1.medium.com/max/800/1*ZmuZhNjk4t5u5Qj2f5GEvA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccbb81479d1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>