SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
teaching:labs:xp:2008b:s10_refactor_c-s-communication [2008/09/08 09:44]
christian.mohr
teaching:labs:xp:2008b:s10_refactor_c-s-communication [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== S10: Refactor C-S-Communication ======
 +===== Server response correct =====
  
 + 1. server has predefined state\\
 +
 +== Validation of sending ==
 + 
 + 2. generate action instance on client\\
 + 3. generate action instance on client\\
 + 4. add action to client-queue\\
 + 5. client sends merged queued data to server\\
 + 6. server recieves HTML-data\\
 + 7. compare received HTML-data (client update)\\
 +
 +== Server generates correct action ===
 +
 + 8. server generates action instance from HTML-data\\
 + 9. observer on server recieves action\\
 +10. compare content of action object\\
 +
 +== Validation of server HTML-response ==
 +
 +11. server updates queue with state\\
 +12. server generates response message\\
 +13. server sends response message\\
 +14. client receives HTML-data\\
 +15. compare received HTML-data to state (predefined + client update)\\
 +
 +== Client generates correct actions ==
 +
 +16. client generates action instances from HTML-data\\
 +17. observer on client receives actions\\
 +18. compare content of action objects\\
 +19. client deletes sent data from queue\\
 +
 +
 +
 +
 +===== Server response incorrect =====
 +
 +
 + 1. server has predefined state\\
 +
 +== Validation of sending ==
 +
 + 2. generate action instance on client\\
 + 3. add action to client-queue\\
 + 4. client sends merged queued data to server\\
 + 5. server recieves HTML-data\\
 + 6. compare received HTML-data (client update)\\
 +
 +== Server generates correct action ==
 +
 + 7. server generates action instance from HTML-data\\
 + 8. observer on server recieves action\\
 + 9. compare content of action object\\
 +
 +== Validation of no server response ==
 +
 +10. server sends no response\\
 +11. client receives no response\\
 +
 +== Client handels response timeout ==
 +
 +12. client does not delete sent data from queue\\
 +
 +== Client resends queue + additional action ==
 +
 +13. generate new action instance on client\\
 +14. add new action to client-queue\\
 +15. client resends merged queued data to server\\
 +16. server recieves HTML-data\\
 +17. compare received HTML-data (client update including old queue + new action)\\
 +
 +Authors: **MIB** **CM**
teaching/labs/xp/2008b/s10_refactor_c-s-communication.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019