{"id":1868,"date":"2016-04-15T10:46:06","date_gmt":"2016-04-15T14:46:06","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=1868"},"modified":"2016-04-15T10:46:06","modified_gmt":"2016-04-15T14:46:06","slug":"php-composer-support-for-customphp-tests","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/","title":{"rendered":"PHP Composer Support for CustomPHP Tests"},"content":{"rendered":"<p>A new\u00a0plugin was added for CustomPHP tests on RedLine13.<\/p>\n<p>You can now include a composer.json file along side your custom test<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1870\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/Include-composer-json-file.png\" alt=\"Include composer json file\" width=\"1036\" height=\"331\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/Include-composer-json-file.png 1036w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/Include-composer-json-file-300x96.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/Include-composer-json-file-1024x327.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/Include-composer-json-file-768x245.png 768w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/p>\n<ul>\n<li>This is the package manager\u00a0https:\/\/getcomposer.org\/ with access to the packages at\u00a0https:\/\/packagist.org\/<\/li>\n<\/ul>\n<p>Then select\u00a0to enable the plugin<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1862\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/WebSocket-Custom-Load-Test-Enable-Composer.png\" alt=\"WebSocket Custom Load Test Enable Composer\" width=\"1001\" height=\"239\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/WebSocket-Custom-Load-Test-Enable-Composer.png 1001w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/WebSocket-Custom-Load-Test-Enable-Composer-300x72.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/WebSocket-Custom-Load-Test-Enable-Composer-768x183.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<p>When the test launches the plugin will<\/p>\n<ul>\n<li>update to latest composer<\/li>\n<li>run composer update to pull in the packages specified in your composer.json<\/li>\n<\/ul>\n<p>Then your test\u00a0will begin its execution.<\/p>\n<ul>\n<li>This was used recently to demonstrate load <a href=\"https:\/\/www.redline13.com\/blog\/2016\/04\/customtest-for-load-testing-websockets\/\">testing websockets<\/a>.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new\u00a0plugin was added for CustomPHP tests on RedLine13. You can now include a composer.json file along side your custom test This is the package manager\u00a0https:\/\/getcomposer.org\/ with access to the packages at\u00a0https:\/\/packagist.org\/ Then select\u00a0to enable the plugin When the test launches the plugin will update to latest composer run composer update to pull in the packages specified in your composer.json Then your test\u00a0will begin its execution. This was used recently to demonstrate load testing websockets. &nbsp;<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1871,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[138,380],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-1868","6":"format-standard","7":"has-post-thumbnail","8":"category-php","9":"category-features","10":"post_tag-composer","11":"post_tag-packagist"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP Composer Support for CustomPHP Tests - 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\/2016\/04\/php-composer-support-for-customphp-tests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP Composer Support for CustomPHP Tests - RedLine13\" \/>\n<meta property=\"og:description\" content=\"A new\u00a0plugin was added for CustomPHP tests on RedLine13. You can now include a composer.json file along side your custom test This is the package manager\u00a0https:\/\/getcomposer.org\/ with access to the packages at\u00a0https:\/\/packagist.org\/ Then select\u00a0to enable the plugin When the test launches the plugin will update to latest composer run composer update to pull in the packages specified in your composer.json Then your test\u00a0will begin its execution. This was used recently to demonstrate load testing websockets. &nbsp;Read More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-15T14:46:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/logo-composer-transparent2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"290\" \/>\n\t<meta property=\"og:image:height\" content=\"356\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"PHP Composer Support for CustomPHP Tests\",\"datePublished\":\"2016-04-15T14:46:06+00:00\",\"dateModified\":\"2016-04-15T14:46:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\"},\"wordCount\":93,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"composer\",\"packagist\"],\"articleSection\":[\"Custom PHP\",\"Features\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\",\"name\":\"PHP Composer Support for CustomPHP Tests - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2016-04-15T14:46:06+00:00\",\"dateModified\":\"2016-04-15T14:46:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP Composer Support for CustomPHP Tests\"}]},{\"@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":"PHP Composer Support for CustomPHP Tests - 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\/2016\/04\/php-composer-support-for-customphp-tests\/","og_locale":"en_US","og_type":"article","og_title":"PHP Composer Support for CustomPHP Tests - RedLine13","og_description":"A new\u00a0plugin was added for CustomPHP tests on RedLine13. You can now include a composer.json file along side your custom test This is the package manager\u00a0https:\/\/getcomposer.org\/ with access to the packages at\u00a0https:\/\/packagist.org\/ Then select\u00a0to enable the plugin When the test launches the plugin will update to latest composer run composer update to pull in the packages specified in your composer.json Then your test\u00a0will begin its execution. This was used recently to demonstrate load testing websockets. &nbsp;Read More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/","og_site_name":"RedLine13","article_published_time":"2016-04-15T14:46:06+00:00","og_image":[{"width":290,"height":356,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/04\/logo-composer-transparent2.png","type":"image\/png"}],"author":"RedLine13","twitter_card":"summary_large_image","twitter_misc":{"Written by":"RedLine13"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"PHP Composer Support for CustomPHP Tests","datePublished":"2016-04-15T14:46:06+00:00","dateModified":"2016-04-15T14:46:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/"},"wordCount":93,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["composer","packagist"],"articleSection":["Custom PHP","Features"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/","url":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/","name":"PHP Composer Support for CustomPHP Tests - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2016-04-15T14:46:06+00:00","dateModified":"2016-04-15T14:46:06+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2016\/04\/php-composer-support-for-customphp-tests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP Composer Support for CustomPHP Tests"}]},{"@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\/1868","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=1868"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/1868\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/1871"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=1868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=1868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=1868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}