diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-20 22:03:50 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-20 22:03:50 +0000 |
commit | c657f276d8045caf41450ee882854df2f1ad1504 (patch) | |
tree | c9630ad14530063e4dfe6d34b5d05ef267513018 /sca-cpp/trunk/modules/server/httpd-test | |
parent | 844d7bf0cfde2bccca36c583d4221d7b461772cf (diff) |
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
Diffstat (limited to 'sca-cpp/trunk/modules/server/httpd-test')
-rwxr-xr-x | sca-cpp/trunk/modules/server/httpd-test | 7 |
1 files changed, 7 insertions, 0 deletions
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 |