Response Verification View

Avoid executing tests without controlling the received content of URL calls by comparing them to the originally recorded data.

(blue star) Many errors from Web server applications are embedded inside valid HTTP 200 responses. Therefore, the content of the responses must be also be checked to detect content errors under load.

For this reason, ZebraTester examines the content of all recorded URL calls, and automatically applies a content check per each URL call using a heuristic algorithm. This algorithm performs content checks by searching for an ASCII-text string inside the received content; however, if this seems to be impossible, or if this doesn't seem to make sense, the received content is checked by its size (content length) instead of by searching an ASCII-text string.

So you can use one (or more) variables from the Var Handler as part of a test-string on the URL using the Response Verification view.

When in the Main Menu there will are two alternate views of the recorded data, one that is a waterfall view of the URL Calls, with the specific recorded information for each row.

Two icons will be found in the upper right that will indicate if you are in the waterfall view (square table) or in the Response Verification view (gear).

So, if you are in the waterfall view (Above(blue star)) click the waterfall icon to access the Response Verification View

This will produce a view with a rightmost column titled: “Response Verification”. In this view, look for the magnifier icon on each line that will open the HTTP Response Verification & Failure Action Dialog.

Close-up view of hovering over the magnifier icon. Notice each line has its own icon:

After clicking the magnifier icon:

You select certain responses and then use them as verifications (with the above options) that will be recalled (and applied) when generating the load test program execution.

All modifications of the response verification are stored together with the recorded web surfing session and reapplied if the web surfing session is reloaded.

During the execution of a load test program, the HTTP response code and the received MIME type of each URL call is always compared with the originally-recorded response from the web surfing session (if not disabled manually). The response verification menu allows the specification of how received content is to be tested:

The Response Verification Options

Reset Settings

By clicking on the Apply Default Settings button at the bottom of the window you can undo your changes and the default settings are reapplied.


Text Operations

Instead of searching the occurrence of a simple text fragment, the following Text Operations are also supported:

String

Description

 ![<search text>]

 The search text must not occur inside the received content.

 #<int>[<search text>]

 The search text must occur exactly <int> times inside the received content.

 #<int>-[<search text>]

 The search text must occur a minimum of <int> times inside the received content.

 #<int1>-<int2>[<search text>]

 The search text must occur a minimum of <int1> times, but not more than <int2> times, inside the received content.

Search Text Examples

Text

Description

hello

The search text "hello" must occur at least once inside the received content.

![ORA-01652]

The search text "ORA-01652" must not occur inside the received content.

#1[Dear Mr.]

The search text "Dear Mr." must occur exactly one time inside the received content.

#1-2[Order Number]

The search text "Order Number" must occur a minimum of one time and a maximum of two times inside the received content.

#3-[new order]

The search text "new order" must occur a minimum of three times inside the received content.

note

Note: One or more variable text patterns in the form of ${<variable name>} are supported as a part of the search text; for example, Welcome ${gender} {$name}.

Note: One or more variable text patterns in the form of ${<variable name>} are supported as a part of the search text; for example, Welcome ${gender} {$name}.