{"id":2810,"date":"2016-07-22T14:50:00","date_gmt":"2016-07-22T18:50:00","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=2810"},"modified":"2016-07-22T14:50:00","modified_gmt":"2016-07-22T18:50:00","slug":"open-test-harness-php-nodejs","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/","title":{"rendered":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2837\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness.png\" alt=\"RedLine13 Load Harness\" width=\"1003\" height=\"367\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness.png 1003w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness-300x110.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness-768x281.png 768w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/p>\n<p>We have made writing and running custom load tests easier by opening up our\u00a0test harnesses for building both Node.JS and PHP tests. Users can now run custom load tests on your local machine before deploying them at scale. You can modify the loadtest.ini file with your own custom parameters.<\/p>\n<p>To see the full documentation on these updates, visit our GitHub:<\/p>\n<p><a href=\"https:\/\/github.com\/redline13\/harness-custom-test-nodejs\" target=\"_blank\" rel=\"noopener\">Load Harness &#8211; Custom PHP Tests<\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">git clone https:\/\/github.com\/redline13\/harness-custom-test-php.git\ncd harness-custom-test-php.git\nphp runLoadTest.php ExampleTest<\/pre>\n<p>Then\u00a0substitute in your own PHP test.<\/p>\n<p><a href=\"https:\/\/github.com\/redline13\/harness-custom-test-php\" target=\"_blank\" rel=\"noopener\">Load Harness &#8211; Custom Node.JS Test<\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">git@github.com:redline13\/harness-custom-test-nodejs.git\ncd harness-custom-test-nodejs.git\nnpm install\n# Look at ReadMe for OSX issue\/requirement\n\nnode loadTester 2 CustomTestSimple.js\n# Simulates 2 users running your test<\/pre>\n<p>Then substitute in your own Node.JS test.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2823\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests.png\" alt=\"Start Custom Tests\" width=\"1977\" height=\"1441\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests.png 1977w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests-300x219.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests-1024x746.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests-768x560.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests-1536x1120.png 1536w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/Start-Custom-Tests-1568x1143.png 1568w\" sizes=\"auto, (max-width: 1977px) 100vw, 1977px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have made writing and running custom load tests easier by opening up our\u00a0test harnesses for building both Node.JS and PHP tests. Users can now run custom load tests on your local machine before deploying them at scale. You can modify the loadtest.ini file with your own custom parameters. To see the full documentation on these updates, visit our GitHub: Load Harness &#8211; Custom PHP Tests git clone https:\/\/github.com\/redline13\/harness-custom-test-php.git cd harness-custom-test-php.git php runLoadTest.php ExampleTest Then\u00a0substitute in<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\">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":[2,9,10],"tags":[155,157,163,241,365,366,372,398],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-2810","6":"format-standard","7":"category-blog","8":"category-nodejs","9":"category-php","10":"post_tag-custom","11":"post_tag-custom-load-test","12":"post_tag-custom-test","13":"post_tag-harness","14":"post_tag-node-js","15":"post_tag-nodejs","16":"post_tag-open","17":"post_tag-php"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Open Test Harness for PHP and Node.JS: Making Custom Tests Easier<\/title>\n<meta name=\"description\" content=\"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create 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\/open-test-harness-php-nodejs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier\" \/>\n<meta property=\"og:description\" content=\"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create custom load tests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-22T18:50:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness.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\/open-test-harness-php-nodejs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier\",\"datePublished\":\"2016-07-22T18:50:00+00:00\",\"dateModified\":\"2016-07-22T18:50:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\"},\"wordCount\":103,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"keywords\":[\"custom\",\"custom load test\",\"custom test\",\"harness\",\"node.js\",\"nodejs\",\"open\",\"php\"],\"articleSection\":[\"Blog\",\"Custom NodeJS\",\"Custom PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\",\"name\":\"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2016-07-22T18:50:00+00:00\",\"dateModified\":\"2016-07-22T18:50:00+00:00\",\"description\":\"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create custom load tests.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier\"}]},{\"@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":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier","description":"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create 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\/open-test-harness-php-nodejs\/","og_locale":"en_US","og_type":"article","og_title":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier","og_description":"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create custom load tests.","og_url":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/","og_site_name":"RedLine13","article_published_time":"2016-07-22T18:50:00+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2016\/07\/RedLine13-Load-Harness.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\/open-test-harness-php-nodejs\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier","datePublished":"2016-07-22T18:50:00+00:00","dateModified":"2016-07-22T18:50:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/"},"wordCount":103,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"keywords":["custom","custom load test","custom test","harness","node.js","nodejs","open","php"],"articleSection":["Blog","Custom NodeJS","Custom PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/","url":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/","name":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2016-07-22T18:50:00+00:00","dateModified":"2016-07-22T18:50:00+00:00","description":"RedLine13 has opened up the test harnesses for both custom PHP and Node.JS allowing users to easily create custom load tests.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2016\/07\/open-test-harness-php-nodejs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Open Test Harness for PHP and Node.JS: Making Custom Tests Easier"}]},{"@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\/2810","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=2810"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/2810\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=2810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=2810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=2810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}