<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Java Programming Forum - Learn Java Programming - Blogs - JMeter</title>
		<link>http://www.java-forums.org/blogs/jmeter/</link>
		<description>Java Programming Forum - Learning Java easily</description>
		<language>en</language>
		<lastBuildDate>Wed, 19 Jun 2013 04:12:46 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.java-forums.org/images/misc/rss.jpg</url>
			<title>Java Programming Forum - Learn Java Programming - Blogs - JMeter</title>
			<link>http://www.java-forums.org/blogs/jmeter/</link>
		</image>
		<item>
			<title>Using Variables to parameterise tests</title>
			<link>http://www.java-forums.org/blogs/jmeter/1435-using-variables-parameterise-tests.html</link>
			<pubDate>Fri, 27 Apr 2012 17:29:44 GMT</pubDate>
			<description><![CDATA[Variables don't have to vary - they can be defined once, and if left alone, will not change value. So you can use them as short-hand for expressions...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Variables don't have to vary - they can be defined once, and if left alone, will not change value. So you can use them as short-hand for expressions that appear frequently in a test plan. Or for items which are constant during a run, but which may vary between runs. For example, the name of a host, or the number of threads in a thread group. <br />
<br />
When deciding how to structure a Test Plan, make a note of which items are constant for the run, but which may change between runs. Decide on some variable names for these - perhaps use a naming convention such as prefixing them with C_ or K_ or using uppercase only to distinguish them from variables that need to change during the test. Also consider which items need to be local to a thread - for example counters or values extracted with the Regular Expression Post-Processor. You may wish to use a different naming convention for these.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1435-using-variables-parameterise-tests.html</guid>
		</item>
		<item>
			<title>Properties and Variables</title>
			<link>http://www.java-forums.org/blogs/jmeter/1434-properties-variables.html</link>
			<pubDate>Fri, 27 Apr 2012 17:29:01 GMT</pubDate>
			<description>JMeter properties are defined in jmeter.properties. Properties are global to jmeter, and are mostly used to define some of the defaults JMeter uses....</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">JMeter properties are defined in jmeter.properties. Properties are global to jmeter, and are mostly used to define some of the defaults JMeter uses. For example the property remote_hosts defines the servers that JMeter will try to run remotely. Properties can be referenced in test plans.<br />
<br />
JMeter variables are local to each thread. The values may be the same for each thread, or they may be different. <br />
If a variable is updated by a thread, only the thread copy of the variable is changed. For example the Regular Expression Extractor Post-Processor will set its variables according to the sample that its thread has read, and these can be used later by the same thread. <br />
<br />
Note that the values defined by the Test Plan and the User Defined Variables configuration element are made available to the whole test plan at startup. If the same variable is defined by multiple UDV elements, then the last one takes effect. Once a thread has started, the initial set of variables is copied to each thread. Other elements such as the User Parameters Pre-Processor or Regular Expression Extractor Post-Processor may be used to redefine the same variables (or create new ones). These redefinitions only apply to the current thread.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1434-properties-variables.html</guid>
		</item>
		<item>
			<title>JMeter Assertions</title>
			<link>http://www.java-forums.org/blogs/jmeter/1433-jmeter-assertions.html</link>
			<pubDate>Fri, 27 Apr 2012 17:28:12 GMT</pubDate>
			<description><![CDATA[Assertions allow you to assert facts about responses received from the server being tested. Using an assertion, you can essentially "test" that your...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Assertions allow you to assert facts about responses received from the server being tested. Using an assertion, you can essentially &quot;test&quot; that your application is returning the results you expect it to. <br />
For instance, you can assert that the response to a query will contain some particular text. The text you specify can be a Perl-style regular expression, and you can indicate that the response is to contain the text, or that it should match the whole response. <br />
<br />
You can add an assertion to any Sampler. For example, you can add an assertion to a HTTP Request that checks for the text, &quot;&lt;/HTML&gt;&quot;. JMeter will then check that the text is present in the HTTP response. If JMeter cannot find the text, then it will mark this as a failed request. <br />
<br />
To view the assertion results, add an Assertion Listener to the Thread Group. Failed Assertions will also show up in the Tree View and Table Listeners, and will count towards the error %age for example in the Aggregate and Summary reports.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1433-jmeter-assertions.html</guid>
		</item>
		<item>
			<title>JMeter Timers</title>
			<link>http://www.java-forums.org/blogs/jmeter/1432-jmeter-timers.html</link>
			<pubDate>Fri, 27 Apr 2012 17:27:30 GMT</pubDate>
			<description>By default, a JMeter thread sends requests without pausing between each request. We recommend that you specify a delay by adding one of the available...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">By default, a JMeter thread sends requests without pausing between each request. We recommend that you specify a delay by adding one of the available timers to your Thread Group. If you do not add a delay, JMeter could overwhelm your server by making too many requests in a very short amount of time. <br />
<br />
The timer will cause JMeter to delay a certain amount of time before each sampler which is in its scope. <br />
<br />
If you choose to add more than one timer to a Thread Group, JMeter takes the sum of the timers and pauses for that amount of time before executing the samplers to which the timers apply. Timers can be added as children of samplers or controllers in order to restrict the samplers to which they are applied.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1432-jmeter-timers.html</guid>
		</item>
		<item>
			<title>JMeter Listeners</title>
			<link>http://www.java-forums.org/blogs/jmeter/1431-jmeter-listeners.html</link>
			<pubDate>Fri, 27 Apr 2012 17:26:44 GMT</pubDate>
			<description>Listeners provide access to the information JMeter gathers about the test cases while JMeter runs. The Graph Results listener plots the response...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Listeners provide access to the information JMeter gathers about the test cases while JMeter runs. The Graph Results listener plots the response times on a graph. The &quot;View Results Tree&quot; Listener shows details of sampler requests and responses, and can display basic HTML and XML representations of the response. Other listeners provide summary or aggregation information. <br />
<br />
Additionally, listeners can direct the data to a file for later use. Every listener in JMeter provides a field to indicate the file to store data to. There is also a Configuration button which can be used to choose which fields to save, and whether to use CSV or XML format. Note that all Listeners save the same data; the only difference is in the way the data is presented on the screen. <br />
<br />
Listeners can be added anywhere in the test, including directly under the test plan. They will collect data only from elements at or below their level.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1431-jmeter-listeners.html</guid>
		</item>
		<item>
			<title>Error reporting</title>
			<link>http://www.java-forums.org/blogs/jmeter/1430-error-reporting.html</link>
			<pubDate>Fri, 27 Apr 2012 17:26:08 GMT</pubDate>
			<description>JMeter reports warnings and errors to the jmeter.log file, as well as some information on the test run itself. Just occasionally there may be some...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">JMeter reports warnings and errors to the jmeter.log file, as well as some information on the test run itself. Just occasionally there may be some errors that JMeter is unable to trap and log; these will appear on the command console. If a test is not behaving as you expect, please check the log file in case any errors have been reported (e.g. perhaps a syntax error in a function call). <br />
<br />
Sampling errors (e.g. HTTP 404 - file not found) are not normally reported in the log file. Instead these are stored as attributes of the sample result. The status of a sample result can be seen in the various different Listeners.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1430-error-reporting.html</guid>
		</item>
		<item>
			<title>Stopping a Test</title>
			<link>http://www.java-forums.org/blogs/jmeter/1429-stopping-test.html</link>
			<pubDate>Fri, 27 Apr 2012 17:25:31 GMT</pubDate>
			<description><![CDATA[There are two types of stop command available from the menu:  
 
	Stop (Control + '.') - stops the threads immediately if possible. In Versions of...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">There are two types of stop command available from the menu: <br />
<br />
	Stop (Control + '.') - stops the threads immediately if possible. In Versions of JMeter after 2.3.2, many samplers are now Interruptible which means that active samples can be terminated early. The stop command will check that all threads have stopped within the default timeout, which is 5000 ms = 5 seconds. [This can be changed using the JMeter property jmeterengine.threadstop.wait ] If the threads have not stopped, then a message is displayed. The Stop command can be retried, but if it fails, then it is necessary to exit JMeter to clean up. <br />
	Shutdown (Control + ',')- requests the threads to stop at the end of any current work. Will not interrupt any active samples. The modal shutdown dialog box will remain active until all threads have stopped. <br />
Versions of JMeter after 2.3.2 allow a Stop to be initiated if Shutdown is taking too long. Close the Shutdown dialog box and select Run/Stop, or just press Control + '.'.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1429-stopping-test.html</guid>
		</item>
		<item>
			<title>Running a Test Plan</title>
			<link>http://www.java-forums.org/blogs/jmeter/1428-running-test-plan.html</link>
			<pubDate>Fri, 27 Apr 2012 17:24:47 GMT</pubDate>
			<description><![CDATA[To run your test plan, choose "Start" (Control + r) from the "Run" menu item. When JMeter is running, it shows a small green box at the right hand...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">To run your test plan, choose &quot;Start&quot; (Control + r) from the &quot;Run&quot; menu item. When JMeter is running, it shows a small green box at the right hand end of the section just under the menu bar. You can also check the &quot;Run&quot; menu. If &quot;Start&quot; is disabled, and &quot;Stop&quot; is enabled, then JMeter is running your test plan (or, at least, it thinks it is). <br />
<br />
The numbers to the left of the green box are the number of active threads / total number of threads. These only apply to a locally run test; they do not include any threads started on remote systems when using client-server mode.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1428-running-test-plan.html</guid>
		</item>
		<item>
			<title>Running JMeter</title>
			<link>http://www.java-forums.org/blogs/jmeter/1427-running-jmeter.html</link>
			<pubDate>Fri, 27 Apr 2012 17:24:11 GMT</pubDate>
			<description>To run JMeter, run the jmeter.bat (for Windows) or jmeter (for Unix) file. These files are found in the bin directory. After a short pause, the...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">To run JMeter, run the jmeter.bat (for Windows) or jmeter (for Unix) file. These files are found in the bin directory. After a short pause, the JMeter GUI should appear. <br />
<br />
There are some additional scripts in the bin directory that you may find useful. Windows script files (the .CMD files require Win2K or later): <br />
<br />
	jmeter.bat - run JMeter (in GUI mode by default) <br />
	jmeter-n.cmd - drop a JMX file on this to run a non-GUI test <br />
	jmeter-n-r.cmd - drop a JMX file on this to run a non-GUI test remotely <br />
	jmeter-t.cmd - drop a JMX file on this to load it in GUI mode <br />
	jmeter-server.bat - start JMeter in server mode <br />
	mirror-server.cmd - runs the JMeter Mirror Server in non-GUI mode <br />
	shutdown.cmd - Run the Shutdown client to stop a non-GUI instance gracefully <br />
	stoptest.cmd - Run the Shutdown client to stop a non-GUI instance abruptly</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1427-running-jmeter.html</guid>
		</item>
		<item>
			<title><![CDATA[JMeter's Classpath]]></title>
			<link>http://www.java-forums.org/blogs/jmeter/1426-jmeters-classpath.html</link>
			<pubDate>Fri, 27 Apr 2012 17:23:34 GMT</pubDate>
			<description>The classes from jars are automatically found by the Jmeter in the following directories: 
 
 JMETER_HOME/lib - used for utility jars 
...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">The classes from jars are automatically found by the Jmeter in the following directories:<br />
<br />
 JMETER_HOME/lib - used for utility jars<br />
 JMETER_HOME/lib/ext - used for JMeter components  <br />
<br />
One point to remember here is that you should jar any JMeter components developed by you and also you need to copy the jar into JMeter's lib/ext directory. JMeter components will be automatically found by the JMeter in any jars found here.<br />
<br />
Furthermore you should define the property search_ paths in jmeter.properties in case you don't want to put the extension jars in the lib/ext directory. And also lib/ext is intended for JMeter components only and not for utility jars so don't use lib/ext for utility jars. Remember that other jars should be placed in the lib directory - not the lib/ext directory, jars like, JavaMail, JDBC, Beanshell etc.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1426-jmeters-classpath.html</guid>
		</item>
		<item>
			<title>The principle of JMeter</title>
			<link>http://www.java-forums.org/blogs/jmeter/1425-principle-jmeter.html</link>
			<pubDate>Fri, 27 Apr 2012 17:22:52 GMT</pubDate>
			<description>The principle of JMeter is very simple. If you want to test e.g. a SOAP interface layer, all you basically need is the URL and SOAP request. Starting...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">The principle of JMeter is very simple. If you want to test e.g. a SOAP interface layer, all you basically need is the URL and SOAP request. Starting with that you can build your test plan. And this can be as fancy as you want. Using variables, counters, parameters, CSV files, loops, logs, etc. There are almost no limits in designing your test and making it as maintainable as possible.<br />
<br />
<div style="text-align: center;"><img src="http://www.java-forums.org/attachment.php?attachmentid=3709&amp;d=1335547358" border="0" alt="Name:  1.jpg
Views: 1698
Size:  27.2 KB" class="thumbnail" style="float:CONFIG" /><br />
<b>The principle of JMeter</b></div></blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1425-principle-jmeter.html</guid>
		</item>
		<item>
			<title>JMeter Installation</title>
			<link>http://www.java-forums.org/blogs/jmeter/1424-jmeter-installation.html</link>
			<pubDate>Fri, 27 Apr 2012 17:21:20 GMT</pubDate>
			<description>The installation of JMeter (if you would call it an installation) is pretty straight forward. On the website is a link to the download area of stable...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">The installation of JMeter (if you would call it an installation) is pretty straight forward. On the website is a link to the download area of stable versions. You also have the possibility to use nightly builds, but this is at your own risk. No guarantee that they work properly. So the advice is always to start with a stable version.<br />
<br />
Download the latest version (zip or tgz) and unpack the archive to a local folder. Before starting JMeter it is wise to have a look at the configuration. The jmeter.properties file (located in the bin folder) contains a lot of settings. Most of those settings should be fine for the average user. The file is well documented and easy to read (and change where needed).<br />
<br />
Also pay attention to needed additional jars. If you are going to use for example JDBC, JMS or JavaMail additional jars are not included in the JMeter installation. The user guide on the website explains how to use it and where to get it.<br />
<br />
Starting JMeter is just a matter of double clicking jmeter.bat in the bin folder.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1424-jmeter-installation.html</guid>
		</item>
		<item>
			<title>Apache JMeter Features</title>
			<link>http://www.java-forums.org/blogs/jmeter/1423-apache-jmeter-features.html</link>
			<pubDate>Fri, 27 Apr 2012 17:20:27 GMT</pubDate>
			<description>Apache JMeter features include:  
	Can load and performance test many different server types:  
o	Web - HTTP, HTTPS  
o	SOAP  
o	Database via JDBC ...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Apache JMeter features include: <br />
	Can load and performance test many different server types: <br />
<div style="margin-left:40px">o	Web - HTTP, HTTPS <br />
o	SOAP <br />
o	Database via JDBC <br />
o	LDAP <br />
o	JMS <br />
o	Mail - POP3(S) and IMAP(S)</div>	Complete portability and 100% Java purity . <br />
	Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups. <br />
	Careful GUI design allows faster operation and more precise timings. <br />
	Caching and offline analysis/replaying of test results. <br />
	Highly Extensible: <br />
<div style="margin-left:40px">o	Pluggable Samplers allow unlimited testing capabilities. <br />
o	Several load statistics may be choosen with pluggable timers . <br />
o	Data analysis and visualization plugins allow great extensibility as well as personalization. <br />
o	Functions can be used to provide dynamic input to a test or provide data manipulation. <br />
o	Scriptable Samplers (BeanShell is fully supported; and there is a sampler which supports BSF-compatible languages)</div></blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1423-apache-jmeter-features.html</guid>
		</item>
		<item>
			<title>Apache JMeter</title>
			<link>http://www.java-forums.org/blogs/jmeter/1422-apache-jmeter.html</link>
			<pubDate>Fri, 27 Apr 2012 17:19:39 GMT</pubDate>
			<description>The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.<br />
<br />
Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.</blockquote>

]]></content:encoded>
			<dc:creator>JMeter</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/jmeter/1422-apache-jmeter.html</guid>
		</item>
	</channel>
</rss>
