The Grinder 3.0 Beta 29 is released
"Philip Aston" <[email protected]> Sun, 9 Apr 2006 14:42:55 +0100
| Newsgroups | gmane.comp.java.grinder.announce |
|---|---|
| Message-ID | <[email protected]> |
The Grinder 3.0 Beta 29 can be downloaded from
http://sourceforge.net/projects/grinder
New HTTP Plugin filter; fixes.
- Phil
The Grinder 3.0-beta29
----------------------
Nested Tests are supported. That is, you can now use a Test to
instrument script code that calls things wrapped by other Tests.
A __target__ field has been added to test proxy wrappers, allowing
convenient access to the wrapped object.
New implementation of the HTTPPlugin TCPProxy filter. Key new
features over the previous filter (which is deprecated):
- Records to a single script.
- Basic Authorization is recorded.
- Modular implementation based on an XSLT style sheet.
- Requests are grouped together into pages, using simple rules that
guess the resources belonging to a page based on the resource type.
Pages are instrumented as separate tests.
- Name value tokens are identified in URL path parameters and query
strings and mapped to script variables. Most session tokens that
encoded in URLs or present in hidden form fields will now be
handled automatically.
Several changes to the script API, including:
net.grinder.plugin.http.HTTPRequest:
- Removed addHeader(), deleteHeader()
- Header arrays passed to GET, POST, etc. are now merged with the
default values held by the HTTPRequest. Previously they setting
an array on the request overrode all the default values.
net.grinder.plugininterface.PluginThreadContext:
- getStartTime(), startTimedSection(), stopTimedSection() have
been replaced with pauseClock(), resumeClock() to support nested
tests. (Since now there can be multiple active dispatch contexts).
net.grinder.script.Statistics:
- Query methods now return meaningful results within wrapped code.
- Added getStatisticsIndexMap. Thanks to Beecher Greenman for
reporting this omission.
net.grinder.plugin.http.HTTPUtilities
- New class. This has methods that HTTP scripts might find useful.
The HTTPClient Authorization module is no longer enabled by default
because it prevents raw Authorization headers being sent through.
The module also slows things down as HTTPClient must parse responses
for challenges. Advanced users who still wish to use the HTTPClient
Authorization module can enable it with the new
HTTPPluginConnection.setUseAuthorizationModule() method. The
following convenience wrappers around the HTTPClient API were also
removed: addBasicAuthorization(), removeBasicAuthorization(),
addDigestAuthorization(), removeDigestAuthorization().
The worker process to console communication has been made more
efficient, and a race condition which caused "Ignoring unknown test"
messages has been removed. Thanks to Dhinakar K for the report.
The Grinder can now optionally use J2SE 5 System.nanoTime() which
might give more precision on some platforms. Times are still
reported in milliseconds. See the grinder.useNanoTime property.
Thanks to Tom Barnes for requesting this feature.
Fix console file scanning to used the same filtering as the file
distributon. Thanks to whoever reported this. (Bug 1447361).
The HTTP proxy code in the TCPProxy has been improved; this should
address problems seen when chaining TCPProxy's together as HTTPS
proxies. Thanks to Justin Nowell for prompting me to look at this.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642