Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:jelly
jelly:validators

jelly:jelly

Tag NameDescription
credentialsBasic authentication support for requests
parameter
parameterName
parameterValue
reportMessageReport message tag
request
requestBody
requestHeaderAdd a header to the request
session
suite
validate

jelly:validators

Tag NameDescription
XPathValidator tag class
byteLengthA class to check the size of an HTTP response
cookieA class to check for the existence and value of cookies
goldenFileA class to compare an HTTP response to a golden file
maxRequestTimeClass to validate the request time
regexpA class to match some part of the response body to a regular expression
responseHeaderValidator tag class
statusCodeValidator tag class
statusTextValidator tag class

Tags

[tag libraries] [tags]

jelly:credentials

Basic authentication support for requests

Attribute NameTypeDescription
escapeTextboolean
passwordjava.lang.StringSets the password for basic authentication
trimboolean
userNamejava.lang.StringSets the user name for basic authentication

jelly:parameter

Attribute NameTypeDescription
escapeTextboolean
paramNamejava.lang.String
paramValuejava.lang.String
trimboolean

jelly:parameterName

Attribute NameTypeDescription
escapeTextboolean
trimboolean

jelly:parameterValue

Attribute NameTypeDescription
escapeTextboolean
trimboolean

jelly:reportMessage

Report message tag

Attribute NameTypeDescription
escapeTextboolean
messagejava.lang.StringMessage to write to the log
trimboolean

jelly:request

Attribute NameTypeDescription
escapeTextboolean
followRedirectsjava.lang.StringSets whether or not to transmit the request over SSL.
hostjava.lang.StringSetter for host
labeljava.lang.StringSet the label for this suite
methodjava.lang.StringSets the HTTP method to use. Supports post, get, and head. Default is "get". UnsupportedOperationException if an unsupported HTTP method is set
pathjava.lang.StringSets the path of the document on the server, combined with the host and port
portintSetter for port
proxyHostjava.lang.StringSetter for defaultProxyHost
proxyPortintSetter for defaultProxyPort
securejava.lang.StringSets whether or not to transmit the request over SSL.
trimboolean
versionjava.lang.StringHTTP version to use. Legal values are 1.0 and 1.1. 1.1 is the default.

jelly:requestBody

Attribute NameTypeDescription
escapeTextboolean
trimboolean

jelly:requestHeader

Add a header to the request

Attribute NameTypeDescription
escapeTextboolean
headerNamejava.lang.Stringsets header name
headerValuejava.lang.Stringset header value
trimboolean

jelly:session

Attribute NameTypeDescription
escapeTextboolean
labeljava.lang.StringSet the label for this session
sessionIdjava.lang.StringOptionally sets the session id. If a session id is specified, state information (cookies, etc.) will be shared by any session with the same id.
trimboolean

jelly:suite

Attribute NameTypeDescription
defaultHostjava.lang.StringSetter for defaultHost
defaultPortintSetter for defaultPort
defaultProxyHostjava.lang.StringSetter for defaultProxyHost
defaultProxyPortintSetter for defaultProxyPort
escapeTextboolean
labeljava.lang.StringSet the label for this suite
trimboolean

jelly:validate

Attribute NameTypeDescription
escapeTextboolean
trimboolean

validators:XPath

Validator tag class

Attribute NameTypeDescription
condboolean
escapeTextboolean
labeljava.lang.String
selectjava.lang.String
trimboolean
valuejava.lang.String

validators:byteLength

A class to check the size of an HTTP response

Attribute NameTypeDescription
escapeTextboolean
labeljava.lang.String
maxintSetter for maximum byte length.
minintSetter for minimum byte length.
trimboolean

validators:cookie

A class to check for the existence and value of cookies

Attribute NameTypeDescription
condbooleansets whether or not this cookie is expected
escapeTextboolean
labeljava.lang.String
namejava.lang.StringSetter the cookie name.
trimboolean
valuejava.lang.StringSet the cookie value

validators:goldenFile

A class to compare an HTTP response to a golden file

Attribute NameTypeDescription
escapeTextboolean
fileNamejava.lang.Stringset the file name for the golden file
ignoreWhitespacebooleanwhether or not to ignore whitespace
labeljava.lang.String
trimboolean

validators:maxRequestTime

Class to validate the request time

Attribute NameTypeDescription
escapeTextboolean
labeljava.lang.String
millisint
trimboolean

validators:regexp

A class to match some part of the response body to a regular expression

Attribute NameTypeDescription
condboolean
escapeTextboolean
ignoreCasebooleanSetter for property ignoreCase.
labeljava.lang.String
patternjava.lang.StringSetter for property pattern.
trimboolean

validators:responseHeader

Validator tag class

Attribute NameTypeDescription
condboolean
escapeTextboolean
headerNamejava.lang.StringSets the header name
headerValuejava.lang.StringThe value to check for
labeljava.lang.String
trimboolean

validators:statusCode

Validator tag class

Attribute NameTypeDescription
codeint
escapeTextboolean
labeljava.lang.String
trimboolean

validators:statusText

Validator tag class

Attribute NameTypeDescription
escapeTextboolean
labeljava.lang.String
textjava.lang.String
trimboolean