OctoPerf Kraken 2.0 New Features
Tags: testing, gatling, kubernetes, aws
Published: 2020-02-13 17:11:44

<!-- wp:paragraph -->
<p>Few months ago I published an inception post about OctoPerf <a href="https://qainsights.com/octoperf-kraken-load-testing-ide-for-gatling/">Kraken</a> - a load testing IDE for Gatling tool. This blog post will feature about Kraken 2.0 new features and more. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>I have been following OctoPerf Kraken repository in GitHub. The team behind Kraken is pretty much active in developing. Recently 2.0.0 beta got released with three new features:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>HAR Import</li><li>Debug Simulation and Compare requests</li><li>Distributed load testing using Kubernetes</li></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>I have already published two YouTube tutorials about the above features and tweeted about the same. Let us dive in to peek about two features HAR Import and Debug Simulation and Compare request in this post.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":6442,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://qainsights.com/wp-content/uploads/2019/09/kraken-logo.png" alt="OctoPerf Kraken 2.0.0" class="wp-image-6442"/><figcaption>Octoperf Kraken 2.0 New Features</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:heading -->
<h2>OctoPerf Kraken 2.0 New Features</h2>
<!-- /wp:heading -->

<!-- wp:heading -->
<h2>HAR Import</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>HAR comes handy to create scripts quicker. Fire up dev tool in the browser , sniff the network packets, save the requests as HAR file aka HTTP Archives. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can use the HAR file to create scripts and enhance them for your load testing needs. Kraken 2.0.0 beta fulfills the need of creating Gatling scripts from the HAR file. You can watch below video about how to spin up Kraken locally.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<iframe title="OctoPerf Kraken - Load Testing IDE for Gatling" width="700" height="394" src="https://www.youtube.com/embed/Gcyvm47_bA8" allowfullscreen=""></iframe>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>In 2.0.0, you can upload the HAR file by right clicking on simulation tree and upload it. You need to provide the Simulation package, Simulation name, select the host and then click on Import.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can record HAR file in your favorite browser or Charles proxy. </p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Debug Scripts</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Debugging load test scripts helps you to fix the code. In LoadRunner, you can use Snapshot view by comparing recorded and replay snapshots, in JMeter you can use Debug Sampler. In Kraken 2.0.0, you can debug your simulation by running a debug simulation option. Debugging runs two docker containers, one is for simulation log file generation, and another one is for parsing the log file and creates debug entries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can also compare the debug results with your HAR file by Compare With menu item.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Check the below video which demonstrates above features.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<iframe title="Kraken 2.0 - What's new? HAR Import and Debug Simulation" width="700" height="394" src="https://www.youtube.com/embed/oM8zq8FBFHg" allowfullscreen=""></iframe>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>In next blog post, we will see how to spin up AWS EKS and run Kraken for the distributed load testing.</p>
<!-- /wp:paragraph -->

This post originally published at [QAInsights](https://qainsights.com/octoperf-kraken-2-0-new-features/).