acs::test::url (public)

 acs::test::url

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

Returns:
the test URL representing our system for testing. This would normally look like the output of ns_conn location, unless it was overridden via the TestURL parameter in this package.

Partial Call Graph (max 5 caller/called nodes):
%3 test_webtest_example webtest_example (test acs-automated-testing) acs::test::url acs::test::url test_webtest_example->acs::test::url apm_package_id_from_key apm_package_id_from_key (public) acs::test::url->apm_package_id_from_key parameter::get parameter::get (public) acs::test::url->parameter::get acs::test::http acs::test::http (public) acs::test::http->acs::test::url packages/acs-core-docs/www/files/tutorial/myfirstpackage-procs.tcl packages/acs-core-docs/ www/files/tutorial/myfirstpackage-procs.tcl packages/acs-core-docs/www/files/tutorial/myfirstpackage-procs.tcl->acs::test::url twt::do_request twt::do_request (public) twt::do_request->acs::test::url twt::user::login twt::user::login (public) twt::user::login->acs::test::url twt::user::logout twt::user::logout (public) twt::user::logout->acs::test::url

Testcases:
webtest_example
Source code:
        #
        # Check, if a testURL was specified in the config file
        #
        # ns_section ns/server/${server}/acs/acs-automated-testing
        #         ns_param TestURL http://127.0.0.1:8080/
        #
        set url [parameter::get  -package_id [apm_package_id_from_key acs-automated-testing]  -parameter TestURL  -default ""]
        if {$url eq ""} {
            set url [ns_conn location]
        }

        return $url
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: