{"id":2864,"date":"2016-07-28T14:47:01","date_gmt":"2016-07-28T18:47:01","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=2864"},"modified":"2016-07-28T14:47:01","modified_gmt":"2016-07-28T18:47:01","slug":"feature-update-composer-plugin","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/","title":{"rendered":"Feature Update: Composer Plugin"},"content":{"rendered":"<h2>Release &#8211; Composer Plugin for\u00a0Load Testing<\/h2>\n<p>Ready for release &#8211; Composer Plugin.\u00a0<a href=\"https:\/\/getcomposer.org\/\">Composer<\/a> is a Dependency Manager for PHP which allows you to install various packages before you run a load test. Users just need to\u00a0install the Plugin (refer to our <a href=\"https:\/\/www.redline13.com\/blog\/2016\/07\/install-redline13-plugins\/\" target=\"_blank\" rel=\"noopener\">plugin instillation guide<\/a>) and are then immediately able to get started using the plugin for custom PHP tests.<\/p>\n<h2>How to use<\/h2>\n<p>To include packages with your custom PHP test<\/p>\n<ul>\n<li>Include an extra file with your test called composer.json<\/li>\n<li>Enable the Composer plugin in your test (Advanced Settings)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2891\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Enable-Composer-Plugin.png\" alt=\"Enable Composer Plugin\" width=\"1012\" height=\"317\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Enable-Composer-Plugin.png 1012w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Enable-Composer-Plugin-300x94.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Enable-Composer-Plugin-768x241.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/p>\n<h2>Example Composer.json<\/h2>\n<p>The following example composer.json\u00a0installs a package to help make websocket calls. \u00a0To see\u00a0all the packages available via composer you can browse them <a href=\"https:\/\/packagist.org\/\">here<\/a>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"require\": {\n          \"textalk\/websocket\": \"1.0.*\"\n    }\n}<\/pre>\n<p>For more information, refer to the RedLine13 Composer plugin <a href=\"https:\/\/github.com\/redline13\/plugin-composer\" target=\"_blank\" rel=\"noopener\">GitHub page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Release &#8211; Composer Plugin for\u00a0Load Testing Ready for release &#8211; Composer Plugin.\u00a0Composer is a Dependency Manager for PHP which allows you to install various packages before you run a load test. Users just need to\u00a0install the Plugin (refer to our plugin instillation guide) and are then immediately able to get started using the plugin for custom PHP tests. How to use To include packages with your custom PHP test Include an extra file with your test<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2865,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,10,4],"tags":[138,158,160,161,398,399,401,402],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-2864","6":"format-standard","7":"has-post-thumbnail","8":"category-blog","9":"category-php","10":"category-features","11":"post_tag-composer","12":"post_tag-custom-load-tests","13":"post_tag-custom-php","14":"post_tag-custom-php-tests","15":"post_tag-php","16":"post_tag-php-test","17":"post_tag-plugin","18":"post_tag-plugins"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Feature Update: Composer Plugin - RedLine13<\/title>\n<meta name=\"description\" content=\"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.\" \/>\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\/07\/feature-update-composer-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Feature Update: Composer Plugin - RedLine13\" \/>\n<meta property=\"og:description\" content=\"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-28T18:47:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Composer-Plugin-RedLine13.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"365\" \/>\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\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\/2016\/07\/feature-update-composer-plugin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"Feature Update: Composer Plugin\",\"datePublished\":\"2016-07-28T18:47:01+00:00\",\"dateModified\":\"2016-07-28T18:47:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\"},\"wordCount\":135,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"composer\",\"custom load tests\",\"custom php\",\"custom php tests\",\"php\",\"php test\",\"plugin\",\"plugins\"],\"articleSection\":[\"Blog\",\"Custom PHP\",\"Features\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\",\"name\":\"Feature Update: Composer Plugin - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2016-07-28T18:47:01+00:00\",\"dateModified\":\"2016-07-28T18:47:01+00:00\",\"description\":\"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Feature Update: Composer Plugin\"}]},{\"@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":"Feature Update: Composer Plugin - RedLine13","description":"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.","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\/07\/feature-update-composer-plugin\/","og_locale":"en_US","og_type":"article","og_title":"Feature Update: Composer Plugin - RedLine13","og_description":"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.","og_url":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/","og_site_name":"RedLine13","article_published_time":"2016-07-28T18:47:01+00:00","og_image":[{"width":800,"height":365,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Composer-Plugin-RedLine13.png","type":"image\/png"}],"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\/2016\/07\/feature-update-composer-plugin\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"Feature Update: Composer Plugin","datePublished":"2016-07-28T18:47:01+00:00","dateModified":"2016-07-28T18:47:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/"},"wordCount":135,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["composer","custom load tests","custom php","custom php tests","php","php test","plugin","plugins"],"articleSection":["Blog","Custom PHP","Features"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/","url":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/","name":"Feature Update: Composer Plugin - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2016-07-28T18:47:01+00:00","dateModified":"2016-07-28T18:47:01+00:00","description":"In addition to a few other load testing plugins that we have launched, we have also created a Composer plugin for custom load tests.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/feature-update-composer-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Feature Update: Composer Plugin"}]},{"@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\/2864","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=2864"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/2864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/2865"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=2864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=2864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=2864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}