網(wǎng)卡用例資料_第1頁
網(wǎng)卡用例資料_第2頁
網(wǎng)卡用例資料_第3頁
網(wǎng)卡用例資料_第4頁
網(wǎng)卡用例資料_第5頁
已閱讀5頁,還剩3頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、Network Card Test CaseContent1Introduction- 1 -1.1Purpose- 1 -1.2How to Use This Document- 2 -1.3How to Edit This Document- 2 -2lan_dhcp_0- 2 -3lan_ftp_0- 2 -4lan_nfs_0- 3 -5lan_traceroute_0- 3 -6lan_internetapp_0- 4 -7PM_LanDriverS3_0- 5 -8PM_LanDriverS4_0- 5 -9PM_LanNetServFtpS3_0- 5 -10PM_LanNetS

2、ervFtpS4_0- 7 -11PM_LanNetServHTTPS3_0- 7 -12PM_LanNetServHTTPS4_0- 8 -13PM_LanNetServNFSS3_0- 8 -14PM_LanNetServNFSS4_0- 8 -15PM_LanNetServSMBS3_0- 9 -16PM_LanNetServSMBS4_0- 9 -1 Introduction1.1 PurposeThis file describe test case of some test items. It help tester know how to run a test item, how

3、 to judge its qualified or not. It describes environment preparation, test tool or script, test step, criteria. 1.2 How to Use This DocumentPlease use this document with checklist, and other files placed under the same directory. Checklist file is an outline of all test items. This document includes

4、 test case which was referred to in the checklist. Other files include test script, test sample, etc.Each case has an ID, this ID cant be modified freely when it was quoted in the checklist.1.3 How to Edit This DocumentPlease make new version and record your revision in the revision list. This file

5、is under strict control. Please update the content each time you modify.Add new case: Please define a unique ID for your new case, then use the default format to describe test case for a test item.Delete case: Dont delete any case even they are useless. Just add “- Drop” at the end of its title, and

6、 update the content so others can see it easily.2 lan_dhcp_0 Test Case Identifierlan_dhcp_0CategoryFunctionalFeatures   Covered A LAN  interface can get a IP address by dhcpTest Case ObjectiveA dhcp server resides in the same network with the test machineDependenciesEnvironment Needs

7、A dhcp server wich resides in the same network with the test machine.Test Instruction if OS is RedHat or RedFlag1. ret=dhclient eth1 2>& 1 | grep "DHCPACK from" | awk ' printf $3 '2. echo $retelse if OS is Novell1. ifdown-dhcp eth12. ifup-dhcp eth1 | grep "IP/Netmask&qu

8、ot;Expected Results In step 2 , the output is a valid IP address.Automation Scripts Locationlan_dhcp_0 Notes3 lan_ftp_0Test Case Identifierlan_ftp_0CategoryFunctionalFeatures   Covered A ftp application can run on a LAN interfaceTest Case ObjectiveVerify if a ftp application can run o

9、ver a LAN interface. DependenciesEnvironment Needs A ftp server resides in the same network with the test machine. Test Instruction 1. generate a temporay file and compute the md5 value:     dd if=/dev/dull of=/tmp/file.ftp bs=1M count=50     md5sum /tmp/file.

10、ftp > /tmp/file.ftp.md52. connect to the ftp server, upload /tmp/file.ftp to the server3. disconnect from the ftp server and delete loacal file /tmp/file.ftp     rm -f /tmp/file.ftp;sync4. re-connect to the ftp server and get file.ftp from the server to local /tmp/file.ftp5. c

11、ompare the md5 value of old local file and the new file from the server     md5sum -c /tmp/file.ftp.md56. rm -f /tmp/file.ftp    rm -f /tmp/file.ftp.md5Expected Results In step 5, md5sum outputs successful information.Automation Scripts Locationlan_ftp_0 Notes

12、4 lan_nfs_0Test Case Identifierlan_nfs_0CategoryFunctionalFeatures   Covered A nfs application can run on a LAN interface Test Case ObjectiveVerify if a nfs application can run over a LAN interface. DependenciesEnvironment Needs A nfs server resides in the same network with the test machin

13、e. Test Instruction 1. generate a temporay file and compute the md5 value:     dd if=/dev/dull of=/tmp/file.nfs bs=1M count=50     md5sum /tmp/file.nfs > /tmp/file.nfs.md52. mount the nfs server, copy /tmp/file.nfs to the server    make -p /m

14、nt/nfstest    mount -t nfs server:/serverroot /mnt/nfstest    cp /tmp/file.nfs /mnt/nfstest3. delete loacal file /tmp/file.nfs     rm -f /tmp/file.nfs;sync4. copy file.nfs from the server to local /tmp/file.nfs    cp /mnt/nfstest/file.

15、nfs /tmp5. compare the md5 value of old local file and the new file from the nfs server     md5sum -c /tmp/file.nfs.md56. rm -f /tmp/file.nfs    rm -f /tmp/file.nfs.md5 Expected Results In step 5, md5sum outputs successful information. Automation Scripts Locationla

16、n_nfs_0 Notes5 lan_traceroute_0Test Case Identifierlan_traceroute_0CategoryFunctionalFeatures   Covered tracerouteTest Case ObjectiveVerify if the "traceroute" application can run over a LAN interface. DependenciesEnvironment Needs The gateway is reachableTest Instruction tr

17、aceroute -m 5 <target> (target is a IP address or domain name)Expected Results Traceroute command outputs 5 route tracking information.Automation Scripts Locationlan_traceroute_0 Notes6 lan_internetapp_0Test Case Identifierlan_internetapp_0CategoryFunctionalFeatures   Covered Su

18、pporting internet applicationsTest Case ObjectiveVerifies if internet applications can work on the LAN interface Dependencieslan_configtool_0 has passedEnvironment Needs LAN driver has been installed and works well. An IP address has been assigned to the interface either statically or via DHCP.

19、Test Instruction 1. Click "Start-Applications-Internet-BT",  download a vcd file.2. Click "Start-Applications-Internet-Download tool", Download tool download file from ww,redfkag -.3. Run "Start-Applications-Internet- web  Browser", view www.redflag-4.  R

20、un "Start-Applications-Internet-LumaQQ", connect other QQ user. 5. Run "Start-Applications-Internet-Instant Messenger", connect other MSN user. Expected Results 1. Bt can download files from other servers.2. Tools of dowloading can download files from www.redflag-3. Web browser c

21、an view www.redflag-4. A user can use LumaQQ to connect to and communicate  with another.5. A user can use Messenger  to connect to and communicate  with another.Automation Scripts LocationN/A Notes7 PM_LanDriverS3_0Test Case IdentifierPM_LanDriverS3_0CategoryFunctionalFeatures&#

22、160;  Covered LAN driver compliance with S3Test Case ObjectiveThis test verifies that LAN driver can work normally after resuming S3DependenciesLAN driver can work normallyEnvironment Needs NoneTest Instruction Properly configure the LAN interface and make sure the interface have connection wit

23、h the local network.Run “ping I <ethx> <gateway>”; then enter S3 and resume, run “ping I <ethx> <gateway> againExpected Results Both the 2 “ping” commands display <gateway> is reachable.Automation Scripts LocationN/A Notes<ethx> is interface name. It could be

24、 eth0, eth1, and so on.<gateway> is IP address of the gateway.8 PM_LanDriverS4_0Test Case IdentifierPM_LanDriverS4_0CategoryFunctionalFeatures   Covered Lan driver compliance with S4Test Case ObjectiveThis test verifies that LAN driver can work normally after resuming S4DependenciesL

25、AN driver can work normallyEnvironment Needs NoneTest Instruction Properly configure the LAN interface and make sure the interface have connection with the local network.Run “ping I <ethx> <gateway>”; then enter S3 and resume, run “ping I <ethx> <gateway> againExpected Result

26、s Both the 2 “ping” commands display <gateway> is reachable.Automation Scripts LocationN/A Notes<ethx> is interface name. It could be eth0, eth1, and so on.<gateway> is IP address of the gateway.9 PM_LanNetServFtpS3_0Test Case IdentifierPM_LanNetServFtpS3_0CategoryFunctionalFe

27、atures   Covered ftp application compliance with S3Test Case ObjectiveThis test verifies that ftp application can work normally after resuming S3DependenciesLAN driver can work normally and the Ethernet interface configuration script has been properly configured to ensure the interface is

28、active and network is available once the system initialization is completedEnvironment Needs NoneTest Instruction Open the console, use the ftp command to connect to server and copy multiple files simultaneously from the server to the local machine; then place system into S3 and then resume. Copy fi

29、les again to ensure connection is still available and files are still accessible.Expected Results All check points should work normallyAutomation Scripts LocationN/A Notes10 PM_LanNetServFtpS4_0Test Case IdentifierPM_LanNetServFtpS4_0CategoryFunctionalFeatures   Covered ftp applicatio

30、n compliance with S4Test Case ObjectiveThis test verifies that ftp application can work normally after resuming S4DependenciesLAN driver can work normally and the Ethernet interface configuration script has been properly configured to ensure the interface is active and network is available once the

31、system initialization is completedEnvironment Needs NoneTest Instruction Open the console, use the ftp command to connect to server and copy multiple files simultaneously from the server to the local machine; then place system into S4 and then resume. Copy files again to ensure connection is still a

32、vailable and files are still accessible.Expected Results All check points should work normallyAutomation Scripts LocationN/A Notes11 PM_LanNetServHTTPS3_0Test Case IdentifierPM_LanNetServHTTPS3_0CategoryFunctionalFeatures   Covered Web application compliance with S3Test Case Objective

33、This test verifies that web browser can work normally after resuming S3DependenciesLAN driver can work normally and the Ethernet interface configuration script has been properly configured to ensure the interface is active and network is available once the system initialization is completedEnvironme

34、nt Needs NoneTest Instruction Open a Web browser and type in the http web site to the server, click on a file and download it local machine; then place system in S3 and resume.Click on the file to insure that the webpage is still available and the file is still downloader.Expected Results All check

35、points should work normallyAutomation Scripts LocationN/A Notes12 PM_LanNetServHTTPS4_0Test Case IdentifierPM_LanNetServHTTPS4_0CategoryFunctionalFeatures   Covered Web application compliance with S4Test Case ObjectiveThis test verifies that web browser can work normally after resumin

36、g S4DependenciesLAN driver can work normally and the Ethernet interface configuration script has been properly configured to ensure the interface is active and network is available once the system initialization is completedEnvironment Needs NoneTest Instruction Open a Web browser and type in the ht

37、tp web site to the server, click on a file and download it local machine; then place system in S4 and resume.Click on the file to insure that the webpage is still available and the file is still downloader.Expected Results All check points should work normallyAutomation Scripts LocationN/A Note

38、s13 PM_LanNetServNFSS3_0Test Case IdentifierPM_LanNetServNFSS3_0CategoryFunctionalFeatures   Covered NFS application compliance with S3Test Case ObjectiveThis test verifies that NFS application can work normally after resuming S3DependenciesLAN driver can work normally and the Ethernet int

39、erface configuration script has been properly configured to ensure the interface is active and network is available once the system initialization is completedEnvironment Needs NoneTest Instruction Open the console, mount the File system using the appropriate commands. For example: mount -t nfs csos

40、isvr:/var/qsk13 /mnt/nfs -o nolockCopy multiple files simultaneously from and to the server and the local machine, then place system into standby and then resume. Insure that the Server is still mounted and files are accessible.Expected Results All check points should work normallyAutomation Scripts

41、 LocationN/A Notes14 PM_LanNetServNFSS4_0Test Case IdentifierPM_LanNetServNFSS4_0CategoryFunctionalFeatures   Covered NFS application compliance with S4Test Case ObjectiveThis test verifies that NFS application can work normally after resuming S4DependenciesLAN driver can work normall

42、y and the Ethernet interface configuration script has been properly configured to ensure the interface is active and network is available once the system initialization is completedEnvironment Needs NoneTest Instruction Open the console, mount the file system using the appropriate commands. For exam

43、ple: mount -t nfs csosisvr:/var/qsk13 /mnt/nfs -o nolockCopy multiple files simultaneously from and to the server and the local machine, then place system into standby and then resume. Insure that the Server is still mounted and files are accessible.Expected Results All check points should work norm

44、allyAutomation Scripts LocationN/A Notes15 PM_LanNetServSMBS3_0Test Case IdentifierPM_LanNetServSMBS3_0CategoryFunctionalFeatures   Covered NFS application compliance with S3Test Case ObjectiveThis test verifies that NFS application can work normally after resuming S3DependenciesLAN d

45、river can work normally and the Ethernet interface configuration script has been properly configured to ensure the interface is active and network is available once the system initialization is completedEnvironment Needs NoneTest Instruction For console:Open the console, mount the file system using the appropriate commands: For example:mount -t smbfs o username=smbuser,guest=smbuser “/02/samba” /mnt/yourmountpoint Copy multiple files simultaneously from and to the server and the local machine. Then place system into S3 and then resume. Insure that the Server is still mounted and

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論