Parallel Ajax Calls Allowed To Race (Bad I/O Test)
CORS pre-flight negotiation with GDP RESTful Gateway
A restful call is made to append a record, containing log name
and timestamp fields, to a GDP test log. That is followed by a
read of the log's last record, which should display the same
timestamp, appended to the "testcase" field. A completely
successful sequence (all 200 responses) verifies that the server
is supporting CORS requirements with basic authentication.
WARNING: Because the ajax calls are allowed to race in this
test case, the GET "testcase" timestamp may or may not match
the timestamp displayed before the test. This is a test the
libgdp "bad I/O" bug and fix - not an example of good javascript
ajax call patterns.
Response Code and Response
Response Code and Response