{"id":10973,"date":"2023-12-13T16:42:38","date_gmt":"2023-12-13T21:42:38","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=10973"},"modified":"2023-12-13T16:42:39","modified_gmt":"2023-12-13T21:42:39","slug":"getting-started-with-k6-load-tests-on-redline13","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/","title":{"rendered":"Getting Started with k6 Load Tests on RedLine13"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10974\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-1.png\" alt=\"Getting Started with k6 Load Tests on RedLine13\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-1.png 400w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-1-300x225.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>As one of the five major test types supported on our platform, RedLine13 offers the ability to run your <a href=\"https:\/\/k6.io\/\">k6<\/a> load tests in the cloud. Tests are defined in k6 using the <a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript\">JavaScript<\/a> syntax, centered around simplicity and extensibility. It is a developer-centric performance testing tool that affords scalability to test designers for scripting, execution, and analysis of load tests. Since it was introduced, k6 has steadily risen in popularity to become one of the <em>de facto<\/em> standards in performance testing alongside <a href=\"https:\/\/jmeter.apache.org\/usermanual\/index.html\">JMeter<\/a>. With RedLine13, you can run cost-effective k6 load tests that scale in the cloud.<\/p>\n<h3><a id=\"post-10973-_15klbjl2ww9p\"><\/a>Running a k6 Load Test on RedLine13<\/h3>\n<p>On the \u201cStart Test\u201d page, you will find a \u201ck6\u201d tab as one of the available test types:<\/p>\n<figure id=\"attachment_10975\" class=\"wp-caption aligncenter\" style=\"max-width: 465px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10975\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-2.png\" alt=\"Select k6 from the available test types\" width=\"465\" height=\"50\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-2.png 465w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-2-300x32.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-2-425x46.png 425w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><figcaption class=\"wp-caption-text\"><em>Select \u201ck6\u201d from the available test types.<\/em><\/figcaption><\/figure>\n<p>From there, you will need to have your <a href=\"https:\/\/k6.io\/docs\/examples\/\">k6 test plan<\/a>, which is typically a JavaScript file. In this article, we will show some examples of k6 plans and how to create your own. Once you have prepared your test plan file, you can then configure your test on RedLine13:<\/p>\n<figure id=\"attachment_10976\" class=\"wp-caption aligncenter\" style=\"max-width: 774px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10976\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-3.png\" alt=\"Basic options when uploading your k6 test plan\" width=\"774\" height=\"130\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-3.png 987w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-3-300x50.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-3-768x129.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-3-425x71.png 425w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><figcaption class=\"wp-caption-text\"><em>Basic options when uploading your k6 test plan.<\/em><\/figcaption><\/figure>\n<p>You can find the complete details about creating a k6 test plan (including all available options) in the <a href=\"https:\/\/www.redline13.com\/blog\/docs\/k6-tests\/\">RedLine13 Owner\u2019s Manual<\/a>.<\/p>\n<h3><a id=\"post-10973-_7d3fk4fxqz26\"><\/a>How to Create a k6 Test Plan<\/h3>\n<p>You can find many examples of k6 tests within the <a href=\"https:\/\/k6.io\/docs\/\">official k6 documentation<\/a>. This is a good starting point if you are new to k6. Here is one example from that illustrates making a basic web request from k6:<\/p>\n<p><strong>import http from &#8220;k6\/http&#8221;;<br \/>\n<\/strong><strong><br \/>\nexport const options = {<br \/>\n<\/strong><strong>&nbsp; &nbsp; iterations: 1,<br \/>\n<\/strong><strong>};<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><strong><\/strong><strong>export default function () {<br \/>\n<\/strong><strong>&nbsp; &nbsp; const response = http.get(&#8220;https:\/\/test-api.k6.io\/public\/crocodiles\/&#8221;);<br \/>\n<\/strong><strong>}<\/strong><\/p>\n<p>This example makes a single HTTP request to the specified endpoint using the <code>http.get()<\/code> method. Comparing this with <a href=\"https:\/\/www.redline13.com\/blog\/docs\/jmeter-tests\/\">JMeter<\/a>, this is equivalent to a single <em>HTTP Request<\/em> sampler inside a basic thread group running one iteration. While JMeter uses a GUI to create test plans, k6 uses a code-based approach. Though code-based scripts are preferred, there is a graphical <a href=\"https:\/\/k6.io\/docs\/test-authoring\/test-builder\/\">Test Builder<\/a> tool available which can assist with test plan creation.<\/p>\n<p>Once your test plan is created, it should be saved as a JavaScript file (<code>*.js<\/code>). From there, it can be uploaded to RedLine13 using the steps outlined above.<\/p>\n<h3><a id=\"post-10973-_480x4xofngsj\"><\/a>Accelerate Prototyping your k6 Tests<\/h3>\n<p>As mentioned above, the <a href=\"https:\/\/k6.io\/docs\/\">k6 documentation pages<\/a> have many examples of both basic tests, and common real-world test scenarios. If your test needs to incorporate any of these common tasks, you can use these templates as building blocks to accelerate the creation of your own tests. Here are some examples of common test cases that can you can utilize:<\/p>\n<ul>\n<li><a href=\"https:\/\/k6.io\/docs\/using-k6\/http-requests\/\"><strong>Common HTTP methods such as GET and POST<\/strong><\/a> &#8211; this covers use cases of the <a href=\"https:\/\/k6.io\/docs\/javascript-api\/k6-http\/\">http module<\/a>, a core functional feature of k6 tests<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/k6.io\/docs\/using-k6\/test-lifecycle\/\"><b>Code examples for test lifecycle<\/b><\/a><span style=\"font-weight: 400;\"> &#8211; you can find examples for common operations which control the flow of your k6 test<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/k6.io\/docs\/using-k6\/modules\/\"><b>Importing common modules<\/b><\/a><span style=\"font-weight: 400;\"> &#8211; one of the key features of k6 is extensibility, and the ability to import both <\/span><a href=\"https:\/\/k6.io\/docs\/using-k6\/modules\/#built-in-modules\"><span style=\"font-weight: 400;\">built-in modules<\/span><\/a><span style=\"font-weight: 400;\"> and user-defined modules<\/span><\/li>\n<li><a href=\"https:\/\/k6.io\/docs\/using-k6\/checks\/\"><b>Validation checks<\/b><\/a><span style=\"font-weight: 400;\"> &#8211; k6 supports boolean validation checks to control flow within your load test<\/span><\/li>\n<li><a href=\"https:\/\/k6.io\/docs\/using-k6\/k6-options\/how-to\/\"><strong>Specifying k6 test options<\/strong><\/a> &#8211; highlights essential <a href=\"https:\/\/k6.io\/docs\/using-k6\/k6-options\/reference\/\">options<\/a> for most k6 tests, with reference to all available options<\/li>\n<\/ul>\n<p>In addition to these reference examples provided, another useful tool for rapid prototyping of your k6 tests is with a generative AI tool such as <a href=\"https:\/\/chat.openai.com\/\">ChatGPT<\/a>. In a <a href=\"https:\/\/www.redline13.com\/blog\/2023\/08\/chatgpt-assisted-jmeter-load-testing\/\">previous post<\/a>, we covered how to use ChatGPT to assist in the creation of JMeter tests. The same principles can be applied to creating either the basic structure or component parts of your k6 tests. Here is an example prompt we can provide to ChatGPT to assist with k6 script creation:<\/p>\n<figure id=\"attachment_10977\" class=\"wp-caption aligncenter\" style=\"max-width: 664px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10977\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-4.png\" alt=\"ChatGPT prompt for generating a k6 test script\" width=\"664\" height=\"81\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-4.png 664w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-4-300x37.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-4-425x52.png 425w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><figcaption class=\"wp-caption-text\"><em>ChatGPT prompt for generating a k6 test script.<\/em><\/figcaption><\/figure>\n<p>In expected fashion, ChatGPT quickly and enthusiastically creates the basic structure for our k6 test, and provides instructions on which constants and variables to replace in order to adapt this example to our intended use case:<\/p>\n<figure id=\"attachment_10978\" class=\"wp-caption aligncenter\" style=\"max-width: 682px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10978\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-5.png\" alt=\"Response from ChatGPT containing generated k6 test script\" width=\"682\" height=\"376\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-5.png 682w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-5-300x165.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-5-425x234.png 425w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><figcaption class=\"wp-caption-text\"><em>Response from ChatGPT containing generated k6 test script.<\/em><\/figcaption><\/figure>\n<p>The full script that ChatGPT has generated is as follows:<\/p>\n<p><strong>import http from &#8216;k6\/http&#8217;;<br \/>\n<\/strong><strong>import { check, sleep } from &#8216;k6&#8217;;<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><strong><\/strong><strong>export let options = {<br \/>\n<\/strong><strong>&nbsp; &nbsp; vus: 10, \/\/ Number of virtual users<br \/>\n<\/strong><strong>&nbsp; &nbsp; duration: &#8217;10s&#8217;, \/\/ Duration of the test<br \/>\n<\/strong><strong>};<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><strong><\/strong><strong>export default function () {<br \/>\n<\/strong><strong>&nbsp; &nbsp; \/\/ Define the payload (username and password)<br \/>\n<\/strong><strong>&nbsp; &nbsp; let payload = {<br \/>\n<\/strong><strong>&nbsp; &nbsp; &nbsp; &nbsp; username: &#8216;testuser&#8217;,<br \/>\n<\/strong><strong>&nbsp; &nbsp; &nbsp; &nbsp; password: &#8216;testpassword&#8217;,<br \/>\n<\/strong><strong>&nbsp; &nbsp; };<br \/>\n<\/strong><strong>&nbsp; &nbsp; \/\/ Make a POST request to the form endpoint with the payload<br \/>\n<\/strong><strong>&nbsp; &nbsp; let response = http.post(&#8216;https:\/\/your-app-url.com\/login&#8217;, payload);<br \/>\n<\/strong><strong>&nbsp; &nbsp; \/\/ Check if the response status is 200 (OK)<br \/>\n<\/strong><strong>&nbsp; &nbsp; check(response, {<br \/>\n<\/strong><strong>&nbsp; &nbsp; &nbsp; &nbsp; &#8216;Status is 200&#8217;: (r) =&gt; r.status === 200,<br \/>\n<\/strong><strong>&nbsp; &nbsp; });<br \/>\n<\/strong><strong>&nbsp; &nbsp; \/\/ Add a sleep to simulate user think time<br \/>\n<\/strong><strong>&nbsp; &nbsp; sleep(1);<br \/>\n<\/strong><strong>}<\/strong><\/p>\n<p>Using the \u201c<em>Copy code<\/em>\u201d option, the generated response from ChatGPT can be saved to a local file, which can be uploaded and run in the cloud using RedLine13.<\/p>\n<hr>\n<p>Did you know that RedLine13 offers a full-featured time-limited free trial? <a href=\"https:\/\/www.redline13.com\/Service\">Sign up now<\/a>, and start testing with k6 in the cloud today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As one of the five major test types supported on our platform, RedLine13 offers the ability to run your k6 load tests in the cloud. Tests are defined in k6 using the JavaScript syntax, centered around simplicity and extensibility. It is a developer-centric performance testing tool that affords scalability to test designers for scripting, execution, and analysis of load tests. Since it was introduced, k6 has steadily risen in popularity to become one of the de<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":11,"featured_media":10974,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[128,283,596,670,671,318,424,669],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-dkoziel","4":"post-10973","6":"format-standard","7":"has-post-thumbnail","8":"category-blog","9":"category-uncategorized","10":"post_tag-cloud-load-testing","11":"post_tag-jmeter","12":"post_tag-k6","13":"post_tag-k6-and-chatgpt","14":"post_tag-k6-load-tests","15":"post_tag-load-testing","16":"post_tag-redline13","17":"post_tag-scripted-testing"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Getting Started with k6 Load Tests on RedLine13 - RedLine13<\/title>\n<meta name=\"description\" content=\"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with k6 Load Tests on RedLine13 - RedLine13\" \/>\n<meta property=\"og:description\" content=\"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-13T21:42:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-13T21:42:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Koziel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Koziel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\"},\"author\":{\"name\":\"David Koziel\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20\"},\"headline\":\"Getting Started with k6 Load Tests on RedLine13\",\"datePublished\":\"2023-12-13T21:42:38+00:00\",\"dateModified\":\"2023-12-13T21:42:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\"},\"wordCount\":893,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"Cloud Load Testing\",\"JMeter\",\"k6\",\"k6 and ChatGPT\",\"k6 load tests\",\"Load Testing\",\"RedLine13\",\"scripted testing\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\",\"name\":\"Getting Started with k6 Load Tests on RedLine13 - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2023-12-13T21:42:38+00:00\",\"dateModified\":\"2023-12-13T21:42:39+00:00\",\"description\":\"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with k6 Load Tests on RedLine13\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20\",\"name\":\"David Koziel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g\",\"caption\":\"David Koziel\"},\"url\":\"https:\/\/www.redline13.com\/blog\/author\/dkoziel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started with k6 Load Tests on RedLine13 - RedLine13","description":"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with k6 Load Tests on RedLine13 - RedLine13","og_description":"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.","og_url":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/","og_site_name":"RedLine13","article_published_time":"2023-12-13T21:42:38+00:00","article_modified_time":"2023-12-13T21:42:39+00:00","og_image":[{"width":400,"height":300,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2023\/12\/word-image-10973-1.png","type":"image\/png"}],"author":"David Koziel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Koziel","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/"},"author":{"name":"David Koziel","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20"},"headline":"Getting Started with k6 Load Tests on RedLine13","datePublished":"2023-12-13T21:42:38+00:00","dateModified":"2023-12-13T21:42:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/"},"wordCount":893,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["Cloud Load Testing","JMeter","k6","k6 and ChatGPT","k6 load tests","Load Testing","RedLine13","scripted testing"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/","url":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/","name":"Getting Started with k6 Load Tests on RedLine13 - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2023-12-13T21:42:38+00:00","dateModified":"2023-12-13T21:42:39+00:00","description":"In this brief post, we will describe with examples how to get started with k6 load testing on RedLine13.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2023\/12\/getting-started-with-k6-load-tests-on-redline13\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Getting Started with k6 Load Tests on RedLine13"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/51d282221e3230ab35f964f98ada9b20","name":"David Koziel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2babf644e0993fc86893c24d7525f1e3be114a8746c01249797f25587ae1697a?s=96&d=mm&r=g","caption":"David Koziel"},"url":"https:\/\/www.redline13.com\/blog\/author\/dkoziel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/10973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=10973"}],"version-history":[{"count":8,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/10973\/revisions"}],"predecessor-version":[{"id":10986,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/10973\/revisions\/10986"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/10974"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=10973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=10973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=10973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}