{"id":2056,"date":"2021-01-27T08:53:32","date_gmt":"2021-01-27T08:53:32","guid":{"rendered":"https:\/\/loadfocus.com\/blog\/?p=2056"},"modified":"2023-09-03T14:09:50","modified_gmt":"2023-09-03T14:09:50","slug":"continuous-performance-testing-in-ci-cd-with-jenkins-plugin","status":"publish","type":"post","link":"https:\/\/loadfocus.com\/blog\/2021\/01\/continuous-performance-testing-in-ci-cd-with-jenkins-plugin","title":{"rendered":"Continuous Performance Testing in CI\/CD with Jenkins Plugin"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes read<\/span><\/span>\n<p class=\"lead\">We\u2019ve released a new version of our load testing plugin for Jenkins CI. <strong><a href=\"https:\/\/plugins.jenkins.io\/loadfocus-loadtest\/\">See here<\/a><\/strong> more details.<\/p>\n\n\n\n<p><a href=\"https:\/\/plugins.jenkins.io\/loadfocus-loadtest\/\">Load Testing CI\/CD Plugin<\/a> helps to run load tests automatically as a Post-build action and mark the build as <strong><span class=\"has-inline-color has-vivid-green-cyan-color\">PASSED<\/span><\/strong>, <strong><span class=\"has-inline-color has-luminous-vivid-amber-color\">UNSTABLE<\/span><\/strong> or <strong><span class=\"has-inline-color has-vivid-red-color\">FAILED<\/span><\/strong> based on errors received during the test run and the average response time.<\/p>\n\n\n\n<p>Use the Post build actions and define your load test limits in order to mark the build <strong><span class=\"has-inline-color has-luminous-vivid-amber-color\">UNSTABLE<\/span><\/strong> or <strong><span class=\"has-inline-color has-vivid-red-color\">FAILED<\/span><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Jenkins Plugin Installation Steps:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Create your load testing account on <a href=\"https:\/\/loadfocus.com\">LoadFocus<\/a><\/li><li>Copy your LoadFocus.com API key from https:\/\/loadfocus.com\/account<\/li><li>Go to Jenkins Dashboard and click go to <strong>Manage Jenkins &gt; Manage Plugins &gt; Available<\/strong><\/li><li>Locate and install <a href=\"https:\/\/plugins.jenkins.io\/loadfocus-loadtest\/\">LoadFocus Load Test plugin<\/a><\/li><li>Go to <strong>Manage Jenkins &gt; Manage Credentials<\/strong> and add your <strong>LoadFocus.com API key<\/strong> to the stored credentials<\/li><\/ol>\n\n\n\n<p>Schedule your tests inside Jenkins to monitor failures and application bottlenecks. Choose the load test, and enter both the Error % and Response Time thresholds. Then click Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-1024x512.jpeg\" alt=\"Load testing Jenkins CI\/CD plugin\" class=\"wp-image-2062\" srcset=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-1024x512.jpeg 1024w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-600x300.jpeg 600w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-400x200.jpeg 400w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-768x384.jpeg 768w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus-1536x768.jpeg 1536w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-configuration-loadfocus.jpeg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Load testing Jenkins CI\/CD plugin<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Run Load Test with Jenkins CI\/CD Plugin<\/h3>\n\n\n\n<p>Schedule or Run the Jenkins job and your load test will get triggered automatically.<\/p>\n\n\n\n<p>This will provide insights about your application on every Jenkins job run.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-1024x499.jpeg\" alt=\"load test console log\" class=\"wp-image-2063\" srcset=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-1024x499.jpeg 1024w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-600x292.jpeg 600w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-400x195.jpeg 400w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-768x374.jpeg 768w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus-1536x748.jpeg 1536w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/load-testing-ci-cd-plugin-console-log-success-loadfocus.jpeg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Load Test Console Log in Jenkins<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Jenkins Job Results and Reports<\/h3>\n\n\n\n<p>Finally, you can click the results link and load the charts and all details of your load test run, print the PDF report and make use of the white-label reports provided.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-1024x591.jpeg\" alt=\"Performance Testing White-label Reports\" class=\"wp-image-2064\" srcset=\"https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-1024x591.jpeg 1024w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-600x347.jpeg 600w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-400x231.jpeg 400w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-768x444.jpeg 768w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus-1536x887.jpeg 1536w, https:\/\/loadfocus.com\/blog\/wp-content\/uploads\/whitelabel-reports-test-presets-loadfocus.jpeg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Performance Testing White-label Reports<\/figcaption><\/figure>\n\n\n\n<p>Get started with the <a href=\"https:\/\/plugins.jenkins.io\/loadfocus-loadtest\/\">Continuous Performance Testing Jenkins CI\/CD plugin<\/a> from <a href=\"https:\/\/loadfocus.com\/\">LoadFocus<\/a>.<\/p>\n\n\n\n<p><em>Written by&nbsp;Bogdan&nbsp;Vazzolla.<\/em><\/p>\n\n\n\n<p><em><a href=\"https:\/\/loadfocus.com\/\">LoadFocus<\/a>&nbsp;is a cloud testing platform, the&nbsp;<a href=\"https:\/\/loadfocus.com\/load-testing\" target=\"_blank\" rel=\"noreferrer noopener\">load and stress testing tool<\/a> provides the infrastructure to run tests with thousands of concurrent users, from&nbsp;<a href=\"https:\/\/loadfocus.com\/locations\">multiple cloud locations<\/a>, in less than a few minutes, keep history of the results, compare different runs to inspect performance improvements or performance degradation.<\/em>&nbsp;<em>It also supports running&nbsp;<a href=\"https:\/\/loadfocus.com\/jmeter-load-testing\" target=\"_blank\" rel=\"noreferrer noopener\">JMeter load tests from the cloud<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes read<\/span><\/span>We\u2019ve released a new version of our load testing plugin for Jenkins CI. See here more details. Load Testing CI\/CD Plugin helps to run load tests automatically as a Post-build action and mark the build as PASSED, UNSTABLE or FAILED based on errors received during the test run and the average response time. Use the&#8230;  <a href=\"https:\/\/loadfocus.com\/blog\/2021\/01\/continuous-performance-testing-in-ci-cd-with-jenkins-plugin\" class=\"more-link\" title=\"Read Continuous Performance Testing in CI\/CD with Jenkins Plugin\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2106,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,103,9,48],"tags":[332,102],"class_list":["post-2056","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-services","category-integrations","category-load-testing","category-test-automation","tag-jenkins-ci-cd-plugin","tag-load-testing-jenkins-plugin"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/comments?post=2056"}],"version-history":[{"count":1,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2056\/revisions"}],"predecessor-version":[{"id":2771,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/posts\/2056\/revisions\/2771"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media\/2106"}],"wp:attachment":[{"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/media?parent=2056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/categories?post=2056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loadfocus.com\/blog\/wp-json\/wp\/v2\/tags?post=2056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}