{"id":297,"date":"2013-10-07T07:05:06","date_gmt":"2013-10-07T11:05:06","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=297"},"modified":"2022-01-03T20:00:19","modified_gmt":"2022-01-04T01:00:19","slug":"setting-user-agent-string-for-test-clients","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/","title":{"rendered":"Setting User Agent String for Test Clients"},"content":{"rendered":"<p>Yes, Virginia, there is a way to test with custom set user agent strings. You can pass that in the $headers array of goToURL. Click here to go to our documentation (and feel free to see other cool things you can control):<\/p>\n<p><a href=\"https:\/\/www.redline13.com\/customTestDoc\/class-LoadTestingSession.html\">https:\/\/www.redline13.com\/customTestDoc\/class-LoadTestingSession.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, Virginia, there is a way to test with custom set user agent strings. You can pass that in the $headers array of goToURL. Click here to go to our documentation (and feel free to see other cool things you can control): https:\/\/www.redline13.com\/customTestDoc\/class-LoadTestingSession.html<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\">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":[536],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-richardfriedman","4":"post-297","6":"format-standard","7":"category-blog","8":"category-php","9":"post_tag-user-agent"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting User Agent String for Test Clients - 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\/10\/setting-user-agent-string-for-test-clients\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting User Agent String for Test Clients - RedLine13\" \/>\n<meta property=\"og:description\" content=\"Yes, Virginia, there is a way to test with custom set user agent strings. You can pass that in the $headers array of goToURL. Click here to go to our documentation (and feel free to see other cool things you can control): https:\/\/www.redline13.com\/customTestDoc\/class-LoadTestingSession.htmlRead More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-07T11:05:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-04T01:00:19+00:00\" \/>\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\/10\/setting-user-agent-string-for-test-clients\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\"},\"author\":{\"name\":\"Rich Friedman\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\"},\"headline\":\"Setting User Agent String for Test Clients\",\"datePublished\":\"2013-10-07T11:05:06+00:00\",\"dateModified\":\"2022-01-04T01:00:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\"},\"wordCount\":56,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"User Agent\"],\"articleSection\":[\"Blog\",\"Custom PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\",\"name\":\"Setting User Agent String for Test Clients - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2013-10-07T11:05:06+00:00\",\"dateModified\":\"2022-01-04T01:00:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting User Agent String for Test Clients\"}]},{\"@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":"Setting User Agent String for Test Clients - 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\/10\/setting-user-agent-string-for-test-clients\/","og_locale":"en_US","og_type":"article","og_title":"Setting User Agent String for Test Clients - RedLine13","og_description":"Yes, Virginia, there is a way to test with custom set user agent strings. You can pass that in the $headers array of goToURL. Click here to go to our documentation (and feel free to see other cool things you can control): https:\/\/www.redline13.com\/customTestDoc\/class-LoadTestingSession.htmlRead More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/","og_site_name":"RedLine13","article_published_time":"2013-10-07T11:05:06+00:00","article_modified_time":"2022-01-04T01:00:19+00:00","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\/10\/setting-user-agent-string-for-test-clients\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/"},"author":{"name":"Rich Friedman","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a"},"headline":"Setting User Agent String for Test Clients","datePublished":"2013-10-07T11:05:06+00:00","dateModified":"2022-01-04T01:00:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/"},"wordCount":56,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["User Agent"],"articleSection":["Blog","Custom PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/","url":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/","name":"Setting User Agent String for Test Clients - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2013-10-07T11:05:06+00:00","dateModified":"2022-01-04T01:00:19+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2013\/10\/setting-user-agent-string-for-test-clients\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Setting User Agent String for Test Clients"}]},{"@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\/297","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=297"}],"version-history":[{"count":1,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":8636,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions\/8636"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}