It would be nice to be able to access the options defined in a server definition inside, say, http get in order to construct the path of the request. Would allow some reuse of tests by parameterizing them with server options. Or maybe it's already possible but I couldn't figure out how. Example:
server "some server", :path => "/somepath"
http do
get options[:path] do
It would be nice to be able to access the options defined in a server definition inside, say, http get in order to construct the path of the request. Would allow some reuse of tests by parameterizing them with server options. Or maybe it's already possible but I couldn't figure out how. Example: