From c657f276d8045caf41450ee882854df2f1ad1504 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 20 Feb 2011 22:03:50 +0000 Subject: Add two builtin component properties containing the current HTTP request path and query parameters. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1072763 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/server/httpd-test | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sca-cpp/trunk/modules/server/httpd-test') diff --git a/sca-cpp/trunk/modules/server/httpd-test b/sca-cpp/trunk/modules/server/httpd-test index 050becdb24..e39412fe11 100755 --- a/sca-cpp/trunk/modules/server/httpd-test +++ b/sca-cpp/trunk/modules/server/httpd-test @@ -69,6 +69,13 @@ if [ "$rc" = "0" ]; then rc=$? fi +# Test built-in properties +if [ "$rc" = "0" ]; then + $curl_prefix/bin/curl 'http://localhost:8090/properties?id=1&method=print' >tmp/json-properties.txt 2>/dev/null + diff tmp/json-properties.txt htdocs/test/json-properties.txt + rc=$? +fi + # Cleanup ../http/httpd-stop tmp sleep 2 -- cgit v1.2.3