<?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 Thinkvibes Software on Medium]]></title>
        <description><![CDATA[Stories by Thinkvibes Software on Medium]]></description>
        <link>https://medium.com/@thinkvibes?source=rss-6e61f6c60fa0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PBEnHP4FqwxlTn5BUzfNrg.png</url>
            <title>Stories by Thinkvibes Software on Medium</title>
            <link>https://medium.com/@thinkvibes?source=rss-6e61f6c60fa0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:40:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thinkvibes/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 Salesforce REST API Testing Using Rest Assured (Java)]]></title>
            <link>https://thinkvibes.medium.com/automating-salesforce-rest-api-testing-using-rest-assured-java-cca800d7854c?source=rss-6e61f6c60fa0------2</link>
            <guid isPermaLink="false">https://medium.com/p/cca800d7854c</guid>
            <category><![CDATA[testng-framework]]></category>
            <category><![CDATA[rest-api-testing]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Thinkvibes Software]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 05:39:43 GMT</pubDate>
            <atom:updated>2026-02-20T04:28:31.050Z</atom:updated>
            <content:encoded><![CDATA[<h4>A practical guide to OAuth authentication, SOQL execution, and automated API validation with TestNG</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2lnlIrU7K0jMeAcsfjspw.png" /></figure><p><strong>In modern Salesforce projects, integrations are everywhere.</strong></p><p>Whether it’s middleware, external systems, or internal microservices — everything communicates through REST APIs.</p><p>Yet, in many projects, API testing is still done manually.</p><p>Manual testing works in early stages.<br> But when projects grow, regression cycles increase, and CI/CD pipelines are introduced — manual validation becomes a bottleneck.</p><p>In this guide, we’ll walk through a practical approach to automate Salesforce REST API testing using <strong>Java + Rest Assured + TestNG</strong>.</p><blockquote><strong>Why Not Just Use Postman?</strong></blockquote><p>Yes, you can validate APIs in Postman.</p><p>But will someone manually re-test every endpoint, every scenario, before every release?</p><p>In real projects, integrations evolve. Deployments happen frequently.<br> An API that worked yesterday can silently break today due to schema changes, data variations, or configuration updates.</p><p>Postman helps you check.<br> Automation ensures nothing is missed — every single time.</p><p>And that’s the difference.</p><blockquote><strong>What You’ll Learn</strong></blockquote><p>In this blog, we will cover:</p><ul><li>Authenticate with Salesforce using OAuth 2.0</li><li>Generate an access token programmatically</li><li>Execute SOQL queries using Rest Assured in Java</li><li>Validate API responses using TestNG</li></ul><p>This guide is ideal for QA engineers and developers working on Salesforce integration.</p><blockquote><strong>Step 1: Create a Connected App in Salesforce</strong></blockquote><p>To enable OAuth authentication, we first need to create a Connected App inside Salesforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jENS-a-vXF-ZBCsSG_gZYQ.png" /></figure><ol><li>Navigate to <strong>Setup → App Manager</strong></li><li>Click <strong>New Connected App</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ak_NFme7fVDINOM5clBDMQ.png" /></figure><p>3. Enable <strong>OAuth Settings</strong></p><p>4. Add the required OAuth scopes (such as Full access or Access and manage your data)</p><p>5. Save the app</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*sVFw5XHOgFQGQzaUCGozzw.png" /></figure><p>Once saved, Salesforce generates:</p><ul><li><strong>Client ID (Consumer Key)</strong></li><li><strong>Client Secret (Consumer Secret)</strong></li></ul><p>We will use these credentials to generate an OAuth access token in the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0z1fqA7uuS8tPjamWb-JfA.png" /></figure><blockquote><strong>Step 2: Create a Maven Project</strong></blockquote><p>Create a Maven project in Eclipse or IntelliJ and add the following dependencies in your pom.xml:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*AwjFXVT-95cikRpbdiOAgA.png" /></figure><p>&lt;dependency&gt;<br> &lt;groupId&gt;io.rest-assured&lt;/groupId&gt;<br> &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;<br> &lt;version&gt;5.4.0&lt;/version&gt;<br>&lt;/dependency&gt;</p><p>&lt;dependency&gt;<br> &lt;groupId&gt;org.testng&lt;/groupId&gt;<br> &lt;artifactId&gt;testng&lt;/artifactId&gt;<br> &lt;version&gt;7.8.0&lt;/version&gt;<br> &lt;scope&gt;test&lt;/scope&gt;<br>&lt;/dependency&gt;</p><blockquote><strong>Step 3: Generate OAuth 2.0 Access Token</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*rJCZderDfs2BytvxEkXt1Q.png" /></figure><p>public class SalesforceAPI {</p><p>public String establishConnection() {</p><p>String response = RestAssured.given().log().all()<br> .urlEncodingEnabled(true)<br> .header(“Accept”, “application/json”)<br> .header(“Content-Type”, “application/x-www-form-urlencoded”)</p><p>.formParam(“grant_type”, “password”)<br> .formParam(“client_id”, “Your_ClientId”)<br> .formParam(“client_secret”, “Your_ClientSecret”)<br> .formParam(“username”, “username”)<br> .formParam(“password”, “passwordSecurityToken”)</p><p>.when()<br> .post(“<a href="https://test.salesforce.com/services/oauth2/token">https://test.salesforce.com/services/oauth2/token</a>&quot;)<br> .then()<br> .assertThat().statusCode(200)<br> .extract().response().asString();</p><p>JsonPath js = new JsonPath(response);<br> String accessToken = js.getString(“access_token”);</p><p>System.out.println(“Access Token received:\n” + accessToken);</p><p>return accessToken;<br> }<br>}</p><p>If authentication is successful, Salesforce returns an access_token.</p><blockquote><strong>Step 4: Execute SOQL Query via REST API</strong></blockquote><p>Once we have the access token, we can execute SOQL queries.</p><p>public class ExecuteSOQLquery {</p><p><a href="http://twitter.com/Test">@Test</a><br>public String executeQuery(String soql) {</p><p>SalesforceAPI sa = new SalesforceAPI();<br> String token = sa.establishConnection();</p><p>RestAssured.baseURI = “<a href="https://yourinstance.salesforce.com/">https://yourInstance.salesforce.com</a>&quot;;</p><p>String response = RestAssured.given().log().all()<br> .basePath(“/services/data/v64.0/query”)<br> .header(“Authorization”, “Bearer “ + token)<br> .header(“Content-Type”, “application/json”)<br> .queryParam(“q”, soql)</p><p>.when()<br> .get()<br> .then()<br> .log().all()<br> .extract().asString();</p><p>return response;<br> }<br>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*HniRnEV1T6eqPxPe-0hZ4A.png" /></figure><blockquote><strong>Step 5: Create Your Test Class</strong></blockquote><p>Now call the above method with your SOQL query.</p><p>ExecuteSOQLquery esq = new ExecuteSOQLquery();<br>String soqlQuery = “SELECT Id, Name FROM Account LIMIT 1”;<br>String response = esq.executeQuery(soqlQuery);<br>System.out.println(response);</p><blockquote><strong>Step 6: Add Assertions Using TestNG</strong></blockquote><p>Now validate the response.</p><p>JsonPath js = new JsonPath(response);<br>int totalRecords = js.getInt(“totalSize”);<br>Assert.assertTrue(totalRecords &gt; 0, “No records found!”);</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*TLJ7eF1Sk0ETyywA1zg_ew.png" /></figure><blockquote><strong>What We Achieved</strong></blockquote><p>✔ Programmatic OAuth authentication<br> ✔ SOQL execution via REST API<br> ✔ Automated response validation<br> ✔ Framework ready for CI/CD integration</p><blockquote><strong>Final Thoughts</strong></blockquote><p><strong>Apex test classes </strong>validate internal business logic.</p><p>But when your Salesforce org integrates with external systems, automated API testing using Java + Rest Assured ensures <strong>integration-level stability.</strong></p><p><strong>Postman helps you test.<br>Automation helps you scale.</strong></p><p><strong>About Thinkvibes :</strong></p><p>At <strong>Thinkvibes Software</strong>, we enjoy solving the technology challenges that keep modern digital ecosystems running smoothly. Our work spans across <strong>Salesforce, AI, data engineering, integrations, and web technologies</strong>, helping businesses build connected, scalable, and intelligent solutions in the cloud.</p><p>Our architects and developers have worked hands-on across Salesforce’s evolution — from Connected Apps and External Client Apps to <strong>Agentforce</strong>, Salesforce’s AI-powered conversational platform. Alongside this, we design API-led integrations, modern data architectures, and cloud-native web applications that enable organizations to innovate with confidence.</p><p>This journey gives us the perspective to bridge emerging technologies with stable, production-ready systems.</p><p>The approach shared in this article reflects how we think: practical, curious, and future-ready.<br> We believe innovation doesn’t always mean replacing what exists — sometimes it’s about finding the smarter path forward.</p><p>If you’re exploring ways to strengthen your Salesforce ecosystem, integrate systems seamlessly, leverage AI, or modernize your cloud architecture — we’d love to connect.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cca800d7854c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating MuleSoft with Salesforce Agentforce]]></title>
            <link>https://thinkvibes.medium.com/integrating-mulesoft-with-salesforce-agentforce-a881fa79fa4d?source=rss-6e61f6c60fa0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a881fa79fa4d</guid>
            <dc:creator><![CDATA[Thinkvibes Software]]></dc:creator>
            <pubDate>Tue, 16 Dec 2025 09:00:30 GMT</pubDate>
            <atom:updated>2025-12-16T09:00:30.093Z</atom:updated>
            <content:encoded><![CDATA[<h4>Unlocking Secure Connected App Communication</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdZIiYJXq51vpaoFlNl7aw.png" /><figcaption><strong>MuleSoft ↔ Salesforce ↔ Agentforce</strong></figcaption></figure><p>In the evolving Salesforce ecosystem, new standards often arrive before old systems fade out.</p><p>When <strong>External Client Apps</strong> were introduced as the future of third-party integrations, many teams assumed <strong>Connected Apps</strong> would soon be obsolete.</p><p>But in real-world projects, transitions rarely happen overnight.</p><p>At <strong>Thinkvibes</strong>, we faced this exact challenge — and discovered that sometimes, the <em>“deprecated”</em> path is still the bridge that gets you there.</p><p>As we began integrating MuleSoft with Agentforce, one question surfaced — how do you enable secure authentication when Salesforce is evolving its entire app framework?</p><h3>🔍 <strong>The Challenge</strong></h3><p>Every integration story starts with a simple goal — build a <strong>secure, reliable connection</strong>. Ours was between <strong>MuleSoft and Agentforce</strong>.</p><p><strong>What is Agentforce </strong>❓<br><strong> </strong>Agentforce is Salesforce’s AI-powered customer engagement platform, built on the Einstein 1 ecosystem. It helps businesses design and deploy conversational agents — intelligent assistants that can answer questions, fetch data, perform actions, or guide customers — all powered by Salesforce’s AI layer.</p><p><strong>Why connect Agentforce with MuleSoft </strong>❓<br>Like any AI system, Agentforce is only as smart as the data it can access — and most of that data lives outside Salesforce in systems like SAP, ServiceNow, or custom APIs. Connecting <strong>Agentforce</strong> with <strong>MuleSoft</strong> allows it to pull real-time data securely, respond intelligently, and deliver true conversational automation without breaking security boundaries.</p><p>In short, MuleSoft acts as the <strong>data bridge</strong> that makes Agentforce truly powerful.</p><p>We needed to establish a <strong>secure, end-to-end connection</strong> between MuleSoft and Agentforce — one that would allow real-time data exchange and authenticated communication.</p><p>Simple enough, right?<br>Except Salesforce had recently disabled the <strong>New Connected App</strong> option in the UI.</p><p>Why? Because of the ongoing migration toward <strong>External Client Apps</strong> — the next-gen authentication framework meant to replace Connected Apps in the long run.</p><p>But here’s the catch 👇</p><ul><li>Agentforce still <strong>requires Connected Apps</strong> for certain authentication flows.</li><li>MuleSoft needs the <strong>Client ID and Client Secret</strong> generated from that Connected App.</li><li>And Salesforce, by default, no longer lets you create one from Setup.</li></ul><p>It was like having all the integration pieces in place — except the key that starts the engine.</p><h3>💡 <strong>The Solution</strong></h3><p>When the system says <em>“you can’t,”</em> the first step is to ask <em>“why not?”</em></p><p>Salesforce hadn’t really removed Connected Apps — it had only hidden their creation behind the newer <strong>External Client Apps</strong> framework.</p><p>Once we understood that, the path to unlock it became surprisingly simple.</p><p><strong>Integration flow overview:<br></strong>👉 1️⃣ Enable Connected App Creation → 2️⃣ Create Connected App → 3️⃣ Assign to Agent → 4️⃣ Configure MuleSoft → 5️⃣ Secure Integration Achieved</p><h4>⚙️Step 1 : Enable Connected App Creation</h4><p>The first fix was to <strong>re-enable the option</strong> to create Connected Apps from the UI.</p><p>1️. Go to <strong>Setup → External Client Apps → Settings</strong><br>2️. Toggle on <strong>Allow creation of connected apps</strong></p><p>And just like that, the <strong>“New Connected App”</strong> button re-appears in App Manager. A small switch, but the key to everything that followed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*bLNKiOBvj4cPhwWLuVY7Vw.png" /></figure><h4>⚙️Step 2 : Create the Connected App</h4><p>With the option restored, we created a new Connected App that would act as the secure handshake between systems.</p><ol><li>Navigate to <strong>App Manager → New Connected App</strong></li><li>Add basic details (<em>Name, API Name, Email</em>)</li><li>Under <strong>API (Enable OAuth Settings)</strong> configure:<br> * <strong>Callback URL<br> * Selected OAuth Scopes</strong> (<em>Full Access, Manage User Data, Perform Requests, etc.</em>)</li></ol><p>4. Click <strong>Save</strong> — Salesforce instantly generates the <strong>Client ID</strong> and <strong>Client Secret</strong>.</p><p>These two values became the credentials MuleSoft needed to authenticate every interaction with Agentforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*uc1EWf7Zc0XQgOSoDrzKUw.png" /></figure><h4>⚙️Step 3 : Assign the Connected App to the Agent</h4><p>Next, it was time to bridge the app to <strong>Agentforce</strong>:</p><p>1️. Open <strong>Agent → Connections</strong><br>2️. Click <strong>New API Connection</strong><br>3️. Choose the Connected App you just created<br>4️. Save</p><p>Now, MuleSoft could securely communicate with Agentforce using Salesforce’s verified OAuth flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*VjNsfK9wcYQcwRxvkR9fdw.png" /></figure><h4>⚙️Step 4 : Configure MuleSoft</h4><p>Inside <strong>Anypoint Studio</strong>, we configured the <strong>Salesforce Agentforce Connector</strong>:</p><ol><li>Add the connector from <strong>Mule Palette → Add Module → Agentforce Connector</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUoXh8dNTAqpDsZHF7nN9Q.png" /></figure><p>2. In <strong>Global Elements</strong>, create a new <strong>Salesforce Config<br>3. </strong>Enter the <strong>Consumer Key</strong> and <strong>Consumer Secret</strong> from the Connected App<br>4. Choose the authentication method — <em>Username-Password</em> or <em>JWT Bearer</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*OB5iQu_XUZ-JwtfVx-bN8w.png" /></figure><p>Implement operations such as:</p><ul><li><strong>Start Agent Conversation</strong> (initiates a new session)</li><li><strong>Continue Conversation</strong> (passes prompts using the session ID)</li><li><strong>End Conversation</strong> (closes the session safely)</li></ul><p>Finally, we orchestrated the flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*m64N9ETyCbOAVfx3P2QsKw.png" /></figure><h4>⚙️Step 5 : Outcome: Secure Integration Achieved</h4><p>With these steps in place, we re-established:<br> ✅ Secure end-to-end communication between MuleSoft &amp; Agentforce<br> ✅ Real-time session tracking and controlled authentication<br> ✅ A setup that works today and adapts to Salesforce’s External Client App future</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aFcEe04ishpExUmbGtQ3xw.png" /></figure><p>This approach not only restored a secure integration path but also ensured our architecture remains compatible with Salesforce’s next-generation frameworks.</p><p>Sometimes, the solution isn’t about reinventing the flow — it’s about finding the switch that keeps the current one alive.</p><h3>Why It Matters ❓</h3><p>Even as Salesforce transitions to <strong>External Client Apps</strong>, many real-world use cases — including <strong>Agentforce–MuleSoft</strong> — still depend on <strong>Connected Apps</strong> for OAuth-based secure communication.</p><p>Re-enabling Connected App creation:</p><ul><li>Ensures <strong>compliance</strong> with Salesforce’s authentication model</li><li>Provides <strong>granular control</strong> over tokens and user scopes</li><li>Simplifies <strong>identity and access management</strong> for developers</li><li>Keeps integrations aligned with Salesforce’s <strong>security-first architecture</strong></li></ul><p>For clients, the impact goes beyond configuration. This integration enables:</p><ul><li><strong>Faster, smarter AI interactions</strong> powered by real-time data</li><li><strong>Reduced manual effort</strong> in support and operations</li><li><strong>Better decision-making</strong> through connected systems</li><li><strong>Future-ready architecture</strong> aligned with Salesforce’s modernization roadmap</li></ul><p>By unlocking Connected App creation, we helped teams continue to innovate <strong>without downtime, risk, or rework</strong>, even as Salesforce evolves.</p><blockquote><strong>What’s Next: The Shift Toward Data Cloud</strong></blockquote><p>While MuleSoft continues to power seamless integrations today, Salesforce’s future seems to be moving toward something even bigger — <strong>Data Cloud</strong>. The goal is no longer just connecting apps, but connecting data at scale, enabling a single, intelligent source of truth across systems.<br>Our upcoming post will unpack what this shift means — how Data Cloud works, and what it could mean for the future of integration and data strategy within the Salesforce ecosystem.</p><p><strong>About Thinkvibes :</strong></p><p>At <strong>Thinkvibes Software</strong>, we love solving the kinds of integration puzzles that keep digital ecosystems running smoothly. Our focus is on <strong>Salesforce and MuleSoft</strong>, helping businesses connect their systems, automate workflows, and scale confidently in the cloud.<br>Our team of architects and developers has worked hands-on across Salesforce’s evolution, from <strong>Connected Apps</strong> to <strong>External Client Apps</strong> and now <strong>Agentforce</strong>, Salesforce’s AI-powered conversational platform. That journey gives us the perspective to bridge what’s next with what already works.<br>The approach we shared in this article reflects how we think: <strong>practical, curious, and future-ready</strong>. We believe innovation doesn’t always mean replacing what exists, sometimes it’s about finding the smarter path forward.<br>If you’d like to explore how Thinkvibes can help you streamline your <strong>Salesforce–MuleSoft integration</strong> or modernize your <strong>cloud architecture</strong>, visit <strong><em>thinkvibes.com</em></strong> or drop us a note at <strong><em>info@thinkvibes.com</em>. <br></strong>We’d love to connect.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a881fa79fa4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>