Hi Mark, On Wed, Apr 27, 2011 at 11:47 PM, Mark Adamcin <[email protected]> wrote: > ...I'm excited to get started with using this framework for CQ 5.4 > applications...
Cool ;-) > ...I thought I'd jump in with the Scriptable Tests Provider, but > I ran into a snag, identified by the following stack trace snippet... > ..."verifyContent[0](org.apache.sling.junit.scriptable.TestAllPaths): > Expecting > HTTP status 200 for path /apps/geometrixx/test-content/example.test.txt > expected:<200> but was:<500>"... Did you try requesting /apps/geometrixx/test-content/example.test.txt directly with curl or with a browser? It looks like that fails, if that's the case the problem is independent from the testing framework. All what TestAllPaths does is make an internal request to that path and expect TEST_PASSED in the response, so first step would be to test this via HTTP. One problem might be credentials, as currently TestAllPaths doesn't provide them, but you shouldn't get a 500 if that's the problem. -Bertrand
