Test that variables can be defined in url input



Test a variable defined in system properties


System property setter fixture
key value
xKey xValue
script
start Page Builder
attributes Test=true
line xKey is ${xKey}
page VariablePage
Response Requester.
uri valid? contents?
VariablePage?responder=getPage&xKey=xUriValue true
Response Examiner.
type pattern matches? wrapped html?
contents xKey is xUriValue true

Test a variable re-defined via URL


script
start Page Builder
attributes Test=true
line !define xKey [page defined]
line xKey is ${xKey}
page VariablePage
Response Requester.
uri valid? contents?
VariablePage?responder=getPage&xKey=xUriValue true
Response Examiner.
type pattern matches? wrapped html?
contents xKey is xUriValue true