<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://apache.sys-con.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>From the Blogosphere</title>
 <link>http://apache.sys-con.com/</link>
 <description>Latest articles from From the Blogosphere</description>
 <language>en</language>
 <copyright>Copyright 2009 Ulitzer.com</copyright>
 <generator>Ulitzer.com</generator>
 <lastBuildDate>Sun, 29 Nov 2009 09:56:47 EST</lastBuildDate>
 <docs>http://backend.userland.com/rss</docs>
 <ttl>10</ttl>
<item>
 <title>Mobile SOA with Tuscany Android</title>
 <link>http://apache.sys-con.com/node/1196870</link>
 <description>In Apache Tuscany, we have been experimenting with Google Android Platform to build Mobile SOA Applications, and we now have couple Android based samples that demonstrate a Android mobile application consuming SCA services available on the cloud.

Store-android: A front end to our &quot;Store Getting Started Guide&quot; that consumes the catalog and shopping cart services and allow you to shop for fruits and vegetables.

SCATour-android: A front end to the &quot;SCA Tour&quot; scenario that allows you to search for trips direct from your Android phone.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1196870&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 23 Nov 2009 20:30:00 EST</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1196870</guid>
</item>
<item>
 <title>IT&#039;s Groovy Time Flashback</title>
 <link>http://apache.sys-con.com/node/1189075</link>
 <description>As virtualization-lite creates swarms of increasingly dense VLANs in the data center, the IT industry appears to be responding by consolidating into coalitions, including Arcadia (EMC, VMW, and CSCO); HP/COMS; and IBM/JNPR. Each coalition will likely produce its own &quot;branded container&quot; dedicated to the simplification and tactical orchestration of growing VLAN empires. This consolidation takes us back to the 70s when IBM and the BUNCH offered ever-shrinking choices to smocked IT decision makers. Years later the network evolved and disrupted the consolidation with new equipment categories, new solutions and emergent demands soon addressed by a mushrooming venture capital industry and hordes of tech entrepreneurs.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1189075&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 17 Nov 2009 09:30:00 EST</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1189075</guid>
</item>
<item>
 <title>Microsoft to Open Source the .NET Micro Framework</title>
 <link>http://apache.sys-con.com/node/1189228</link>
 <description>(I&#039;m currently in Tokyo, so I&#039;ll leave my insights into this news for another time)&lt;br /&gt;&lt;br /&gt;Today, at the Microsoft &lt;a href=&quot;http://microsoftpdc.com/&quot; target=&quot;_blank&quot; mce_href=&quot;http://microsoftpdc.com/&quot;&gt;Professional Developer Conference&lt;/a&gt; (PDC) in Los Angeles, Microsoft announced the release of version 4.0 of  the.NET Micro Framework, but also that they are open sourcing the product and making it available under the Apache 2.0 license, which is already being used by the community within the embedded space. &lt;p&gt;The &lt;a href=&quot;http://www.microsoft.com/netmf/default.mspx&quot; target=&quot;_blank&quot; mce_href=&quot;http://www.microsoft.com/netmf/default.mspx&quot;&gt;.NET Micro Framework&lt;/a&gt;,a development and execution environment for resource-constrained devices, was initially developed inside the Microsoft Startup Business Accelerator, but recently moved to the Developer Division so as to be more closely aligned with the overall direction of Microsoft development efforts.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://port25.technet.com/archive/2009/11/16/microsoft-to-open-source-the-net-micro-framework.aspx&quot;&gt;See complete blog post here &gt; &lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;a href=&quot;http://www.enomaly.com&quot;&gt;Announcing The Enomaly Cloud Service Provider Edition&lt;/a&gt; | &lt;a href=&quot;http://www.twitter.com/ruv&quot;&gt;Twitter Me&lt;/a&gt; | &lt;a href=&quot;http://www.linkedin.com/in/reuvencohen&quot;&gt;Get Linkedin&lt;/a&gt; | &lt;a href=&quot;https://cloudcomputing.wufoo.com/forms/contact-reuven/&quot;&gt;Contact Reuven&lt;/a&gt; | &lt;a href=&quot;http://www.elasticvapor.com/2009/05/elasticvapor-disclosure-policy.html&quot;&gt;Disclosure Policy&lt;/a&gt;
&lt;hr /&gt;&lt;img width=&#039;1&#039; height=&#039;1&#039; src=&#039;https://blogger.googleusercontent.com/tracker/4159824378751259880-4018272736324288926?l=www.elasticvapor.com&#039; alt=&#039;&#039; /&gt;&lt;/div&gt;&lt;div class=&quot;feedflare&quot;&gt;
&lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:4cEx4HpKnUU&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?i=UX4VO1rIf6E:uD2xYd12o34:4cEx4HpKnUU&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:yIl2AUoC8zA&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?d=yIl2AUoC8zA&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:63t7Ie-LG7Y&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?d=63t7Ie-LG7Y&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:dnMXMwOfBR0&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?d=dnMXMwOfBR0&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:qj6IDK7rITs&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?d=qj6IDK7rITs&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:V_sGLiPBpWU&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?i=UX4VO1rIf6E:uD2xYd12o34:V_sGLiPBpWU&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?a=UX4VO1rIf6E:uD2xYd12o34:F7zBnMyn0Lo&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/Elasticvapor?i=UX4VO1rIf6E:uD2xYd12o34:F7zBnMyn0Lo&quot; border=&quot;0&quot;&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src=&quot;http://feeds.feedburner.com/~r/Elasticvapor/~4/UX4VO1rIf6E&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1189228&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 17 Nov 2009 00:30:00 EST</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1189228</guid>
</item>
<item>
 <title>Apache Software Foundation Completes 10 Years</title>
 <link>http://apache.sys-con.com/node/1108617</link>
 <description>Apache Software Foundation (ASF) was founded in June 1999. A list has been published that&#039;s a presentation highlighting top 11 Apache projects and also 10 projects for the future. Hadoop is the project to watch out for because it is inspired by Google Map Reduce and Big Table.











11 Apache Technologies that Have Changed Computing in the Last 10 Years


10 Apache Technologies that Will Change Computing in the Next 10 Years




1.


Apache HTTP Server

 

1.


Hadoop


For building scalable




2.


Tomcat


Application [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=setandbma.wordpress.com&amp;blog=3978262&amp;post=154&amp;subd=setandbma&amp;ref=&amp;feed=1&quot; /&gt;&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1108617&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 09 Sep 2009 02:25:00 EDT</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1108617</guid>
</item>
<item>
 <title>Control Your NAS like You Control Your SAN</title>
 <link>http://apache.sys-con.com/node/1030431</link>
 <description>I was pondering over the weekend the concept that a SAN is relatively easy to manage – at least on the surface – because it is, in essence, a network in and of itself. Separated from the IP network, you have a switch that connects various SAN arrays and when your arrays become over-burdened, you can just drop another one in and plug it into the switch. Easy. And since the switch is not generally from the same vendor as the storage array, you can plug in whatever array you find most appealing this week. Migrating data between arrays can be tricky, but these days there are solutions for that. Initialization can be painful, particularly if you want to add it to an existing pool and distribute data across it like it had always been there or you’re using at-rest encryption, but that’s just time you have to wait while it runs, your staff isn’t required unless something goes wrong.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1030431&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 10 Jul 2009 11:15:00 EDT</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1030431</guid>
</item>
<item>
 <title>Stress &amp; Load Testing Web Apps (Even ADF &amp; Apex) Using Apache JMeter</title>
 <link>http://apache.sys-con.com/node/1011417</link>
 <description>A couple of years ago I presented Take a load off! Load testing your Oracle Apex or JDeveloper web applications at OOW and AUSOUG. I can&#039;t recommend enough the importance of stress testing your web applications, it&#039;s saved my bacon a number of times.  Frequently as developers, we develop under a single user (developer) model where concurrency issues are easily avoided. When our programs hit production, with just 1 more user, suddenly our programs grind to a halt or fall over in bizarre places.  Result, pie on developers&#039; faces, users&#039; faith in new technologies destroyed, and general gnashing of teeth all round.  Some simple stress and load tests can head off problems way before they hit production.&lt;br /&gt;&lt;br /&gt;(For the remainder of this post I&#039;ll infer &quot;stress testing&quot; and &quot;load testing&quot; as the same thing, though strictly speaking one tests for your application falling over, and the other how fast it responds under load)&lt;br /&gt;&lt;br /&gt;So how to go about stress testing a web application?&lt;br /&gt;&lt;br /&gt;There are numerous tools available to stress test web applications, paid and free.  This post will look at the setup and use of Apache&#039;s JMeter, my tool of choice, mainly because it is free! ... to undertake a very simple stress test.  Apache JMeter is available &lt;a href=&quot;http://jakarta.apache.org/jmeter/&quot;&gt;here&lt;/a&gt;, version 2.3.3 at time of writing.&lt;br /&gt;&lt;br /&gt;On starting JMeter (&amp;lt;jmeter-home&gt;/bin/jmeter.bat on Windows) you&#039;ll see the following:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHFjBUI3CI/AAAAAAAAAvE/EfKsR_eRKuY/s1600-h/pic1.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 263px;&quot; src=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHFjBUI3CI/AAAAAAAAAvE/EfKsR_eRKuY/s400/pic1.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271438104484898&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Creating a Thread Group&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From here what we want to do is set up a Thread Group that simulates a number of users (concurrent sessions), done by right clicking the Test Plan node -&gt; Thread Group option.  This results in:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHFjH6mOSI/AAAAAAAAAvM/rfPxcyLlNGs/s1600-h/pic2.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 263px;&quot; src=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHFjH6mOSI/AAAAAAAAAvM/rfPxcyLlNGs/s400/pic2.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271439876405538&quot; /&gt;&lt;/a&gt;&lt;br /&gt;As you can see the Thread Group allows us to set a number of threads to simulate concurrent users/sessions, loop through tests and more.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Creating HTTP Requests&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From here we can create a number of HTTP requests (Test Plan node right click -&gt; Add -&gt; Sampler -&gt; HTTP Requests) to simulate each HTTP request operation (Get, Post etc), HTTP headers, payloads and more.  However in a standard user session between server and browser there can be a huge array of these requests and configuring these HTTP requests within JMeter would be a major pain.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;Configuring the HTTP Proxy Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;However there&#039;s an easier way.  Apache JMeter can work as a proxy between your browser and server and record a user&#039;s HTTP session, namely the individual HTTP requests, that can be re-played in a JMeter Thread Group later.&lt;br /&gt;&lt;br /&gt;To set this up instead right click the Workbench node, Add -&gt; Non-Test Elements -&gt; HTTP Proxy Server:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_5hhNK2aXwp8/SjHFjavyVGI/AAAAAAAAAvU/Q_It9sCuUe8/s1600-h/pic3.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 230px;&quot; src=&quot;http://3.bp.blogspot.com/_5hhNK2aXwp8/SjHFjavyVGI/AAAAAAAAAvU/Q_It9sCuUe8/s400/pic3.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271444931335266&quot; /&gt;&lt;/a&gt;&lt;br /&gt;To configure the HTTP Proxy Server do the following:&lt;br /&gt;&lt;br /&gt;* Port – set to a number that wont clash with an existing HTTP server on your PC (say 8085)&lt;br /&gt;* Target Controller – set to &quot;Test Plan &gt; Thread Group&quot;.  When the proxy server records the HTTP session between your browser and server, this setting implies the HTTP requests will be recorded against the Thread Group you created earlier, so we can reuse them later&lt;br /&gt;* URL Patterns to include – a regular expression based string that tells the proxy server which URLs to record, and those to ignore.  To capture everything set it to .* (dot star).  Be warned that during recording however, if you use your browser for anything else but accessing the server you wish to stress test, JMeter will also capture that traffic.  This includes periodic refreshes by web applications such as Gmail or Google Docs that you don&#039;t even initiate; I&#039;m pretty sure when replaying your stress test, Google would prefer you not to stress test their infrastructure for them; stick to your own for now ;-)&lt;br /&gt;&lt;br /&gt;The end HTTP Proxy Server setting will look something like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHFjmE8_NI/AAAAAAAAAvc/GzomZai3r-c/s1600-h/pic4.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 230px;&quot; src=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHFjmE8_NI/AAAAAAAAAvc/GzomZai3r-c/s400/pic4.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271447972904146&quot; /&gt;&lt;/a&gt;&lt;br /&gt;You&#039;ll note the HTTP Proxy Server has a Start button.  We can&#039;t use this just yet.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Configuring your Browser&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In order for the JMeter HTTP Proxy Server to capture the traffic between your server and browser, you need to make some changes to your browser&#039;s configuration.  I&#039;m assuming you&#039;re using Firefox 3 in the following example, but same approximate steps are needed for Internet Explorer.&lt;br /&gt;&lt;br /&gt;Under Firefox open the Tools -&gt; Options menu, then Advanced icon, Network tab, Settings button which will open the Connection Settings dialog.&lt;br /&gt;&lt;br /&gt;In the Connection Settings dialog set the following:&lt;br /&gt;&lt;br /&gt;* Select the Manual proxy configuration radio button&lt;br /&gt;* HTTP Proxy – localhost&lt;br /&gt;* Port – 8085 as per the JMeter HTTP Proxy Server option we set earlier&lt;br /&gt;* No Proxy for – ensure that localhost and 127.0.0.1 aren&#039;t in the exclusion list&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_5hhNK2aXwp8/SjHFj-9-cmI/AAAAAAAAAvk/A2KqnUDTwUs/s1600-h/pic5.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 387px;&quot; src=&quot;http://1.bp.blogspot.com/_5hhNK2aXwp8/SjHFj-9-cmI/AAAAAAAAAvk/A2KqnUDTwUs/s400/pic5.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271454654526050&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The above setup makes an assumption that the server you want to access is accessibly without a further external proxy required.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Recording your HTTP session&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once the browser&#039;s proxy is setup, to record a session between the browser and server do the following:&lt;br /&gt;&lt;br /&gt;1) In Apache JMeter hit the Start button on the HTTP Proxy Server page&lt;br /&gt;2) In your browser enter the URL of the first page in the application you want to stress test&lt;br /&gt;&lt;br /&gt;Thereafter as you navigate your web application, enter data and so on, JMeter will faithfully record each HTTP request between the browser in server against your Thread Group.  This may not be immediately obvious, but expand the Thread Group and you&#039;ll see each HTTP request made from the browser to server:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHF9zMjEOI/AAAAAAAAAvs/o6g0ZWhG3vk/s1600-h/pic6.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 222px;&quot; src=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHF9zMjEOI/AAAAAAAAAvs/o6g0ZWhG3vk/s400/pic6.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271898171019490&quot; /&gt;&lt;/a&gt;&lt;br /&gt;As can be seen, even visiting 1 web page can generate a huge amount of traffic.  Ensure to stop recording the HTTP session by selecting the Stop button in the JMeter HTTP Proxy Server page.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Configuring the Thread Group for replay&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you&#039;ve recorded the session in the Thread Group there are a couple of extra things we need to achieve.&lt;br /&gt;&lt;br /&gt;For web application&#039;s that use Cookies and session IDs (JDeveloper&#039;s ADF uses a JSessionID for tracking sessions) to track each unique user session, we cannot replay the exact HTTP request sequence with the server through JMeter, as the session ID is pegged to the recorded session, not the upcoming stress test sessions.&lt;br /&gt;&lt;br /&gt;To solve this in JMeter right click the Thread Group -&gt; Add -&gt; Config Element -&gt; HTTP Cookie Manager.  This will be added as the last element to the Thread Group.  I usually move it to the top of the tree:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-KZ4yjI/AAAAAAAAAv0/R-hELvaCfIg/s1600-h/pic7.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 222px;&quot; src=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-KZ4yjI/AAAAAAAAAv0/R-hELvaCfIg/s400/pic7.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271904400984626&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Next we need to configure the Thread Group to show us the results of the stress test.  There are a number of different ways to do this, from graphing the responses, to showing the raw HTTP responses.  In this post we&#039;ll take the later option.&lt;br /&gt;&lt;br /&gt;Right click the Thread Group -&gt; Add -&gt; Listener -&gt; View Results in Tree, which will add a View Results in Tree node to the end of the Thread Group:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-VSvE0I/AAAAAAAAAv8/c-5WPM4DSyQ/s1600-h/pic8.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 230px;&quot; src=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-VSvE0I/AAAAAAAAAv8/c-5WPM4DSyQ/s400/pic8.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271907323777858&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Finally save the Thread Group by selecting it in the node tree, then File -&gt; Save.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Running the Thread Group&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To commence your first stress test run, it&#039;s best to leave the number of spawned sessions to 1, just to see the overall test will work in it&#039;s most basic form.  The default Thread Group number of threads is set to 1, so there is no need to make a change to do this.&lt;br /&gt;&lt;br /&gt;To run the test, simply select the Run menu -&gt; Start.  On running the Thread Group, you&#039;ll see the top right of JMeter has a little box that tells if it&#039;s still running, and the number of tests to go vs total number of tests:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-v26n1I/AAAAAAAAAwE/WGCI1VwNoYA/s1600-h/pic9.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 221px; height: 106px;&quot; src=&quot;http://4.bp.blogspot.com/_5hhNK2aXwp8/SjHF-v26n1I/AAAAAAAAAwE/WGCI1VwNoYA/s400/pic9.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271914454851410&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Once the tests are complete, this indicator will grey out.&lt;br /&gt;&lt;br /&gt;We can now visit the View Results Tree:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHF-sjMZkI/AAAAAAAAAwM/XR1iQKSVkyc/s1600-h/pic10.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 228px;&quot; src=&quot;http://2.bp.blogspot.com/_5hhNK2aXwp8/SjHF-sjMZkI/AAAAAAAAAwM/XR1iQKSVkyc/s400/pic10.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5346271913566824002&quot; /&gt;&lt;/a&gt;&lt;br /&gt;This shows the HTTP requests that were sent out and on selecting an individual request, you see the raw HTTP request and the actual response.  You&#039;ll note the small green triangles showing a successful HTTP 200 result.  If different HTTP errors occur the triangles show different colours.  Also remember that sometimes application errors don&#039;t perculate up to the HTTP layer in your web application, so you should check your application&#039;s logs too (in the case of a JEE application, this will be your container&#039;s internal logs).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Running a Stress Test&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The obvious step from here is to change the Thread Group number of threads to a higher number.&lt;br /&gt;&lt;br /&gt;From here take time out to explore the other features in JMeter. It includes a wide range of features that in particular make it useful for regression testing.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Caveats&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Firstly remember when doing this you&#039;re not only stress testing your application, your stress testing a server, potentially stress testing databases, stress testing your networks and so on.  Therefore you can have an affect on anybody sharing those resources.  &quot;Hard core&quot; stress tests should be on separate infrastructure, after hours, aiming for as little impact on those around you!&lt;br /&gt;&lt;br /&gt;Also keep in mind, besides seeing your application fall over at 2 users, 10 users, 100 users, which is an important test, try to be realistic about your stress tests.  Stress testing you&#039;re brand-new-application to a 1 million concurrent users is probably not being realistic.  How many concurrent user requests do you really expect and what response times do you need?  Normally when I ask managers this question they&#039;ll answer with, &quot;oh we have 1000 concurrent users, the application must support that many at any one time&quot;.  However what they really mean is the application has 1000 users, potentially all logged into the application (ie. sessions) at the same time, but not necessarily hitting the server with HTTP requests at any onetime.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#039;1&#039; height=&#039;1&#039; src=&#039;https://blogger.googleusercontent.com/tracker/38586079-8639738272054590761?l=one-size-doesnt-fit-all.blogspot.com&#039;/&gt;&lt;/div&gt;&lt;img src=&quot;http://feeds.feedburner.com/~r/OneSizeDoesntFitAll/~4/cDLj3J5-FRA&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/1011417&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 24 Jun 2009 11:00:00 EDT</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/1011417</guid>
</item>
<item>
 <title>Cloud Spending To Be Up 21% This Year: Gartner</title>
 <link>http://apache.sys-con.com/node/894420</link>
 <description>Gartner thinks that global revenues from cloud computing will surge 21.3% this year and top $56 billion, according to Reuters reporting from Finland. IT spending is obviously shifting in search of cost-effectiveness as the economy goes to hell.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/894420&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Sun, 12 Apr 2009 07:00:00 EDT</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/894420</guid>
</item>
<item>
 <title>Java for Managers -- What Should They Know?</title>
 <link>http://apache.sys-con.com/node/869826</link>
 <description>Last month, JavaBlackBelt completed a survey where developers said their teams would be 25% more productive if their management committed to skills management... which led me to consider: Which Java technologies do developers think that managers should understand better in order to make great decisions about skills management?
&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/869826&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 09 Mar 2009 22:00:00 EDT</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/869826</guid>
</item>
<item>
 <title>As Enterprise RIA Development Market Mushrooms, Marc Fleury Joins Board of Appcelerator</title>
 <link>http://apache.sys-con.com/node/475493</link>
 <description>Appcelerator CEO Jeff Haynie is quoted as saying about Fleury, &#039;We believe the knowledge he developed building JBoss, to the point where it quickly became a true challenger to much larger competitors and a substantial industry force, will be invaluable to Appcelerator as we look to achieve similar dominance in our pursuit of the enterprise RIA development market.&#039; According to Fleury the company delivers cross-platform functionality on the server side, supporting the .NET, Java, Ruby or PHP architectures. On the client side, its RIA widgets are standards-based and portable across browsers.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/475493&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Sun, 06 Jan 2008 12:00:00 EST</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/475493</guid>
</item>
<item>
 <title>Debugging Both Flex and Tomcat Java Programs in Eclipse</title>
 <link>http://apache.sys-con.com/node/458994</link>
 <description>If you use Adobe Flex Web applications that connect to Plain Old Java Objects on the server side, chances are you use a popular, robust, and freely available server called Apache Tomcat. If you use Eclipse-based Flex Builder, you can smoothly debug both Flex and Java code without leaving Eclipse. Flex Builder debugger does not need any special configuration. But we need to add a couple of parameters to the startup routine of Tomcat so it&#039;ll engage the Java Platform Debugger Architecture (JPDA), which will allow other applications attach to JVM that runs Tomcat and debug deployed Java classes remotely.&lt;p&gt;&lt;a href=&quot;http://apache.sys-con.com/node/458994&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 14 Nov 2007 08:15:00 EST</pubDate>
 <guid isPermaLink="true">http://apache.sys-con.com/node/458994</guid>
</item>
</channel>
</rss>
