{"id":307,"date":"2013-11-10T09:23:40","date_gmt":"2013-11-10T14:23:40","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=307"},"modified":"2022-01-03T20:00:18","modified_gmt":"2022-01-04T01:00:18","slug":"progress-bar-api","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/","title":{"rendered":"Progress Bar API"},"content":{"rendered":"<p>We have added an API for setting the Progress Bar. \u00a0You can use this in custom tests to set the progress bar on the dashboard. \u00a0You can see some examples below.<\/p>\n<p><code>recordProgress($testNum, $percent)<\/code>\u00a0\u2013 This records the progress (between 0 and 100) of a single test. This allows you to enable more accurate progress than the default, which is based only on the number completed vs. the test size.<\/p>\n<p><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-309 alignnone\" alt=\"Screen Shot 2013-11-10 at 9.19.46 AM\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM.png\" width=\"300\" height=\"15\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM.png 922w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM-300x16.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM-768x41.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.57-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-310 alignnone\" alt=\"Screen Shot 2013-11-10 at 9.19.57 AM\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.57-AM.png\" width=\"300\" height=\"12\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.57-AM.png 930w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.57-AM-300x12.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.57-AM-768x31.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have added an API for setting the Progress Bar. \u00a0You can use this in custom tests to set the progress bar on the dashboard. \u00a0You can see some examples below. recordProgress($testNum, $percent)\u00a0\u2013 This records the progress (between 0 and 100) of a single test. This allows you to enable more accurate progress than the default, which is based only on the number completed vs. the test size.<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,10],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-richardfriedman","4":"post-307","6":"format-standard","7":"category-blog","8":"category-php"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Progress Bar API - RedLine13<\/title>\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\/2013\/11\/progress-bar-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Progress Bar API - RedLine13\" \/>\n<meta property=\"og:description\" content=\"We have added an API for setting the Progress Bar. \u00a0You can use this in custom tests to set the progress bar on the dashboard. \u00a0You can see some examples below. recordProgress($testNum, $percent)\u00a0\u2013 This records the progress (between 0 and 100) of a single test. This allows you to enable more accurate progress than the default, which is based only on the number completed vs. the test size.Read More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-10T14:23:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-04T01:00:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM.png\" \/>\n<meta name=\"author\" content=\"Rich Friedman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rich Friedman\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\"},\"author\":{\"name\":\"Rich Friedman\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\"},\"headline\":\"Progress Bar API\",\"datePublished\":\"2013-11-10T14:23:40+00:00\",\"dateModified\":\"2022-01-04T01:00:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\"},\"wordCount\":67,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"articleSection\":[\"Blog\",\"Custom PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\",\"name\":\"Progress Bar API - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2013-11-10T14:23:40+00:00\",\"dateModified\":\"2022-01-04T01:00:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Progress Bar API\"}]},{\"@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\/0fadb7f3ef665407f3c93c8ec84e741a\",\"name\":\"Rich Friedman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"caption\":\"Rich Friedman\"},\"sameAs\":[\"http:\/\/richardfriedman@yahoo.com\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Progress Bar API - 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\/2013\/11\/progress-bar-api\/","og_locale":"en_US","og_type":"article","og_title":"Progress Bar API - RedLine13","og_description":"We have added an API for setting the Progress Bar. \u00a0You can use this in custom tests to set the progress bar on the dashboard. \u00a0You can see some examples below. recordProgress($testNum, $percent)\u00a0\u2013 This records the progress (between 0 and 100) of a single test. This allows you to enable more accurate progress than the default, which is based only on the number completed vs. the test size.Read More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/","og_site_name":"RedLine13","article_published_time":"2013-11-10T14:23:40+00:00","article_modified_time":"2022-01-04T01:00:18+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/11\/Screen-Shot-2013-11-10-at-9.19.46-AM.png"}],"author":"Rich Friedman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rich Friedman"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/"},"author":{"name":"Rich Friedman","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a"},"headline":"Progress Bar API","datePublished":"2013-11-10T14:23:40+00:00","dateModified":"2022-01-04T01:00:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/"},"wordCount":67,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"articleSection":["Blog","Custom PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/","url":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/","name":"Progress Bar API - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2013-11-10T14:23:40+00:00","dateModified":"2022-01-04T01:00:18+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2013\/11\/progress-bar-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Progress Bar API"}]},{"@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\/0fadb7f3ef665407f3c93c8ec84e741a","name":"Rich Friedman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","caption":"Rich Friedman"},"sameAs":["http:\/\/richardfriedman@yahoo.com"],"url":"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/307","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":1,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":8634,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions\/8634"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}