JBlitz 5.1 Compatibility with Previous Releases |
 |
|
|
Due to the nature of the development work that has been undertaken for
JBlitz version 5.1, there are some areas where existing users of versions 4.0, 4.1, 4.2
and 5.0 may be affected when upgrading to version 5.1. For the most part,
however, we anticipate that the changes should be minor in nature.
The changes have been summarized in two sections: changes from 4.x to
5.0 and changes from 5.0 to 5.1. Please review the applicable section(s) when upgrading
JBlitz.
|
|
| Changes between JBlitz 5.0 and JBlitz 5.1 |
|
Test configurations: Configuration files from versions 5.0 should be loadable within JBlitz
5.1. There may be
some minor changes that could affect some of your test settings.
Therefore we advise you to review the configurations loaded into
version 5.1 just to check that they are setup as expected.
Page level error text detection: The format of the symbol used to indicate a prior substitution in the error search text has
changed. A new symbol has been added. See below.
Customization API: Minor modifications - see below.
|
|
| Page level error text detection
|
|
|
The format for the symbol used within the page level error text detection
search text to indicate a prior substitution has been altered in JBlitz 5.1 compared to 5.0.
|
|
| 5.0 Symbol |
5.1 Symbol |
Comment |
| %p1 ... %p9 |
$p1$ ... $p9$ |
This change applies only to the way a prior substitution is
referenced within the search text. The use of %p1 ... %p9 within
test URLs to regenerate a prior substitution remains unchanged.
|
Additionally, a new symbol has been introduced in 5.1, $p1d$ ...
$p9d$. This can be used within you search text as a marker for the URL
decoded version of the nth prior substitution. JBlitz will substitute the
appropriate value, URL decoded, that was generated for the substitution
before performing the error text search. See the help page for how
to configure page level error text detection within JBlitz.
|
|
| Modifications to the customization API in JBlitz 5.1 |
|
|
A couple of minor changes have occurred to this API in the move from
5.0 to 5.1. These changes might affect code you have written to the old
API.
Changes: the following list describes mainly method name changes that have
occurred in the move from 5.0 to 5.1. Much of this is due to the addition
of PUT, DELETE and HEAD request methods in 5.1 over and above the basic
GET and POST of 5.0:
- The method getPostData() in the interface com.clan.jblitz.custom.engine.RequestURL
and the class com.clan.jblitz.custom.engine.BasicRequestURL has been renamed to
getEntityData().
- The method createPostDataRequestURL() in the class com.clan.jblitz.custom.engine.BasicRequestURL has been renamed to
createEntityDataRequestURL().
- Addition of the following methods to the class com.clan.jblitz.custom.engine.ProxyConfiguration
for the purposes of handling proxy authorization: getHttpProxyUserName(),
getHttpProxyPassword(), getHttpCredentials(), getSslProxyUserName(),
getSslProxyPassword(), getSslCredentials(), getSslCredentialsWithFallback().
- The methods formatGetRequest() and formatPostRequest()
in the interface com.clan.jblitz.custom.engine.QueryExtension
and the class com.clan.jblitz.custom.engine.DefaultQueryExtension
have been amalgamated into the single method formatRequest().
- The method testRunEnding() has been removed from the interface com.clan.jblitz.custom.engine.event.TestRunListener.
New features: JBlitz 5.1 has introduced two additional plug-in modules:
More information: Read about the JBlitz 5.1 customization API including the
new URL assistants and dynamic substitution generators is on our customization
help page.
Full Javadoc for programming customization modules within the
customization API is available here.
|
|
| Changes between JBlitz 4.x and JBlitz 5.0 |
|
-
Test configurations: Configuration files from versions 4.0,
4.1 and 4.2 should all be loadable within JBlitz 5.0. There may be
some minor changes that could affect some of your test settings.
Therefore we advise you to review the configurations loaded into
version 5.0 just to check that they are setup as expected.
-
Test results: Test results files from versions 4.0, 4.1 and
4.2 will be loadable within JBlitz 5.0. However, the format of error
records has changed from 4.x to 5.0, so you may find that your old
test results loaded into JBlitz 5.0 will not show errors previously
encountered.
-
Dynamic substitutions: Enhancements - see below.
-
Customization API: Minor modifications and new features - see below.
-
Licensing: for purchasers of the full version of JBlitz, the
licensing scheme has changed. Upgraded 4.0, 4.1 and 4.2 license holders will be issued
with new licenses for version 5.0.
|
|
| Modifications to dynamic substitutions in JBlitz 5.0 |
|
|
Test URLs from versions 4.0, 4.1 and
4.2 that contain dynamic substitution elements may well be affected by
the changes in the area of dynamic substitutions. Please review your test URLs when upgrading
to version 5.0. Some of the 4.2 substitution types
have been modified to rationalize their usage and improve them.
Several new substitution types have been added for 5.0.
The following table lists the substitutions available in JBlitz 4.2 and JBlitz 5.0
alongside details of what has changed. The principal
changes concern the integer substitutions at the top of the table and the
addition of new substitution types %r00 ... %r99, %t, %T and %z00 ... %z99.
Further information on dynamic substitutions and their usage within
JBlitz 5.0 is given in the help.
|
|
| 4.2 Substitution |
5.0 Substitution |
Changes from 4.2 -> 5.0 |
| %i |
%i00 ... %i99 |
was: random integer between 0 and 5 inclusive
now: user configurable integer range (note extra 00 ...
99 appended)
|
| %j or %J |
%j or %J |
was: random integer between 0 and 20 inclusive
now: random single digit (integer between 0 and 9 inclusive)
|
| %k or %K |
%k or %K |
was: random integer between 0 and 100 inclusive
now: random integer between 0 and 99 inclusive
|
| %l or %L |
%l or %L |
was: random integer between 0 and 1000 inclusive
now: random integer between 0 and 999 inclusive
|
| %m or %M |
%m or %M |
was: random integer between 0 and 99999 inclusive
now: random integer between 0 and 100000 inclusive
|
| %n or %N |
%n or %N |
was: random integer between 0 and 9999999 inclusive
now: random integer between 0 and 10000000 inclusive
|
| - |
%p1 ... %p9 |
new!: regeneration of a previously substituted value
|
| - |
%r00 ... %r99 |
new!: user configurable floating point range
|
| %s |
%s |
was: random lower case string, average length 6 chars
now: unchanged
|
| %S |
%S |
was: random upper case string, average length 6 chars
now: unchanged
|
| - |
%t |
new!: true or false chosen at random with a 50/50 chance of each
|
| - |
%T |
new!: TRUE or FALSE chosen at random with a 50/50 chance of each
|
| %x00 ... %x99 |
%x00 ... %x99 |
was: the contents of a user specified file
now: unchanged
|
| %y00 ... %y99 |
%y00 ... %y99 |
was: test data item chosen from a user specified list of test data items
now: as before, but with extra selection options
|
| - |
%z00 ... %z99 |
new! test data item chosen from a list of items in a user specified file
|
|
|
| Modifications to the customization API in JBlitz 5.0 |
|
|
Some relatively minor changes have occurred to this API in the move from 4.x to
5.0. These changes might affect code you have written to the old
API.
Changes: The following list describes classes removed and introduced and changes
to method signatures in the move from 4.x to 5.0:
- Removal of com.clan.jblitz.custom.engine.BasicRequestContext class.
This class does not need to be publicly accessible as all
references to it are via the underlying com.clan.jblitz.custom.engine.RequestContext
interface.
- Changes to the com.clan.jblitz.custom.engine.QueryExtension
interface:
- The method public boolean isCustomDownloadSequence() has been replaced by the method public DownloadSequence getCustomDownloadSequence(int, String)
- The method public NextPageInfo nextWebpage(RequestContext) has been removed
(obsolete).
- The parameter ProxyConfiguration proxyConfig
has been added to the methods formatGetRequest() and formatPostRequest().
- The method signature for the method disconnect() has been
altered to introduce the input and output streams to be closed on
disconnection.
- The class com.clan.jblitz.custom.engine.NextPageInfo has been removed (see above).
- The class com.clan.jblitz.custom.engine.DownloadSequence has been introduced (see above).
- The class com.clan.jblitz.custom.engine.ProxyConfiguration
has been introduced (see above).
New features: JBlitz 5.0 has seen the introduction of two new ways of customize using your own Java code. These are:
- Response checkers - Java classes used to check the validity of any given response page or headers.
- Response informers - Java classes used to integrate with third party software and / or provide alerts or system notifications on any given
response page download.
More information: Read about the JBlitz 5.0 customization API including the
new response checkers and response informers is on our customization
help page.
Full Javadoc for programming customization modules within the
customization API is available here.
|