Quy tr챙nh test web

1. T沼븂g quan v沼 h沼 th沼몁g 沼쯰g d沼쩸g  Web based
1.1. 휂沼땙h ngh칫a 
沼쮖g d沼쩸g Web based l횪 沼쯰g d沼쩸g m횪 휃梳톞 server t梳죍 Internet v횪 truy c梳춑 t沼 c찼c m찼y tr梳죑 t沼쌻 th척ng qua h沼 th沼몁g server trung gian c沼쬪 c찼c nh횪 cung c梳쩺 d沼땉h v沼 휃튼沼쓓g truy沼걆 ISP.  
1.1.1. C찼c 휃梳톍 휃i沼긩 c沼쬪 h沼 th沼몁g 沼쯰g d沼쩸g Web based
Ng횪y nay, c첫ng v沼쌻 s沼 ph찼t tri沼긪 m梳죒h m梳 c沼쬪 c척ng ngh沼 th척ng tin, vi沼놻 ph찼t tri沼긪 c찼c 沼쯰g d沼쩸g tr챗n m찼y 휃퉤n (沼쯰g d沼쩸g destop) 휃찾 mang l梳죍 nhi沼걏 l沼즜 챠ch trong nhi沼걏 l칫nh v沼켧 c沼쬪 휃沼쓎 s沼몁g x찾 h沼셢.
Tuy nhi챗n, c첫ng v沼쌻 s沼 ph찼t tri沼긪 r沼셬g l沼썀 c沼쬪 internet ng횪y nay th챙 xu h튼沼썀g to횪n c梳쬾 h처a trong nhi沼걏 l칫nh v沼켧 휃챵i h沼뢩 c찼c 沼쯰g d沼쩸g tr챗n m찼y t챠nh ph梳즜 c처 kh梳 n훱ng t튼퉤ng t찼c r沼셬g h퉤n 휃沼 c처 th沼 khai th찼c t沼멼 휃a ngu沼뱊 t횪i nguy챗n v척 t梳춏 tr챗n internet. 
Trong m沼뾦 doanh nghi沼뇈 vi沼놻 ph찼t tri沼긪 c찼c 沼쯰g d沼쩸g qu梳즢 l첵 tr챗n m梳죒g c횪ng c처 첵 ngh칫a h퉤n khi c찼c m梳죒g LAN hay WAN ng횪y c횪ng ph沼 bi梳퓆. C찼c 沼쯰g d沼쩸g 휃처 휃梳즡 b梳즣 t챠nh truy nh梳춑 t튼퉤ng t찼c t沼 nhi沼걏 ph챠a v횪 t횪i nguy챗n ch沼 휃梳톞 m沼셳 n퉤i m횪 ta g沼뛦 l횪 server, gi첬p d沼 qu梳즢 l첵 v횪 b梳즣 m梳춗. 
Do 휃처, c찼c 沼쯰g d沼쩸g qua m梳죒g mang l梳죍 cho ch첬ng ta nh沼칗g l沼즜 챠ch 휃찼ng k沼 v沼 t챠nh ti沼뇆 l沼즜 c크ng nh튼 v沼 m梳톞 chi ph챠. B챗n c梳죒h 휃처, b梳죒 kh척ng ph梳즜 b梳춏 t창m 휃梳퓆 v梳쩸 휃沼 c횪i 휃梳톞 沼쯰g d沼쩸g tr챗n t沼쳌g m찼y con v沼쌻 nhi沼걏 phi沼걆 to찼i, v횪 kh척ng ph梳즜 quan t창m nhi沼걏 휃梳퓆 c梳쪀 h챙nh ph梳쬷 c沼쯰g c처 휃찼p 沼쯰g 휃튼沼즓 y챗u c梳쬾 hay kh척ng쪻梳쩿 c梳 nh沼칗g g챙 b梳죒 c梳쬷 ch沼 l횪 m沼셳 h沼 th沼몁g m梳죒g c沼쩭 b沼, m沼셳 tr챙nh duy沼뇍 web v횪 m沼셳 k梳퓍 n沼멼 internet. 
V횪 th沼켧 t梳 휃찾 ch沼쯰g t沼 휃i沼걏 휃처, c찼c 沼쯰g d沼쩸g ng횪y nay 휃沼걏 h튼沼썀g t沼쌻 m梳죒g v횪 Internet, t沼 kinh doanh tr챗n Internet, qu梳즢g c찼o, h沼 th沼몁g th튼 휃i沼뇆 t沼, c크ng nh튼 th튼퉤ng m梳죍 휃i沼뇆 t沼. C찼c kh찼i ni沼뇅 휃처 휃ang g梳쬷 g크i v沼쌻 ch첬ng ta h퉤n.

M沼셳 s沼 휃i沼긩 kh찼c bi沼뇍 gi沼칊 沼쯰g d沼쩸g desktop v횪 沼쯰g d沼쩸g web:
沼쮖g d沼쩸g desktop 沼쮖g d沼쩸g Web
Ph梳즜 c횪i 휃梳톞 tr챗n t沼쳌g m찼y tr梳죑 l횪m vi沼놻 Ch沼 c횪i 휃梳톞 tr챗n m찼y ch沼
휂챵i h沼뢩 c梳쪀 h챙nh c梳쬷 thi梳퓍 khi c횪i 휃梳톞 C梳쬷 c처 h沼 th沼몁g m梳죒g n沼셢 b沼(LAN)
T沼몁 nhi沼걏 th沼쓎 gian v횪 chi ph챠 cho c횪i 휃梳톞 v횪 b梳즣 tr챙 tr챗n c梳 h沼 th沼몁g C찼c m찼y tr梳죑 l횪m vi沼놻 ch沼 c梳쬷 m沼셳 tr챙nh duy沼뇍 web
D沼 li沼뇎 ph창n t찼n D沼 li沼뇎 t梳춑 trung tr챗n server
Qu梳즢 l첵 v횪 b梳즣 m梳춗 t沼몋 h퉤n

1.1.2. Ti梳퓆 tr챙nh l횪m vi沼놻
C찼c b튼沼쌵 l횪m vi沼놻 c퉤 b梳즢 trong ti梳퓆 tr챙nh l횪m vi沼놻 c퉤 b梳즢:
 

- Khi ng튼沼쓎 d첫ng g천 휃沼땇 ch沼 m沼셳 휃沼땇 ch沼 nh튼: http://www.simpleapplication.com
- T梳죍 tr챙nh duy沼뇍, s梳 k梳퓍 n沼멼 t沼쌻 m찼y ch沼 t챗n mi沼걆 휃沼 chuy沼긪 휃沼뷼 t챗n mi沼걆 ra 휃沼땇 ch沼 IP
- Khi nh梳춏 휃튼沼즓 c찼c y챗u c梳쬾, server s梳 t챙m ki梳퓅 c찼c trang m梳톍 휃沼땙h v챠 d沼 nh튼 default.htm v횪 sau 휃처 g沼춊 l梳죍 client m沼셳 file copy c沼쬪 file default.htm.
- Khi tr챙nh duy沼뇍 nh梳춏 휃튼沼즓 file n처 s梳 휃沼뛠 c찼c th梳 HTML v횪 ki梳퓍 xu梳쩿 ra m횪n h챙nh c沼쬪 b梳죒.
T처m l梳죍, c처 hai 휃i沼긩 ch챠nh c梳쬷 ch첬 첵 cho 沼쯰g d沼쩸g web nh튼 sau:
- Khi tr챙nh duy沼뇍 g沼춊 c찼c requests t沼쌻, server s梳 responds l梳죍
- Khi 휃ang x梳즭 ra qu찼 tr챙nh requests/ responds n梳퓎 k梳퓍 n沼멼 gi沼칊 client v횪 server b沼 c梳칣 . T梳죍 client v梳쳌 kh척ng b沼 g沼춊 c찼c resquests ..
C처 th沼 hi沼긳 m沼멼 quan h沼 gi沼칊 client/ server qua v챠 d沼 sau:
B梳죒 c梳쬷 m沼셳 s沼 th척ng tin t沼 t척i, sau 휃처 b梳죒 휃梳퓆 v훱n ph챵ng c沼쬪 t척i v횪 g천 c沼춁 ph챵ng t척i, y챗u c梳쬾 m沼셳 file d沼 li沼뇎. T척i l梳쪅 d沼 li沼뇎 ra kh沼뢩 m찼y in v횪 휃튼a cho b梳죒 sau 휃처 휃처ng c沼춁 l梳죍. C처 th沼 ph창n t챠ch nh튼 sau:
- B梳죒 휃찾 t梳죓 m沼셳 k梳퓍 n沼멼 ( g천 c沼춁 ph챵ng t척i) 
- K梳퓍 n沼멼 휃튼沼즓 x찼c 휃沼땙h ( t척i ra m沼 c沼춁)
- B梳죒 휃튼a ra c찼c y챗u c梳쬾 ( T척i c처 th沼 nh梳춏 c찼c file d沼 li沼뇎 휃처 t沼 anh 휃튼沼즓 kh척ng?)
- C찼c y챗u c梳쬾 휃처 휃튼沼즓 tr梳 l沼쓎 ( T척i 휃튼a file d沼 li沼뇎 v횪 b梳죒 c梳쬶 n처)
- K梳퓍 n沼멼 휃튼沼즓 휃처ng l梳죍 ( t척i 휃처ng c沼춁 ph챵ng v횪 quay tr沼 l梳죍 l횪m vi沼놻) 
- B梳죒 휃ang 휃沼쯰g b챗n ngo횪i v沼쌻 b梳즢 copy t횪i li沼뇎 m횪 b梳죒 y챗u c梳쬾. B梳죒 c처 th沼 휃沼뛠 n처, hi沼긳 n처 ho梳톍 l횪m g챙 v沼쌻 t梳춑 t횪i li沼뇎 휃처. Khi khi b梳죒 휃沼뛠 휃梳퓆 m沼셳 휃o梳죒 text b梳죒 nh梳춏 ra r梳켷g n처 c梳쬷 ph梳즜 tham chi梳퓎 휃梳퓆 m沼셳 l튼沼즓 휃沼. B梳죒 ph梳즜 l횪m g챙? B梳죒 y챗u c梳쬾 n처, b梳죒 g천 c沼춁 ph챵ng t척i, t척i m沼 c沼춁 v횪 b梳죒 휃튼a y챗u c梳쬾 c梳쬷 th챗m l튼沼즓 휃沼 휃처 v횪o trong t梳춑 t횪i li沼뇎 c沼쬪 b梳죒, t척i 휃튼a n처 cho b梳죒 v횪 휃처ng c沼춁 ph챵ng.
V챠 d沼 tr챗n 휃찾 l횪m s찼ng t沼 m沼뛦 y챗u c梳쬾 s梳 휃튼沼즓 t梳죓 ra 휃沼멼 v沼쌻 server. N梳퓎 nh튼 kh척ng c처 c찼c file tham chi梳퓎 th챙 sau 휃처 s梳 k梳퓍 th첬c s沼 giao ti梳퓈 gi沼칊 ch첬ng ta. Tuy  nhi챗n n梳퓎  b梳죒 mu沼몁 m沼셳 t횪i li沼뇎 kh찼c th챙 b梳죒 c처 th沼 b梳칣 휃梳쬾 ti梳퓆 tr챙nh tr챗n v횪 y챗u c梳쬾 m沼셳 t횪i li沼뇎 kh찼c, c찼c h챙nh 梳즢h M沼셳 khi b梳죒 c처 file d沼 li沼뇎 trong tay t沼쯢 l횪 connect 휃찾 휃튼沼즓 ph沼쩭 v沼 v횪 ph梳즜 x찼c l梳춑 cho connect ti梳퓈 theo. Khi connect k梳퓍 th첬c, t척i kh척ng bi梳퓍 b梳죒 휃ang 휃沼쯰g ngo횪i c沼춁 ph챵ng c沼쬪 t척i, kh척ng n처i l횪 b梳죒 mu沼몁 g챙 v횪 y챗u c梳쬾 ti梳퓈 theo l횪 g챙. Th챙 l첬c 휃처 server c크ng gi沼몁g nh튼 t척i 沼 trong tr튼沼쓓g h沼즤 n횪y.
Tip: 휂沼 hi沼긳 s창u h퉤n v沼 m沼멼 quan h沼 gi沼칊 Client/ server th챙 t梳즜 c척ng c沼 network monitoring v횪 c횪i 휃梳톞 tr챗n m찼y client. M沼셳 s沼 link sau:

1.1.3. Complicating to Web Application Scenario
M沼셳 沼쯰g d沼쩸g web th튼沼쓓g chia l횪m 3 ph梳쬷 sau
- User agent
- Web server
- Database
1.1.4. Requests to Web page
- Khi ng튼沼쓎 d첫ng b梳칣 휃梳쬾 m沼셳 tr챙nh du沼돤챫, g천 휃沼땇 ch沼 v횪 k챠ch v횪o link, tr챙nh duy沼뇍 s梳 g沼춊 th척ng tin t沼쌻 server s沼 d沼쩸g giao th沼쯢 HTTP.
- C찼c y챗u c梳쬾 t沼 client s梳 휃튼沼즓 휃沼땙h d梳죒g nh튼 sau:
The request line
The request heading
The request data
+ C찼c request line s梳 ch沼쯠 c찼c ph튼퉤ng th沼쯢: Get, search, post
1.1.5. Responding to the Resquest

Share
Related Documents
  1. Web Testing: Complete guide on testing web applications (5716)
  2. Agileload: Load and performance testing tool for web applications (662)
  3. How to Test Application Security Web and Desktop Application Security Testing Techniques (3516)
  4. Web security testing cookbook (1065)
  5. Website Cookie Testing, Test cases for testing web application cookies? (3634)
  6. Improve Web Application Test with User Session Data (1339)
  7. What is client-server and web based testing and how to test these applications (1963)
  8. Checklist Web Test Review (1740)
  9. Free access to real smartphones (872)
  10. OWASP Web Application Penetration Checklist (879)
  11. web cookie test (582)
  12. Improving Software Quality with Microsoft Test Manager, Test Professional, Visual Studio and TFS (1334)
  13. Test automation using specific test script language (2474)
  14. Web Test Plan Development (1498)
  15. Automated Test Case Writing - What's new for Microsoft Test Manager (991)
  16. How Do I: Get Started with Test Cases in Visual Studio Test Professional 2010? (1823)
  17. Ten Steps to Test Your Web Applications (2038)
  18. Automated Web Testing with Selenium for beginners (1907)
  19. Mobile Application Testing (14168)
  20. Resuable Test Cases for GUI,Validation and Web (1442)