{"id":5512,"date":"2018-12-10T14:59:57","date_gmt":"2018-12-10T19:59:57","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=5512"},"modified":"2018-12-10T14:59:57","modified_gmt":"2018-12-10T19:59:57","slug":"api-retrieves-live-load-test-metrics","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/","title":{"rendered":"API Retrieves Live Load Test Metrics While a Load Test is Running"},"content":{"rendered":"<p>You can already see real-time metrics of your tests. An API retrieves Live Load Test Metrics? Why would you want an API that does that while a load test is running? A RedLine13 customer asked for it and it became clear what the benefits would be.<\/p>\n<p>This means that while a load test is running, you can be monitoring the test with an API and initiating actions as soon as some event occurs. Which means you don&#8217;t have to spend your time watching a load test run.<\/p>\n<p>You could do this by calling the API from a Continuing Integration \/ Continuing Development (CI\/CD) tool like <a href=\"https:\/\/www.redline13.com\/blog\/2018\/11\/load-test-your-project-continuously-with-jenkins\/\">Jenkins<\/a> or <a href=\"https:\/\/www.redline13.com\/blog\/2018\/02\/codeship-pro-integration\/\">Codeship<\/a>. Or you call the API from your code with your own logic.<\/p>\n<p>Here is the <a href=\"https:\/\/www.redline13.com\/ApiDoc\/Metrics\/Get\">Metrics API<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can already see real-time metrics of your tests. An API retrieves Live Load Test Metrics? Why would you want an API that does that while a load test is running? A RedLine13 customer asked for it and it became clear what the benefits would be. This means that while a load test is running, you can be monitoring the test with an API and initiating actions as soon as some event occurs. Which means you<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,2],"tags":[132,141,281,318],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-5512","6":"format-standard","7":"category-api","8":"category-blog","9":"post_tag-codeship","10":"post_tag-continuous-integration","11":"post_tag-jenkins","12":"post_tag-load-testing"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API Retrieves Live Load Test Metrics while your load test runs - RedLine13<\/title>\n<meta name=\"description\" content=\"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.\" \/>\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\/2018\/12\/api-retrieves-live-load-test-metrics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API Retrieves Live Load Test Metrics while your load test runs - RedLine13\" \/>\n<meta property=\"og:description\" content=\"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-10T19:59:57+00:00\" \/>\n<meta name=\"author\" content=\"RedLine13\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"RedLine13\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"API Retrieves Live Load Test Metrics While a Load Test is Running\",\"datePublished\":\"2018-12-10T19:59:57+00:00\",\"dateModified\":\"2018-12-10T19:59:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\"},\"wordCount\":138,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"codeship\",\"continuous integration\",\"Jenkins\",\"Load Testing\"],\"articleSection\":[\"API &amp; Integrations\",\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\",\"name\":\"API Retrieves Live Load Test Metrics while your load test runs - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2018-12-10T19:59:57+00:00\",\"dateModified\":\"2018-12-10T19:59:57+00:00\",\"description\":\"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Retrieves Live Load Test Metrics While a Load Test is Running\"}]},{\"@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\/4acbcdcb8a9c72ec5a274e69c0ebea28\",\"name\":\"RedLine13\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"caption\":\"RedLine13\"},\"sameAs\":[\"http:\/\/127.0.0.1\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/user\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API Retrieves Live Load Test Metrics while your load test runs - RedLine13","description":"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.","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\/2018\/12\/api-retrieves-live-load-test-metrics\/","og_locale":"en_US","og_type":"article","og_title":"API Retrieves Live Load Test Metrics while your load test runs - RedLine13","og_description":"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.","og_url":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/","og_site_name":"RedLine13","article_published_time":"2018-12-10T19:59:57+00:00","author":"RedLine13","twitter_card":"summary_large_image","twitter_misc":{"Written by":"RedLine13","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"API Retrieves Live Load Test Metrics While a Load Test is Running","datePublished":"2018-12-10T19:59:57+00:00","dateModified":"2018-12-10T19:59:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/"},"wordCount":138,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["codeship","continuous integration","Jenkins","Load Testing"],"articleSection":["API &amp; Integrations","Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/","url":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/","name":"API Retrieves Live Load Test Metrics while your load test runs - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2018-12-10T19:59:57+00:00","dateModified":"2018-12-10T19:59:57+00:00","description":"API retrieves live load test metrics while your load test runs. Monitor via API and initiate actions when an event occurs. Use a CI\/CD tool or your own app.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2018\/12\/api-retrieves-live-load-test-metrics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"API Retrieves Live Load Test Metrics While a Load Test is Running"}]},{"@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\/4acbcdcb8a9c72ec5a274e69c0ebea28","name":"RedLine13","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","caption":"RedLine13"},"sameAs":["http:\/\/127.0.0.1"],"url":"https:\/\/www.redline13.com\/blog\/author\/user\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/5512","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=5512"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/5512\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=5512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=5512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=5512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}