Your system must pass these Web API conformance tests in order to confirm that the functionality is used and supported properly.
All scenarios enumerated below include all dependencies; if you are testing for more than one scenario, developers should account for current state of server connection before sending API calls that will either throw errors or create unnecessary traffic.
Notice that customers need only test the scenarios they will use in production environment.
Conformance tests are self-guided. As noted above, you are only responsible for testing the parts of the system that pertain to your application. Once you have completed testing, please send logs and your test plan to apihelp@cqg.com, CQG will verify the results and make suggestions and or certify your product.
CQG Web API Conformance Test Plan |
|||
1. Please specify the features you have tested (which you will use in production) in the (Pass/Fail/ Untested) column. |
|||
2. For each "Detailed Features" you choose, log all your sent Requests and received server Reports. |
|||
Notice that all your requests and reports should contain (UTC) timestamps. |
|||
3. Email this sheet with your logs to apihelp@cqg.com, make sure that your log files are within 3MB in size. |
|||
4. CQG API group will review your logs to pass your conformance test. |
|||
Stages |
Stage Description |
Detailed Features |
Pass/Fail Untested |
Stage 1 |
Logon and Logoff |
Successful Logon and Logoff |
|
Invalid Logon |
|
||
Expired Password |
|
||
Concurrent Session |
|
||
Successful Session Restoration After Disconnect |
|
||
Restore Session with Invalid Session Token |
|
||
Successful Password Change |
|
||
Invalid Password Change |
|
||
Ping Pong messages |
|
||
User messages |
|
||
Successful Logon with One-Time Password |
|
||
Stage 2 |
Instrument Resolution and Session Information |
Successful Symbol Resolution |
|
Subscription and Contract Update |
|
||
Instrument Group Request |
|
||
Instrument Group Request Subscription |
|
||
Session Information |
|
||
Session Information Subscription |
|
||
Symbols by Underlying and Child Symbols |
|
||
Symbols by Underlying and Child Symbols Subscriptions |
|
||
At-the-Money Strike |
|
||
At-the-Money Strike Subscription |
|
||
Stage 3 |
Trade Subscription and Order Request |
Successful Order Requests |
|
Modify Order |
|
||
Cancel Order |
|
||
Place a Suspended Order, Activate Order |
|
||
Successful Position Status Requests |
|
||
Successful Collateral Status Requests |
|
||
Successful Account Summary Status Requests |
|
||
Stage 4 |
Market Data and Real-Time Subscription |
Market Data Subscription |
|
Stage 5 |
Bar Data |
Time Bar Requests |
|
Up to Current Time Bar Requests |
|
||
Drop Time Bar Requests |
|
||
Stage 6 |
Time and Sales Data |
Time and Sales Requests |
|
Up to Current Time and Sales Requests |
|
||
Drop Time and Sales Request |
|
||
Stage 7 |
Symbol Browsing |
Scenario #1. |
|
Scenario #2. |
|
||
Scenario #3. |
|
||
Scenario #4. |
|
.