{"id":41126,"date":"2014-02-28T11:50:48","date_gmt":"2014-02-28T06:20:48","guid":{"rendered":"http:\/\/vskills.in\/certification\/tutorial\/?p=41126"},"modified":"2024-04-12T14:33:29","modified_gmt":"2024-04-12T09:03:29","slug":"the-grinder-testing-certification","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/","title":{"rendered":"Certified The Grinder Testing Professional"},"content":{"rendered":"\n<p><strong>1. Project<\/strong><\/p>\n\n\n\n<p>1.1 The Grinder, a Java Load Testing Framework<br>1.2 What is The Grinder?<\/p>\n\n\n\n<p><strong>2. The Grinder 3<\/strong><\/p>\n\n\n\n<p>2.1 The Grinder processes<br>2.2 Tests and test scripts<br>2.3 Network communication<br>2.4 Output<br>2.5 How do I start The Grinder?<\/p>\n\n\n\n<p><strong>3. Agents and Workers<\/strong><\/p>\n\n\n\n<p>3.1 Agent processes<br>3.2 Worker processes<\/p>\n\n\n\n<p><strong>4. The Grinder 3 Properties File<\/strong><\/p>\n\n\n\n<p>4.1 Table of properties<br>4.2 Specifying properties on the command line<\/p>\n\n\n\n<p><strong>5. Logging<\/strong><\/p>\n\n\n\n<p>5.1 Changing the Logback configuration<br>5.2 Logging data to a database<br>5.3 Writing a custom appender for data logs<\/p>\n\n\n\n<p><strong>6. The Console<\/strong><\/p>\n\n\n\n<p>6.1 The Console User Interface<br>6.2 Process controls<br>6.3 Sample controls<br>6.4 The Graphs and Results tabs<br>6.5 Processes tab<br>6.6 Script tab<\/p>\n\n\n\n<p><strong>7. The Console Service<\/strong><\/p>\n\n\n\n<p>7.1 Overview<br>7.2 Configuration<br>7.3 The REST interface<br>7.4 Example session<\/p>\n\n\n\n<p><strong>8. The TCPProxy<\/strong><\/p>\n\n\n\n<p>8.1 Starting the TCPProxy<br>8.2 Preparing the Browser<br>8.3 Using the EchoFilter<br>8.4 Using the HTTP TCPProxy filters<br>8.5 SSL and HTTPS support<br>8.6 Using the TCPProxy with other proxies<br>8.7 Using the TCPProxy as a port forwarder<br>8.8 Summary of TCPProxy options<\/p>\n\n\n\n<p><strong>9. Scripts<\/strong><\/p>\n\n\n\n<p>9.1 Jython and Python<br>9.2 Jython scripting<br>9.3 Tests<br>9.4 The Grinder script API<br>9.5 Working directory<\/p>\n\n\n\n<p><strong>10. Jython<\/strong><\/p>\n\n\n\n<p>10.1 Scripts<br>10.2 The Jython distribution and installation<\/p>\n\n\n\n<p><strong>11. Clojure<\/strong><\/p>\n\n\n\n<p>11.1 How to use Clojure<br>11.2 Clojure scripting<\/p>\n\n\n\n<p><strong>12. Script Instrumentation<\/strong><\/p>\n\n\n\n<p>12.1 About Instrumentation<br>12.2 Supported targets<br>12.3 Selective instrumentation<br>12.4 Troubleshooting Instrumentation<\/p>\n\n\n\n<p><strong>13. Coordination<\/strong><\/p>\n\n\n\n<p>13.1 Barriers<\/p>\n\n\n\n<p><strong>14. Script Gallery<\/strong><\/p>\n\n\n\n<p>14.1 Hello World<br>14.2 Simple HTTP example<br>14.3 Recording many HTTP interactions as one test<br>14.4 HTTP\/J2EE form based authentication<br>14.5 HTTP digest authentication<br>14.6 HTTP cookies<br>14.7 HTTP multipart form submission<br>14.8 Enterprise Java Beans<br>14.9 Grinding a database with JDBC<br>14.10 Simple HTTP Web Service<br>14.11 JAX-RPC Web Service<br>14.12 XML-RPC Web Service<br>14.13 Hello World, with functions<br>14.14 The script life cycle<br>14.15 Accessing test statistics<br>14.16 Java Message Service &#8211; Queue Sender<br>14.17 Java Message Service &#8211; Queue Receiver<br>14.18 Using The Grinder with other test frameworks<br>14.19 Email<br>14.20 Run test scripts in sequence<br>14.21 Run test scripts in parallel<br>14.22 Thread ramp up<br>14.23 Hello World in Clojure<\/p>\n\n\n\n<p><strong>15. Plug-ins<\/strong><\/p>\n\n\n\n<p>15.1 The HTTP Plug-in<br>15.2 What&#8217;s it for?<br>15.3 Controlling the HTTPPlugin<br>15.4 Using HTTPUtilities<\/p>\n\n\n\n<p><strong>16. Statistics<\/strong><\/p>\n\n\n\n<p>16.1 Standard statistics<br>16.2 Distribution of statistics<br>16.3 Querying and updating statistics<br>16.4 Registering new expressions<\/p>\n\n\n\n<p><strong>17. SSL Support<\/strong><\/p>\n\n\n\n<p>17.1 Before we begin<br>17.2 Controlling when new SSL sessions are created<br>17.3 Using client certificates<br>17.4 FAQ<br>17.5 Picking a certificate from a key store [Advanced]17.6 Debugging<\/p>\n\n\n\n<p><strong>18. Advice<\/strong><\/p>\n\n\n\n<p>18.1 How should I set up a project structure for The Grinder?<br>18.2 A Step-By-Step Script Tutorial<br>18.3 Script Imports<br>18.4 Test Definition<br>18.5 Bread crumbs<br>18.6 The Test Interface<br>18.7 Using the Dictionary and Random Python Modules<br>18.8 Forget the Java IO Package when Handling Files<br>18.9 Sending the Request and the Statistics API<br>18.10 Full Script Listing<\/p>\n\n\n\n<p><strong>19. Weighted Distribution Of Tests<\/strong><\/p>\n\n\n\n<p>19.1 Statement Of The Problem<br>19.2 Test Cases<br>19.3 Weight Distribution Definition<br>19.4 Accumulator Function<br>19.5 Random Numbers<br>19.6 Test Runner Class<br>19.7 Putting It All Together<br>19.8 Full Script Listing<\/p>\n\n\n\n<p><strong>20. Garbage Collection<\/strong><\/p>\n\n\n\n<p>20.1 Testing<br>20.2 Conclusions<\/p>\n\n\n\n<p><strong>21. Features of The Grinder 3<\/strong><\/p>\n\n\n\n<p>21.1 Capabilities of The Grinder<br>21.2 Open Source<br>21.3 Standards<br>21.4 The Grinder Architecture<br>21.5 Console<br>21.6 Statistics, Reports, Charts<br>21.7 Script<br>21.8 The Grinder Plug-ins<br>21.9 HTTP Plug-in<br>21.10 TCP Proxy<br>21.11 Documentation<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Project 1.1 The Grinder, a Java Load Testing Framework1.2 What is The Grinder? 2. The Grinder 3 2.1 The Grinder processes2.2 Tests and test scripts2.3 Network communication2.4 Output2.5 How do I start The Grinder? 3. Agents and Workers 3.1 Agent processes3.2 Worker processes 4. The Grinder 3 Properties File 4.1 Table of properties4.2 Specifying&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[5738],"tags":[5900,42,5898,5899,5895,5897,5896],"class_list":["post-41126","page","type-page","status-publish","hentry","category-testing","tag-features-of-the-grinder-3","tag-m4f","tag-the-grinder-3","tag-the-grinder-3-properties-file","tag-the-grinder-testing","tag-the-grinder-testing-certification","tag-the-grinder-testing-professional"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Certified The Grinder Testing Professional - Tutorial<\/title>\n<meta name=\"description\" content=\"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.\" \/>\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.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Certified The Grinder Testing Professional - Tutorial\" \/>\n<meta property=\"og:description\" content=\"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T09:03:29+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/\",\"name\":\"Certified The Grinder Testing Professional - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"datePublished\":\"2014-02-28T06:20:48+00:00\",\"dateModified\":\"2024-04-12T09:03:29+00:00\",\"description\":\"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Certified The Grinder Testing Professional\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Certified The Grinder Testing Professional - Tutorial","description":"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.","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.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/","og_locale":"en_US","og_type":"article","og_title":"Certified The Grinder Testing Professional - Tutorial","og_description":"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T09:03:29+00:00","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/","name":"Certified The Grinder Testing Professional - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"datePublished":"2014-02-28T06:20:48+00:00","dateModified":"2024-04-12T09:03:29+00:00","description":"Govt of India Certification for Grinder Testing. Get Certified and improve employability. Certification assesses candidates in Grinder Testing concepts.","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/the-grinder-testing-certification\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Certified The Grinder Testing Professional"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/41126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=41126"}],"version-history":[{"count":4,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/41126\/revisions"}],"predecessor-version":[{"id":121418,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/41126\/revisions\/121418"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=41126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=41126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=41126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}