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 (optional, defaults to
"0"
)- -user_info (optional)
- -last_request (optional)
- -method (optional, defaults to
"GET"
)- -body (optional)
- -timeout (optional, defaults to
"10"
)- -depth (optional, defaults to
"1"
)- follow redirects up to specified depth. Default means redirects won't be followed.
- -headers (optional)
- -prefix (optional)
- -verbose (optional, boolean, defaults to
"true"
)- -basic_auth (optional, boolean, defaults to
"false"
)- Parameters:
- request (required)
- 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