	{"id":2108,"date":"2013-07-05T10:18:10","date_gmt":"2013-07-05T03:18:10","guid":{"rendered":"http:\/\/science-technology.vn\/?p=2108"},"modified":"2013-07-05T10:18:10","modified_gmt":"2013-07-05T03:18:10","slug":"kiem-thu-web-2","status":"publish","type":"post","link":"https:\/\/science-technology.vn\/?p=2108","title":{"rendered":"Ki\u1ec3m th\u1eed Web"},"content":{"rendered":"<p><span style=\"font-size: 14px;\">M\u1ed9t sinh vi\u00ean g\u1eedi cho t\u00f4i m\u1ed9t email: \u201cEm \u0111ang l\u00e0m vi\u1ec7c nh\u01b0 ng\u01b0\u1eddi ki\u1ec3m th\u1eed cho m\u1ed9t c\u00f4ng ti ph\u1ea7n m\u1ec1m v\u00e0o m\u00f9a h\u00e8. Vi\u1ec7c c\u1ee7a em y\u00eau c\u1ea7u em ki\u1ec3m th\u1eed c\u00e1c website m\u00e0 c\u00f4ng ti x\u00e2y d\u1ef1ng cho kh\u00e1ch h\u00e0ng c\u1ee7a h\u1ecd. L\u00e0 sinh vi\u00ean khoa h\u1ecdc m\u00e1y t\u00ednh n\u0103m th\u1ee9 ba, em bi\u1ebft r\u00f5 v\u1ec1 ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh (C++ v\u00e0 Java) nh\u01b0ng ch\u01b0a bao gi\u1edd \u0111\u01b0\u1ee3c d\u1ea1y v\u1ec1 ki\u1ec3m th\u1eed web. L\u00e0m sao em l\u00e0m ki\u1ec3m th\u1eed \u1ee9ng d\u1ee5ng web? Em c\u1ea7n l\u00e0m g\u00ec? Xin th\u1ea7y gi\u00fap cho.&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u0110\u00e1p: Ph\u1ea7n l\u1edbn ki\u1ec3m th\u1eed \u1ee9ng d\u1ee5ng web \u0111\u1ec1u y\u00eau c\u1ea7u \u00edt nh\u1ea5t s\u00e1u ki\u1ec3u ki\u1ec3m th\u1eed: Ki\u1ec3m th\u1eed ch\u1ee9c n\u0103ng, Ki\u1ec3m th\u1eed hi\u1ec7u n\u0103ng, Ki\u1ec3m th\u1eed t\u00ednh d\u00f9ng \u0111\u01b0\u1ee3c, Ki\u1ec3m th\u1eed giao di\u1ec7n, Ki\u1ec3m th\u1eed ph\u00eda ph\u1ee5c v\u1ee5, Ki\u1ec3m th\u1eed ph\u00eda kh\u00e1ch h\u00e0ng v\u00e0 Ki\u1ec3m th\u1eed an ninh.<\/p>\n<p>Ki\u1ec3m th\u1eed ch\u1ee9c n\u0103ng l\u00e0 v\u1ec1 ki\u1ec3m th\u1eed ch\u1ee9c n\u0103ng c\u1ee7a \u1ee9ng d\u1ee5ng web. \u0110\u1ec3 b\u1eaft \u0111\u1ea7u b\u1ea1n ph\u1ea3i ki\u1ec3m m\u1ecdi m\u00f3c n\u1ed1i \u0111\u1ec3 ch\u1eafc n\u00f3 l\u00e0m vi\u1ec7c t\u1ed1t v\u00e0 kh\u00f4ng c\u00f3 m\u00f3c n\u1ed1i b\u1ecb \u0111\u1ee9t (nh\u01b0, m\u00f3c n\u1ed1i trong, m\u00f3c n\u1ed1i ngo\u00e0i, m\u00f3c n\u1ed1i th\u01b0 v\u00e0 m\u00f3c n\u1ed1i b\u1ecb \u0111\u1ee9t). B\u1ea1n ph\u1ea3i ki\u1ec3m th\u1eed t\u00ednh h\u1ee3p th\u1ee9c c\u1ee7a tr\u01b0\u1eddng, th\u00f4ng b\u00e1o l\u1ed7i v\u1ec1 c\u00e1i v\u00e0o sai, v\u00e0 b\u1ea5t k\u00ec tr\u01b0\u1eddng tu\u1ef3 ch\u1ecdn v\u00e0 b\u1eaft bu\u1ed9c n\u00e0o trong \u1ee9ng d\u1ee5ng. B\u1ea1n c\u0169ng ph\u1ea3i ki\u1ec3m t\u00ednh to\u00e0n v\u1eb9n c\u1ee7a c\u01a1 s\u1edf d\u1eef li\u1ec7u n\u01a1i d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c c\u1ea5t gi\u1eef. B\u1ea1n ph\u1ea3i ki\u1ec3m th\u1eed c\u00e1c cookies tr\u00ean ph\u00eda h\u1ec7 th\u1ed1ng kh\u00e1ch v\u00e0 tr\u00ean t\u1ec7p internet t\u1ea1m th\u1eddi.<\/p>\n<p>Ki\u1ec3m th\u1eed hi\u1ec7u n\u0103ng l\u00e0 v\u1ec1 ki\u1ec3m th\u1eed t\u00ednh \u0111\u1ed5i qui m\u00f4 \u0111\u01b0\u1ee3c c\u1ee7a website. \u0110\u1ec3 b\u1eaft \u0111\u1ea7u, b\u1ea1n ph\u1ea3i ki\u1ec3m t\u1ed1c \u0111\u1ed9 k\u1ebft n\u1ed1i b\u1eb1ng vi\u1ec7c cho ch\u1ea1y ki\u1ec3m th\u1eed c\u1ee7a b\u1ea1n tr\u00ean c\u00e1c k\u1ebft m\u1ea1ng \u0111a d\u1ea1ng nh\u01b0 quay s\u1ed1, ISDN v.v. B\u1ea1n c\u0169ng ki\u1ec3m th\u1eed t\u1ea3i (S\u1ed1 ng\u01b0\u1eddi d\u00f9ng truy nh\u1eadp v\u00e0o h\u1ec7 th\u1ed1ng theo ph\u00fat hay gi\u1edd l\u00e0 g\u00ec? T\u1ea3i gi\u1edd cao \u0111i\u1ec3m l\u00e0 g\u00ec v\u00e0 h\u1ec7 th\u1ed1ng v\u1eadn h\u00e0nh th\u1ebf n\u00e0o trong gi\u1edd n\u00e0y. C\u00e1i g\u00ec x\u1ea3y ra khi c\u00f3 kh\u1ed1i l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn \u0111\u01b0\u1ee3c ng\u01b0\u1eddi d\u00f9ng truy nh\u1eadp.) B\u1ea1n ph\u1ea3i ki\u1ec3m hi\u1ec7u n\u0103ng c\u1ee7a b\u1ed9 nh\u1edb, CPU, x\u1eed l\u00ed t\u1ec7p v..<\/p>\n<p>Ki\u1ec3m th\u1eed t\u00ednh d\u00f9ng \u0111\u01b0\u1ee3c l\u00e0 qu\u00e1 tr\u00ecnh qua \u0111\u00f3 c\u00e1c \u0111\u1eb7c tr\u01b0ng t\u01b0\u01a1ng t\u00e1c ng\u01b0\u1eddi-m\u00e1y c\u1ee7a h\u1ec7 th\u1ed1ng \u0111\u01b0\u1ee3c \u0111o \u0111\u1ea1c. B\u1ea1n c\u00f3 th\u1ec3 b\u1eaft \u0111\u1ea7u b\u1eb1ng ki\u1ec3m th\u1eed t\u00ednh d\u1ec5 d\u00f9ng, m\u1ecdi ng\u01b0\u1eddi th\u1ea5y h\u1ecdc d\u00f9ng \u1ee9ng d\u1ee5ng web d\u1ec5 hay kh\u00f3 th\u1ebf n\u00e0o, c\u00e1ch h\u1ecd \u0111i t\u1eeb trang n\u00e0y sang trang kh\u00e1c, th\u00f4ng tin tr\u00ean website \u0111\u01b0\u1ee3c m\u00f4 t\u1ea3 t\u1ed1t th\u1ebf n\u00e0o, website tr\u00f4ng nh\u01b0 th\u1ebf n\u00e0o?<\/p>\n<p>Trong ki\u1ec3m th\u1eed web, giao di\u1ec7n ph\u00eda ngu\u1ed3n ph\u1ee5c v\u1ee5 n\u00ean \u0111\u01b0\u1ee3c ki\u1ec3m th\u1eed \u0111\u1ec3 th\u1ea9m tra r\u1eb1ng trao \u0111\u1ed5i \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n \u0111\u00fang. T\u00ednh t\u01b0\u01a1ng h\u1ee3p c\u1ee7a m\u00e1y ph\u1ee5c v\u1ee5 v\u1edbi ph\u1ea7n m\u1ec1m, ph\u1ea7n c\u1ee9ng, m\u1ea1ng v\u00e0 c\u01a1 s\u1edf d\u1eef li\u1ec7u c\u0169ng n\u00ean \u0111\u01b0\u1ee3c ki\u1ec3m th\u1eed \u0111\u1ec3 ch\u1eafc ch\u00fang t\u1ea5t c\u1ea3 l\u00e0m vi\u1ec7c t\u1ed1t c\u00f9ng nhau. B\u1ea1n c\u0169ng ph\u1ea3i ki\u1ec3m th\u1eed ph\u00eda kh\u00e1ch h\u00e0ng v\u1ec1 t\u00ednh t\u01b0\u01a1ng h\u1ee3p v\u00ec h\u1ecd c\u00f3 th\u1ec3 kh\u00f4ng d\u00f9ng n\u1ec1n t\u01b0\u01a1ng t\u1ef1 hay tr\u00ecnh duy\u1ec7t web nh\u01b0 c\u00f4ng ti c\u1ee7a b\u1ea1n.<\/p>\n<p>Ki\u1ec3m th\u1eed cu\u1ed1i c\u00f9ng n\u00ean l\u00e0 v\u1ec1 an ninh \u0111\u1ec3 nh\u1eadn di\u1ec7n t\u00ednh mong manh ti\u1ec1m n\u0103ng v\u00e0 s\u1eeda ch\u00fang. \u0110\u1ec3 b\u1eaft \u0111\u1ea7u b\u1ea1n c\u00f3 th\u1ec3 c\u1ea7n duy\u1ec7t x\u00e9t m\u1ea1ng \u0111\u1ec3 ki\u1ec3m tra b\u1ea5t k\u00ec ch\u1ed7 mong manh n\u00e0o. Ph\u1ea3i ch\u1eafc m\u1ecdi m\u1eadt kh\u1ea9u \u0111\u01b0\u1ee3c \u0111\u1eb7t t\u01b0\u01a1ng \u1ee9ng v\u1edbi giao th\u1ee9c an ninh n\u00e0o \u0111\u00f3. Ki\u1ec3m tra c\u00e1c s\u1ed5 k\u00ed s\u1ef1 v\u1ec1 nh\u01b0ng t\u1ec7p trung gian n\u00e0o \u0111\u00f3 c\u00f3 th\u1ec3 ch\u1ee9a virus, ki\u1ec3m th\u1eed tr\u00e0n ch\u1ed3ng, ki\u1ec3m th\u1eed v\u1ec1 b\u1ea5t k\u00ec virus n\u00e0o hay ki\u1ec3u ng\u1ef1a th\u00e0nh T\u01a1 roa m\u00e0 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c ch\u00e8n v\u00e0o trong m\u1ed9t ph\u1ea7n c\u1ee7a nh\u00e2n.<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;-English version&#8212;-<\/p>\n<p>&nbsp;<\/p>\n<p>Web Testing<\/p>\n<p>A student sent me an email: \u201cI am working as tester for a software company in the summer. My job requires me to test websites that the company build for their customers. As a third year computer science student, I know programming language well (C++ and Java) but never been taught about web testing. How do I test the web applications? What do I need? Please help.&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Answer: Most web application testing require at least six types of test: Functionality Testing, Performance Testing, Usability Testing, Server Side Interface Testing, Client Side Compatibility testing and Security testing.<\/p>\n<p>Functionality testing is about\u00a0test the function of the web application. To start, you must check for all the link to make sure it work well and there is no broken link (i.e., Internal Links, External Links, Mail Links and identify any Broken Links). You must test for field validation, error message for wrong input, and any optional and mandatory fields in the application. You must also check the integrity of the database where data are stored. You must test for cookies on the client system side, and on the temporary Internet files.<\/p>\n<p>Performance testing is about test the web site\u2019s scalability. To start, you must check connection speed by run your tests\u00a0over various networks like Dial Up, ISDN etc. You also test the load (What is the number of users access the system per minute or hour? What are the peak loads and how system operates during this time. What happen when there are large amount of data accessed by user. You must check the performance of memory, CPU, file handling etc.<\/p>\n<p>Usability testing is the process by which the human-computer interaction characteristics of a system are measured. You may start by test the ease of use, how easy or difficult people learn to use the web application, how do they navigate from one page to other, how well described are the information on the website, how does the web site look?<\/p>\n<p>In web testing the server side interface should be tested to verify that communication is done properly. Compatibility of server with software, hardware, network and database should also be tested to make sure they all work well together. You must also test the client side also for compatibility since they may not use similar platforms or web browsers as your company.<\/p>\n<p>The last test should be on security to\u00a0identify potential vulnerabilities and fix them. To start you may need to scan the network to check for any vulnerability. Make sure all password is set according to certain security protocol. Check the log review for certain temporary files that may contain virus, test for stack overflow, test for any\u00a0 virus or Trojan horse type of file that may be inserted into part of the kernel.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>M\u1ed9t sinh vi\u00ean g\u1eedi cho t\u00f4i m\u1ed9t email: \u201cEm \u0111ang l\u00e0m vi\u1ec7c nh\u01b0 ng\u01b0\u1eddi ki\u1ec3m th\u1eed cho m\u1ed9t c\u00f4ng ti ph\u1ea7n m\u1ec1m v\u00e0o m\u00f9a h\u00e8. &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,20],"tags":[],"class_list":["post-2108","post","type-post","status-publish","format-standard","hentry","category-quan-li-du-an","category-ki-nghe-phan-mem"],"_links":{"self":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/2108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2108"}],"version-history":[{"count":1,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/2108\/revisions"}],"predecessor-version":[{"id":2109,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/2108\/revisions\/2109"}],"wp:attachment":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}