acs::test::http (public)
acs::test::http [ -user_id user_id ] [ -user_info user_info ] \ [ -last_request last_request ] [ -method method ] [ -body body ] \ [ -timeout timeout ] [ -depth depth ] [ -headers headers ] \ [ -prefix prefix ] [ -verbose ] [ -basic_auth ] request
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Run an HTTP request against the actual server inside test cases.
- Switches:
- -user_id
(defaults to"0"
) (optional)- -user_info
(optional)- -last_request
(optional)- -method
(defaults to"GET"
) (optional)- -body
(optional)- -timeout
(defaults to"10"
) (optional)- -depth
(defaults to"1"
) (optional)- follow redirects up to specified depth. Default means redirects won't be followed.
- -headers
(optional)- -prefix
(optional)- -verbose
(boolean) (defaults to"true"
) (optional)- -basic_auth
(boolean) (defaults to"false"
) (optional)- Parameters:
- request
- Author:
- Gustaf Neumann
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- webtest_example, password_recovery_page, front_page_1, ad_context_bar_multirow, create_form_with_form_instance, create_form_with_numeric, form_validate, nested_self_references