<?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 Kumsal Turgut on Medium]]></title>
        <description><![CDATA[Stories by Kumsal Turgut on Medium]]></description>
        <link>https://medium.com/@kumsalgunduz?source=rss-86cd68c85d2e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FTaJZOTXhB5g5VGid-x_0g.png</url>
            <title>Stories by Kumsal Turgut on Medium</title>
            <link>https://medium.com/@kumsalgunduz?source=rss-86cd68c85d2e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 12:42:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kumsalgunduz/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[How to Map Remote with Proxyman ?]]></title>
            <link>https://medium.com/@kumsalgunduz/how-to-map-remote-with-proxyman-d03e563ab5c8?source=rss-86cd68c85d2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d03e563ab5c8</guid>
            <category><![CDATA[proxyman]]></category>
            <dc:creator><![CDATA[Kumsal Turgut]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 10:42:39 GMT</pubDate>
            <atom:updated>2024-01-04T10:42:39.448Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Map Remote with Proxyman ?</h3><p>I mentioned Network condition in my previous Proxyman article. In this article, I will talk about how to perform Map remote operation.</p><p>I am adding my article here where I talk about Proxyman, its installation and what it is used for.</p><p><a href="https://medium.com/@kumsalgunduz/how-to-simulate-proxyman-network-conditions-37985da40598">How to Simulate Proxyman — Network Conditions?</a></p><h3><strong>What is Map Remote ?</strong></h3><p>Proxyman “Map Remote” feature allows you to route specific requests through a remote server.</p><p>For example, you might use this feature to test your application’s behavior with a staging server, a testing environment, or a server with specific conditions that you want to simulate. It helps in intercepting and modifying the traffic between your application and the remote server, providing a way to debug, analyze, or manipulate the communication.</p><h3>How to use Map Remote?</h3><p>In Proxyman, navigate to the “Tool” tab.</p><p>You’ll find the “Map Remote” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v1KuqgeZX61InOyIYo1pBQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Kcpma1hDST2QKguufzd1uA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*epKSN1tPbU9aW1fkulruBA.png" /></figure><ul><li>Map Remote also supports mapping from HTTP to HTTPS and vice-versa.</li></ul><h3>What are the Benefits?</h3><ol><li><strong>Testing Environments:</strong> It allows you to direct your application’s traffic through different servers, such as staging or testing environments. This helps in testing how your application behaves in different scenarios without affecting the production environment.</li><li><strong>Debugging:</strong> You can use this feature to intercept and inspect requests/responses between your application and a remote server. This is valuable for debugging and identifying issues in the communication process.</li><li><strong>Security Testing:</strong> By routing requests through a controlled remote server, you can simulate various network conditions or security scenarios to test how your application responds to different situations.</li><li><strong>Traffic Manipulation:</strong> It provides a way to modify requests or responses on-the-fly, allowing you to simulate specific conditions or responses from the server and observe how your application handles them.</li><li><strong>Isolation of Issues:</strong> If you suspect that a problem is related to the server, mapping requests to a remote server can help isolate whether the issue is on the client or server side.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d03e563ab5c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Simulate Proxyman — Network Conditions?]]></title>
            <link>https://medium.com/@kumsalgunduz/how-to-simulate-proxyman-network-conditions-37985da40598?source=rss-86cd68c85d2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/37985da40598</guid>
            <category><![CDATA[proxyman]]></category>
            <category><![CDATA[network-debugging]]></category>
            <dc:creator><![CDATA[Kumsal Turgut]]></dc:creator>
            <pubDate>Tue, 19 Dec 2023 20:04:05 GMT</pubDate>
            <atom:updated>2023-12-19T20:06:25.316Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Simulate Proxyman — Network Conditions?</h3><p>In this article, I will discuss the Proxyman application network condition.</p><p>Proxyman is a high-performance macOS app, which enables developers to view HTTP/HTTPS requests from apps and domains, including iOS devices, iOS Simulators, and Android devices.</p><h4>What is Proxyman?</h4><p>Proxyman is an HTTP debug proxy tool. This tool allows you to monitor, manipulate and analyze HTTP and HTTPS traffic. It helps developers in testing and debugging web applications. Proxyman also includes features such as managing SSL certificates, blocking, modifying or redirecting requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1GghHCtiG-tnYji82-UpEA.png" /></figure><h4>How to install Proxyman?</h4><p>Proxyman application is used only on MacOS operating system.</p><p>Visit the official Proxyman website at <a href="https://proxyman.io/">https://proxyman.io</a> and download the lastest version of the tool.</p><p>The download is done. Installations are completed.</p><p>Working can be done on the physical device or via the simulator / emulator on iOS / Android devices.</p><p>Installation is done by selecting the device on which the work will be done.</p><p>Certificate -&gt; Install Certificateon iOS / Android…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*MUhKlEWGJpqwzIcobOW2ig.png" /></figure><p>I continue on the simulator. It should be rebooted</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4N3QSXBJzDoL9rUsqXb0IQ.png" /></figure><h4>How to Simulate Network Conditions?</h4><p>In Proxyman, navigate to the “Tool” tab.</p><p>You’ll find the “Network Condition” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*a7qyh06ZD5ydOox-ZC3jwg.png" /></figure><p>Here, you can simulate various network conditions like 3G, 4G, Edge, or custom conditions like latency, bandwidth, etc</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0mGK-Aw5B99IBCGpWf5lHg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37985da40598" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are the differences between Kaspresso and Espresso?]]></title>
            <link>https://medium.com/@kumsalgunduz/what-are-the-differences-between-kaspresso-and-espresso-5ed426204a0b?source=rss-86cd68c85d2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ed426204a0b</guid>
            <category><![CDATA[kaspresso]]></category>
            <category><![CDATA[espresso]]></category>
            <dc:creator><![CDATA[Kumsal Turgut]]></dc:creator>
            <pubDate>Tue, 19 Dec 2023 12:38:31 GMT</pubDate>
            <atom:updated>2023-12-19T20:11:06.527Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I will talk about the main differences between espresso and espresso.</p><p><strong>Kaspresso</strong> is an open-source testing framework for Android applications, built on top of Espresso. It provides additional features and utilities to simplify and enhance the Android UI testing process. Some of the key tools and features Kaspresso offers include</p><p><strong>Espresso</strong> is a testing framework developed for user interface (UI) testing of Android applications. It is used for quality assurance (QA) purposes in the Android application development process. The main purpose of Espresso is to ensure that the application UI works correctly and reacts as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*F2-fF_QNL0RGvdAwLWHQJw.png" /></figure><p>Kaspresso and Espresso are two testing frameworks for Android applications. Kaspresso is built on top of Espresso, extending its capabilities. Here are some key distinctions:</p><h3>DSL (Domain Specific Language):</h3><p>Espresso primarily uses a Java-based DSL, while Kaspresso employs a Kotlin-based DSL that is more readable and extensible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*mpxkPNsszeTya-V0t7FSyg.png" /></figure><h3>Automatic Waiting:</h3><p>Kaspresso introduces an automatic waiting feature, reducing the need for manual waiting code compared to Espresso.</p><p>To manually wait in Espresso, you can use the `Thread.sleep()` method. However, this approach is generally discouraged as it introduces unnecessary delays and may result in less stable tests, as determining specific wait times can be challenging.</p><p>Here’s a simple example:</p><p>Espresso;</p><pre>// For instance, waiting for a button click<br>ViewInteraction button = onView(withId(R.id.my_button));<br>button.perform(click());<br>// Then, sleeping for 2 seconds<br>try {<br>    Thread.sleep(2000);<br>} catch (InterruptedException e) {<br>    e.printStackTrace();<br>}<br></pre><p>Kaspresso ;</p><pre>class SampleKaspressoTest : TestCase() {<br>    @Test<br>    fun clickButtonAndVerifyText() {<br>        // Belirli bir düğmeye tıkla<br>        onView(withId(R.id.my_button)).perform(click())<br>        // Otomatik olarak metni bekleyip doğrula<br>        onView(withText(R.string.displayed_text))<br>            .withTimeout(10000) // Maksimum 10 saniye bekleyecek<br>            .onRoot().perform(waitForIdle(10000)) // Ekranın hazır olduğundan emin olmak için bekleyebilirsiniz<br>            // Başarısızlık durumunda ekran görüntüsü alabilir ve raporlayabilirsiniz<br>            .withFailureHandler { error, _ -&gt;<br>                captureScreenshot(&quot;text_verification_failure&quot;)<br>                fail(error)<br>            }<br>            .check(matches(isDisplayed()))<br>    }<br>}</pre><h3>Handling Unexpected Situations:</h3><p>Kaspresso provides additional internal functionality to handle unexpected situations in tests, offering more robust error management.</p><h3>Screen Capture and Reporting:</h3><p>Kaspresso offers advanced screen capture and reporting capabilities, surpassing the basic features provided by Espresso.</p><p>Below is an example of capturing a screenshot and reporting in Kaspresso:</p><pre>class SampleKaspressoTest : TestCase() {<br>    @test<br>    fun captureScreenshotAndReport() {<br>        try {<br>            // Bir başarısızlığa neden olabilecek bir eylemi gerçekleştir<br>            onView(withId(R.id.my_button)).perform(click())<br><br>            // Bir koşulu kontrol et ve başarısız olursa bir ekran görüntüsü al<br>            onView(withText(R.string.expected_text))<br>                .withTimeout(5000) // Bekleme için bir zaman sınırı belirle<br>                .onRoot().perform(waitForIdle(5000)) // Ekranın hazır olduğundan emin olmak için bekleyebilirsiniz<br><br>                // Başarısızlık durumunda ekran görüntüsü alabilir ve raporlayabilirsiniz<br>                .withFailureHandler { error, viewInteraction -&gt;<br>                    // Ekran görüntüsü al<br>                    captureScreenshot(&quot;failure_screenshot&quot;)<br>                    // Başarısızlığı raporla<br>                    report(&quot;Test failed: $error&quot;)<br>                    // İsteğe bağlı olarak ek eylemler veya doğrulamalar yapabilirsiniz<br>                    fail(error)<br>                }<br>                .check(matches(isDisplayed()))<br>            // Testinizin geri kalanına devam edin<br>        } catch (e: Exception) {<br>            // Gerekirse istisnaları veya hataları ele alın<br>            fail(&quot;Beklenmeyen bir hata oluştu: ${e.message}&quot;)<br>        }<br>    }<br>}</pre><p>In this example, the captureScreenshot method captures a screenshot when a failure occurs. The withFailureHandler is used to customize the behavior when a failure happens, and you can report the failure using the report method. Adjust the actions and assertions according to your test scenario.</p><h3>Animation Control:</h3><p>Kaspresso supports more advanced features, such as controlling animations, beyond the basic animation control in Espresso.</p><h3>Community Support:</h3><p>Espresso has a well-established large community with extensive documentation, whereas Kaspresso, though newer, is rapidly growing in community support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*dpSm6heZ9w8ZyxX47POp5w.png" /><figcaption><strong>Difference scheme between Kaspresso and Espresso</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ed426204a0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>