Hello,

We're relatively new to the shindig code base.  We've successfully put our
own persistence layer in place and have been able to run the 0.8 javascript
test gadget with the shindig sample container using our persistance backend:


http://opensocial-resources.googlecode.com/svn/tests/trunk/suites/0.8/compliance/reference.xml

When we try to run the 0.8 REST test gadget however, we run into problems:

http://opensocial-resources.googlecode.com/svn/tests/trunk/suites/0.8/restful/restful.xml

The gadget asks for the base URL, which we provide as  (we're running with
jetty):

http://localhost:8080/social/rest

When the tests run, we get either a fail or warning on every test, due to
the security token (st) being set to "".   When we try to add the security
token parameter to the base url (as the text in the gadget box seems to
imply):

Sample url: http://BASEURL?field=value1&TOKEN-PREFIX=SECURITY-TOKEN

the '=' gets urlencoded and simply becomes part of the url parameter.

Can anybody give me some pointers as to what we might be doing wrong?  I
guess I'm puzzled as to why the javascript test gadget runs fine and has no
problems sending up the right security token when ran in the sample
container, but the REST test gadget seems to not work.

Incidently, I have done smoke tests manually (via the browser) on the
RESTful apis and they seem to be working ok.

Thanks in advance,
Jonathan

Reply via email to