Test Report

Date
Thu Feb 28 23:43:32 2008

Legend

Informational
Information on what was being tested.
Warning
Warnings indicate behavior that, while legal, may cause
either performance or interoperability problems in the field.
Error
Errors are violations of either the Atom, AtomPub
or HTTP specifications.
Log
Detailed information on the transaction to help you
debug your service.
Success
A specific sub-test has been passed successfully.

Entry Collection

Find the first entry collection listed in an Introspection document and run the Entry collection tests against it.

  1. HTTP No ETag: header was sent with the response.
  2. HTTP No Last-Modified: header was sent with the response.
  3. Response
    
    status: 200
    content-length: 1104
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/;service_document
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    -content-encoding: gzip
    date: Fri, 29 Feb 2008 04:43:20 GMT
    content-type: application/atomsvc+xml; charset=utf-8
    
    <?xml version="1.0" ?><service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
      <workspace>
        <atom:title>AtomPub Test Site</atom:title>
          <collection href="entry/">
               <atom:title>entry</atom:title>
               <accept>application/atom+xml;type=entry</accept>
             <categories fixed="yes"/>
          </collection>
          <collection href="draft/">
               <atom:title>draft</atom:title>
               <accept>application/atom+xml;type=entry</accept>
             <categories fixed="yes"/>
          </collection>
          <collection href="trash/">
               <atom:title>trash</atom:title>
               <accept>application/atom+xml;type=entry</accept>
             <categories fixed="yes"/>
          </collection>
          <collection href="media/">
               <atom:title>media</atom:title>
            <accept>*/*</accept>
             <categories fixed="yes"/>
          </collection>
          <collection href="trash/">
               <atom:title>trash</atom:title>
            <accept>*/*</accept>
             <categories fixed="yes"/>
          </collection>
      </workspace>
    </service>

Basic Entry Manipulation

Add and remove three entries to the collection

  1. Service Document: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/
  2. Count the entries in the collection
  3. Response
    
    status: 200
    content-length: 4409
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "f5be8f1fe3d90a95db82302c63404cb8"
    date: Fri, 29 Feb 2008 04:43:21 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
       <title type="text">BitWorking | Joe Gregorio</title>
       <link href="http://bitworking.org/projects/apptestsite/app.cgi/service/entry/" rel="self"/>
       <link href="http://bitworking.org/" rel="alternate"/>
       <icon>http://bitworking.org/favicon.ico</icon>
       <updated>2008-02-28T09:57:08.303337-04:00</updated>
       <author>
          <name>Joe Gregorio</name>
       </author>
       <id>http://bitworking.org/</id>
       <entry>
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/135/eadledkeai"/>
         <link href="135/" rel="edit"/>
         <link href="135/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/135/eadledkeai</id>
         <updated>2008-02-28T09:57:08.303337-04:00</updated>
         <app:edited>2008-02-28T09:57:08.303337-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/134/dlejicgkgh"/>
         <link href="134/" rel="edit"/>
         <link href="134/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/134/dlejicgkgh</id>
         <updated>2008-02-28T09:57:07.789742-04:00</updated>
         <app:edited>2008-02-28T09:57:07.789742-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/133/gcdfhccjji"/>
         <link href="133/" rel="edit"/>
         <link href="133/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/133/gcdfhccjji</id>
         <updated>2008-02-28T09:57:07.112218-04:00</updated>
         <app:edited>2008-02-28T09:57:07.112218-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n"/>
         <link href="18/" rel="edit"/>
         <link href="18/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.728886-04:00</updated>
         <app:edited>2008-02-26T10:07:50.728886-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n"/>
         <link href="17/" rel="edit"/>
         <link href="17/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.155465-04:00</updated>
         <app:edited>2008-02-26T10:07:50.155465-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n"/>
         <link href="16/" rel="edit"/>
         <link href="16/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:49.620100-04:00</updated>
         <app:edited>2008-02-26T10:07:49.620100-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry>
    </feed>
  4. Create new entry #1
  5. Request
    
    content-type: application/atom+xml
    slug: bhhdidjcag
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom">
    <title>Iñtërnâtiônàlizætiøn - 1</title>
    <id>tag:bitworking.org,2008-02-26:1204260201.6551061</id>
    <updated>2005-07-10T12:29:29Z</updated>
    <author>
    <name>Joe Gregorio</name>
    </author>
    <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
    <p><i>A test of utf-8</i></p>
    </div>
    </content>
    </entry>
  6. Response
    
    status: 201
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/199/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "82ba6ce623715431db0efe9b963df425"
    location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/199/
    date: Fri, 29 Feb 2008 04:43:21 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/199/bhhdidjcag"/>
         <id>http://bitworking.org/news/199/bhhdidjcag</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.031516-04:00</updated>
         <app:edited>2008-02-28T23:43:22.031516-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  7. Create new entry #2
  8. Request
    
    content-type: application/atom+xml
    slug: kebgfbjdca
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom">
    <title>Iñtërnâtiônàlizætiøn - 2</title>
    <id>tag:bitworking.org,2008-02-26:1204260202.073956</id>
    <updated>2005-07-10T12:29:29Z</updated>
    <author>
    <name>Joe Gregorio</name>
    </author>
    <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
    <p><i>A test of utf-8</i></p>
    </div>
    </content>
    </entry>
  9. Response
    
    status: 201
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/200/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "7f8dabde6364a22bc0effccb362447ac"
    location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/200/
    date: Fri, 29 Feb 2008 04:43:22 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.484253-04:00</updated>
         <app:edited>2008-02-28T23:43:22.484253-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  10. Create new entry #3
  11. Request
    
    content-type: application/atom+xml
    slug: badaeffbhl
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom">
    <title>Iñtërnâtiônàlizætiøn - 3</title>
    <id>tag:bitworking.org,2008-02-26:1204260202.5382259</id>
    <updated>2005-07-10T12:29:29Z</updated>
    <author>
    <name>Joe Gregorio</name>
    </author>
    <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
    <p><i>A test of utf-8</i></p>
    </div>
    </content>
    </entry>
  12. Response
    
    status: 201
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/201/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "a85decb37fa5aa7652b0279bac098656"
    location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/201/
    date: Fri, 29 Feb 2008 04:43:22 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/201/badaeffbhl"/>
         <id>http://bitworking.org/news/201/badaeffbhl</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.941368-04:00</updated>
         <app:edited>2008-02-28T23:43:22.941368-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  13. Count the entries in the collection after adding three.
  14. Response
    
    status: 200
    content-length: 6326
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "f68fcc69d5a5d907fb7d4922bcce94cd"
    date: Fri, 29 Feb 2008 04:43:22 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
       <title type="text">BitWorking | Joe Gregorio</title>
       <link href="http://bitworking.org/projects/apptestsite/app.cgi/service/entry/" rel="self"/>
       <link href="http://bitworking.org/" rel="alternate"/>
       <icon>http://bitworking.org/favicon.ico</icon>
       <updated>2008-02-28T23:43:22.941368-04:00</updated>
       <author>
          <name>Joe Gregorio</name>
       </author>
       <id>http://bitworking.org/</id>
       <entry>
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/201/badaeffbhl"/>
         <link href="201/" rel="edit"/>
         <link href="201/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/201/badaeffbhl</id>
         <updated>2008-02-28T23:43:22.941368-04:00</updated>
         <app:edited>2008-02-28T23:43:22.941368-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <link href="200/" rel="edit"/>
         <link href="200/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <updated>2008-02-28T23:43:22.484253-04:00</updated>
         <app:edited>2008-02-28T23:43:22.484253-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/199/bhhdidjcag"/>
         <link href="199/" rel="edit"/>
         <link href="199/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/199/bhhdidjcag</id>
         <updated>2008-02-28T23:43:22.031516-04:00</updated>
         <app:edited>2008-02-28T23:43:22.031516-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/135/eadledkeai"/>
         <link href="135/" rel="edit"/>
         <link href="135/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/135/eadledkeai</id>
         <updated>2008-02-28T09:57:08.303337-04:00</updated>
         <app:edited>2008-02-28T09:57:08.303337-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/134/dlejicgkgh"/>
         <link href="134/" rel="edit"/>
         <link href="134/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/134/dlejicgkgh</id>
         <updated>2008-02-28T09:57:07.789742-04:00</updated>
         <app:edited>2008-02-28T09:57:07.789742-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/133/gcdfhccjji"/>
         <link href="133/" rel="edit"/>
         <link href="133/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/133/gcdfhccjji</id>
         <updated>2008-02-28T09:57:07.112218-04:00</updated>
         <app:edited>2008-02-28T09:57:07.112218-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n"/>
         <link href="18/" rel="edit"/>
         <link href="18/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.728886-04:00</updated>
         <app:edited>2008-02-26T10:07:50.728886-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n"/>
         <link href="17/" rel="edit"/>
         <link href="17/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.155465-04:00</updated>
         <app:edited>2008-02-26T10:07:50.155465-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n"/>
         <link href="16/" rel="edit"/>
         <link href="16/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:49.620100-04:00</updated>
         <app:edited>2008-02-26T10:07:49.620100-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry>
    </feed>
  15. Added three entries.
  16. Check order of entries in the collection document
  17. Response
    
    status: 200
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/201/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "a85decb37fa5aa7652b0279bac098656"
    date: Fri, 29 Feb 2008 04:43:23 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/201/badaeffbhl"/>
         <id>http://bitworking.org/news/201/badaeffbhl</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.941368-04:00</updated>
         <app:edited>2008-02-28T23:43:22.941368-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  18. Response
    
    status: 200
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/200/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "7f8dabde6364a22bc0effccb362447ac"
    date: Fri, 29 Feb 2008 04:43:24 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.484253-04:00</updated>
         <app:edited>2008-02-28T23:43:22.484253-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  19. Response
    
    status: 200
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/199/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "82ba6ce623715431db0efe9b963df425"
    date: Fri, 29 Feb 2008 04:43:24 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/199/bhhdidjcag"/>
         <id>http://bitworking.org/news/199/bhhdidjcag</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.031516-04:00</updated>
         <app:edited>2008-02-28T23:43:22.031516-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  20. Order of entries is correct
  21. Response
    
    status: 304
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/200/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    -content-encoding: gzip
    etag: "7f8dabde6364a22bc0effccb362447ac"
    date: Fri, 29 Feb 2008 04:43:25 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.484253-04:00</updated>
         <app:edited>2008-02-28T23:43:22.484253-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  22. Slug was honored
  23. Member contained an 'edit' link
  24. Update entry #2 and write back to the collection
  25. Request
    
    content-type: application/atom+xml
    
    <?xml version="1.0" ?><ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom">
         <ns0:title>Internationalization - 2</ns0:title>
         <ns0:link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <ns0:id>http://bitworking.org/news/200/kebgfbjdca</ns0:id>
         <ns0:author>
            <ns0:name>Joe Gregorio</ns0:name>
         </ns0:author>
         <ns0:updated>2008-02-28T23:43:22.484253-04:00</ns0:updated>
         <ns1:edited xmlns:ns1="http://www.w3.org/2007/app">2008-02-28T23:43:22.484253-04:00</ns1:edited>
         <ns0:summary type="xhtml">
              <html:div xmlns:html="http://www.w3.org/1999/xhtml"/>
         </ns0:summary>
         <ns0:link href="." rel="edit"/>
             <ns0:content type="xhtml">
                  <html:div xmlns:html="http://www.w3.org/1999/xhtml"><html:p><html:i>A test of utf-8</html:i></html:p></html:div>
             </ns0:content>
    </ns0:entry>
  26. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:25 GMT
    content-type: text/plain
    
    
  27. Updated entry #2
  28. Check order of entries in the collection document
  29. Response
    
    status: 200
    content-length: 6319
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "f78ed5ea0b20275101226e9794be5561"
    date: Fri, 29 Feb 2008 04:43:26 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
       <title type="text">BitWorking | Joe Gregorio</title>
       <link href="http://bitworking.org/projects/apptestsite/app.cgi/service/entry/" rel="self"/>
       <link href="http://bitworking.org/" rel="alternate"/>
       <icon>http://bitworking.org/favicon.ico</icon>
       <updated>2008-02-28T23:43:26.141355-04:00</updated>
       <author>
          <name>Joe Gregorio</name>
       </author>
       <id>http://bitworking.org/</id>
       <entry>
         <title>Internationalization - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <link href="200/" rel="edit"/>
         <link href="200/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <updated>2008-02-28T23:43:26.141355-04:00</updated>
         <app:edited>2008-02-28T23:43:26.141355-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/201/badaeffbhl"/>
         <link href="201/" rel="edit"/>
         <link href="201/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/201/badaeffbhl</id>
         <updated>2008-02-28T23:43:22.941368-04:00</updated>
         <app:edited>2008-02-28T23:43:22.941368-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/199/bhhdidjcag"/>
         <link href="199/" rel="edit"/>
         <link href="199/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/199/bhhdidjcag</id>
         <updated>2008-02-28T23:43:22.031516-04:00</updated>
         <app:edited>2008-02-28T23:43:22.031516-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/135/eadledkeai"/>
         <link href="135/" rel="edit"/>
         <link href="135/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/135/eadledkeai</id>
         <updated>2008-02-28T09:57:08.303337-04:00</updated>
         <app:edited>2008-02-28T09:57:08.303337-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 2</title>
         <link href="http://bitworking.org/news/134/dlejicgkgh"/>
         <link href="134/" rel="edit"/>
         <link href="134/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/134/dlejicgkgh</id>
         <updated>2008-02-28T09:57:07.789742-04:00</updated>
         <app:edited>2008-02-28T09:57:07.789742-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/133/gcdfhccjji"/>
         <link href="133/" rel="edit"/>
         <link href="133/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/133/gcdfhccjji</id>
         <updated>2008-02-28T09:57:07.112218-04:00</updated>
         <app:edited>2008-02-28T09:57:07.112218-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n"/>
         <link href="18/" rel="edit"/>
         <link href="18/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/18/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.728886-04:00</updated>
         <app:edited>2008-02-26T10:07:50.728886-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n"/>
         <link href="17/" rel="edit"/>
         <link href="17/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/17/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:50.155465-04:00</updated>
         <app:edited>2008-02-26T10:07:50.155465-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry><entry>
         <title>Iñtërnâtiônàlizætiøn</title>
         <link href="http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n"/>
         <link href="16/" rel="edit"/>
         <link href="16/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/16/I-t-rn-ti-n-liz-ti-n</id>
         <updated>2008-02-26T10:07:49.620100-04:00</updated>
         <app:edited>2008-02-26T10:07:49.620100-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
       </entry>
    </feed>
  30. Response
    
    status: 200
    content-length: 754
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/200/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "fb4a00c2859d60cc197bec7c2b351cb3"
    date: Fri, 29 Feb 2008 04:43:26 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Internationalization - 2</title>
         <link href="http://bitworking.org/news/200/kebgfbjdca"/>
         <id>http://bitworking.org/news/200/kebgfbjdca</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:26.141355-04:00</updated>
         <app:edited>2008-02-28T23:43:26.141355-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  31. Response
    
    status: 304
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/201/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    -content-encoding: gzip
    etag: "a85decb37fa5aa7652b0279bac098656"
    date: Fri, 29 Feb 2008 04:43:27 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 3</title>
         <link href="http://bitworking.org/news/201/badaeffbhl"/>
         <id>http://bitworking.org/news/201/badaeffbhl</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.941368-04:00</updated>
         <app:edited>2008-02-28T23:43:22.941368-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  32. Response
    
    status: 304
    content-length: 761
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/entry/199/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    -content-encoding: gzip
    etag: "82ba6ce623715431db0efe9b963df425"
    date: Fri, 29 Feb 2008 04:43:27 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>Iñtërnâtiônàlizætiøn - 1</title>
         <link href="http://bitworking.org/news/199/bhhdidjcag"/>
         <id>http://bitworking.org/news/199/bhhdidjcag</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:22.031516-04:00</updated>
         <app:edited>2008-02-28T23:43:22.031516-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <content type="xhtml">
                  <div xmlns="http://www.w3.org/1999/xhtml"><p><i>A test of utf-8</i></p></div>
             </content>
    </entry>
  33. Order of entries is correct
  34. Remove entry
  35. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:28 GMT
    content-type: text/plain
    
    
  36. Remove entry
  37. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:28 GMT
    content-type: text/plain
    
    
  38. Remove entry
  39. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:29 GMT
    content-type: text/plain
    
    
  40. Removed three entries.

Basic Media Manipulation

Add and remove an image in the collection

  1. Service Document: http://bitworking.org/projects/apptestsite/app.cgi/service/media/
  2. Count the entries in the collection
  3. Response
    
    status: 200
    content-length: 528
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/media/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "e87df7332d4d90894bc8c07f7d4a2606"
    date: Fri, 29 Feb 2008 04:43:29 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
       <title type="text">BitWorking | Joe Gregorio</title>
       <link href="http://bitworking.org/projects/apptestsite/app.cgi/service/media/" rel="self"/>
       <link href="http://bitworking.org/" rel="alternate"/>
       <icon>http://bitworking.org/favicon.ico</icon>
       <updated>2006-01-01T12:00:00-04:00</updated>
       <author>
          <name>Joe Gregorio</name>
       </author>
       <id>http://bitworking.org/</id>
    </feed>
  4. Create new media entry
  5. Request
    
    content-type: image/gif
    slug: abfcbhadll
    
    
  6. Response
    
    status: 201
    content-length: 738
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/media/10/
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "78ee8b978e29ecb2afda7cdedc82187a"
    location: http://bitworking.org/projects/apptestsite/app.cgi/service/media/10/
    date: Fri, 29 Feb 2008 04:43:30 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>abfcbhadll</title>
         <link href="http://bitworking.org/news/10/abfcbhadll"/>
         <id>http://bitworking.org/news/10/abfcbhadll</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:30.700927-04:00</updated>
         <app:edited>2008-02-28T23:43:30.700927-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <link href=";media" rel="edit-media"/>
             <content src="http://bitworking.org/images/dev/10-abfcbhadll.gif" type="image/gif"/>
    </entry>
  7. Count the entries in the collection after adding three.
  8. Response
    
    status: 200
    content-length: 1115
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/media/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "3c978693d2c6c7888d08094992df78bf"
    date: Fri, 29 Feb 2008 04:43:30 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
       <title type="text">BitWorking | Joe Gregorio</title>
       <link href="http://bitworking.org/projects/apptestsite/app.cgi/service/media/" rel="self"/>
       <link href="http://bitworking.org/" rel="alternate"/>
       <icon>http://bitworking.org/favicon.ico</icon>
       <updated>2008-02-28T23:43:30.700927-04:00</updated>
       <author>
          <name>Joe Gregorio</name>
       </author>
       <id>http://bitworking.org/</id>
       <entry>
         <title>abfcbhadll</title>
         <link href="http://bitworking.org/news/10/abfcbhadll"/>
         <link href="10/" rel="edit"/>
         <link href="10/;media" rel="edit-media"/>
         <id>http://bitworking.org/news/10/abfcbhadll</id>
         <updated>2008-02-28T23:43:30.700927-04:00</updated>
         <app:edited>2008-02-28T23:43:30.700927-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
             <link href="10/;media" rel="edit-media"/>
             <content src="10/;media" type="image/gif"/>
       </entry>
    </feed>
  9. Added Media Entry
  10. Response
    
    status: 200
    content-length: 738
    content-location: http://bitworking.org/projects/apptestsite/app.cgi/service/media/10/
    -content-encoding: gzip
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    etag: "78ee8b978e29ecb2afda7cdedc82187a"
    date: Fri, 29 Feb 2008 04:43:31 GMT
    content-type: application/atom+xml; charset=utf-8
    
    <?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
         <title>abfcbhadll</title>
         <link href="http://bitworking.org/news/10/abfcbhadll"/>
         <id>http://bitworking.org/news/10/abfcbhadll</id>
         <author>
            <name>Joe Gregorio</name>
         </author>
         <updated>2008-02-28T23:43:30.700927-04:00</updated>
         <app:edited>2008-02-28T23:43:30.700927-04:00</app:edited>
         <summary type="xhtml">
              <div xmlns="http://www.w3.org/1999/xhtml"/>
         </summary>
         <link href="." rel="edit"/>
             <link href=";media" rel="edit-media"/>
             <content src="http://bitworking.org/images/dev/10-abfcbhadll.gif" type="image/gif"/>
    </entry>
  11. Slug was honored
  12. Member contained an 'edit' link
  13. Member contained an 'edit-media' link
  14. Update Media Link Entry and write back to the collection
  15. Request
    
    content-type: application/atom+xml
    
    <?xml version="1.0" ?><ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom">
         <ns0:title>Success</ns0:title>
         <ns0:link href="http://bitworking.org/news/10/abfcbhadll"/>
         <ns0:id>http://bitworking.org/news/10/abfcbhadll</ns0:id>
         <ns0:author>
            <ns0:name>Joe Gregorio</ns0:name>
         </ns0:author>
         <ns0:updated>2008-02-28T23:43:30.700927-04:00</ns0:updated>
         <ns1:edited xmlns:ns1="http://www.w3.org/2007/app">2008-02-28T23:43:30.700927-04:00</ns1:edited>
         <ns0:summary type="xhtml">
              <html:div xmlns:html="http://www.w3.org/1999/xhtml"/>
         </ns0:summary>
         <ns0:link href="." rel="edit"/>
             <ns0:link href=";media" rel="edit-media"/>
             <ns0:content src="http://bitworking.org/images/dev/10-abfcbhadll.gif" type="image/gif"/>
    </ns0:entry>
  16. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:31 GMT
    content-type: text/plain
    
    
  17. Updated Media Link Entry
  18. Remove entry
  19. Response
    
    status: 200
    content-length: 0
    vary: Accept-Encoding,User-Agent
    server: Apache
    connection: close
    date: Fri, 29 Feb 2008 04:43:32 GMT
    content-type: text/plain
    
    
  20. Removed Media Entry