~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to load_test_scripts/simple.script

  • Committer: John Arbash Meinel
  • Date: 2011-03-15 10:24:40 UTC
  • mfrom: (432.1.3 loggerhead)
  • Revision ID: john@arbash-meinel.com-20110315102440-n4zr988738z125cd
Merge fix for bug #569358. Redirect requests so people can URL hack.

If you edit /files/directory to become /files/directory/filename, redirect it to
the /view/directory/filename, and conversly if you go to /view/directory redirect
it to /files/directory. This way people can edit the URL in a logical way
and still get the view they are expecting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "comment": "A fairly trivial load test script. It just loads the main two pages from a loggerhead install running directly on a branch.",
 
3
    "parameters": {"base_url": "http://localhost:8080"},
 
4
    "requests": [
 
5
        {"relpath": "/changes"},
 
6
        {"relpath": "/files"}
 
7
    ]
 
8
}
 
9