Tag Documentation

[ tag libraries ] [ tags ]

The following document contains a summary of all the Jelly tag libraries.

Tag Libraries

[ tag libraries ] [ tags ]

Library Description
jelly:jelly
jelly:validators

jelly:jelly

Tag Name Description
credentials Basic authentication support for requests
parameter
parameterName
parameterValue
reportMessage Report message tag
request
requestBody
requestHeader Add a header to the request
session
suite
validate

jelly:validators

Tag Name Description
XPath Validator tag class
byteLength A class to check the size of an HTTP response
cookie A class to check for the existence and value of cookies
goldenFile A class to compare an HTTP response to a golden file
maxRequestTime Class to validate the request time
regexp A class to match some part of the response body to a regular expression
responseHeader Validator tag class
statusCode Validator tag class
statusText Validator tag class

Tags

[ tag libraries ] [ tags ]

jelly:credentials

Basic authentication support for requests

Attribute Name Type Description
password java.lang.String Sets the password for basic authentication
trim boolean
userName java.lang.String Sets the user name for basic authentication

jelly:parameter

Attribute Name Type Description
paramName java.lang.String
paramValue java.lang.String
trim boolean

jelly:parameterName

Attribute Name Type Description
trim boolean

jelly:parameterValue

Attribute Name Type Description
trim boolean

jelly:reportMessage

Report message tag

Attribute Name Type Description
message java.lang.String Message to write to the log
trim boolean

jelly:request

Attribute Name Type Description
followRedirects java.lang.String Sets whether or not to transmit the request over SSL.
host java.lang.String Setter for host
label java.lang.String Set the label for this suite
method java.lang.String Sets the HTTP method to use. Supports post, get, and head. Default is "get". UnsupportedOperationException if an unsupported HTTP method is set
path java.lang.String Sets the path of the document on the server, combined with the host and port
port int Setter for port
proxyHost java.lang.String Setter for defaultProxyHost
proxyPort int Setter for defaultProxyPort
secure java.lang.String Sets whether or not to transmit the request over SSL.
trim boolean
version java.lang.String HTTP version to use. Legal values are 1.0 and 1.1. 1.1 is the default.

jelly:requestBody

Attribute Name Type Description
trim boolean

jelly:requestHeader

Add a header to the request

Attribute Name Type Description
headerName java.lang.String sets header name
headerValue java.lang.String set header value
trim boolean

jelly:session

Attribute Name Type Description
label java.lang.String Set the label for this session
sessionId java.lang.String Optionally sets the session id. If a session id is specified, state information (cookies, etc.) will be shared by any session with the same id.
trim boolean

jelly:suite

Attribute Name Type Description
defaultHost java.lang.String Setter for defaultHost
defaultPort int Setter for defaultPort
defaultProxyHost java.lang.String Setter for defaultProxyHost
defaultProxyPort int Setter for defaultProxyPort
label java.lang.String Set the label for this su ite
trim boolean

jelly:validate

Attribute Name Type Description
trim boolean

validators:XPath

Validator tag class

Attribute Name Type Description
cond boolean
label java.lang.String
select java.lang.String
trim boolean
value java.lang.String

validators:byteLength

A class to check the size of an HTTP response

Attribute Name Type Description
label java.lang.String
max int Setter for maximum byte length.
min int Setter for minimum byte length.
trim boolean

validators:cookie

A class to check for the existence and value of cookies

Attribute Name Type Description
cond boolean sets whether or not this cookie is expected
label java.lang.String
name java.lang.String Setter the cookie name.
trim boolean
value java.lang.String Set the cookie value

validators:goldenFile

A class to compare an HTTP respon se to a golden file

Attribute Name Type Description
fileName java.lang.String set the file name for the golden file
ignoreWhitespace boolean whether or not to ignore whitespace
label java.lang.String
trim boolean

validators:maxRequestTime

Class to validate the request time

Attribute Name Type Description
label java.lang.String
millis int
trim boolean

validators:regexp

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

Attribute Name Type Description
cond boolean
ignoreCase boolean Setter for property ignoreCase.
label java.lang.String
pattern java.lang.String Setter for property pattern.
trim boolean

validators:responseHeader

Validator tag class

Attribute Name Type Description
cond boolean
headerName java.lang.String Sets the header name
headerValue java.lang.String The value to check for
label java.lang.String
trim boolean

validators:statusCode

Validator tag class

Attribute Name Type Description
code int
label java.lang.String
trim boolean

validators:statusText

Validator tag class

Attribute Name Type Description
label java.lang.String
text java.lang.String
trim boolean