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.

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: