Project

General

Profile

CAPI_MODE_TEST_ALL_APIS.csv

天驰 王, 02/11/2025 10:15

Download (21.9 KB)

 
1
program_name:testcapi_VF3.00.0022_20250108_arm_superelectron_MIXK510
2
build_time:Jan  8 2025
3
itemName:MODE_TEST_ALL_APIS
4
TestTime:2025-2-11 9:56:28
5
API,Result,Result_Value,Time,Input_parameters,Output_parameters
6
api_getGatewayName,PASS,0,14,,DevName: SmartHGW
7
api_setGatewayName,PASS,0,2,Name: SmartHGW,
8
api_getDevInfo,PASS,0,16,,BusinessStatus: 0; Vendor: ZNXT; MAC: 081074000061; SWVersion: V02.00.1; HDVersion: V02.00.0; SpecVersion: iHGU_2.4.0; DBusInterfaceVersion: 1.3.0; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; GPONSN: ZTEG00112269; ModelName: ZN501G-D2; POTSNum: 1; LANNum: 4; FlashSize: 256; RamSize: 512; DevName: SmartHGW; CPUUsage: 1%; MEMUsage: 25%; FlashUsage: 57%; UpTime: 58738; ManufacturerOUI: 081074; SerialNumber: 01FFFFFFFF010FFF2AZTEG0011226906; HGUSleep: 1; WiFiVersion: 0; DevWiFi: 0; DevUSB: 1; KernelVersion: 5.10.0; KernelBit: 32; IfName: br0; DevType: 0; WorkMode: 0; 
9
api_getDeviceInfo,PASS,0,16,,Vendor: ZNXT; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; HardwareVer: V02.00.0; FirmwareVer: V02.00.1; FlashSize: 256; RamSize: 512; KernelVersion: 5.10.0; KernelBit: 32; DevType: 0; WorkMode: 0; 
10
api_getDeviceMAC,PASS,0,14,,MAC: 081074000061
11
api_getDeviceUpTime,PASS,0,14,,UpTime: 58738
12
api_getCPUOccupancyRate,PASS,0,14,,CPUUsage: 1
13
api_getRAMOccupancyRate,PASS,0,15,,MEMUsage: 25
14
api_getDeviceWiFi,PASS,0,14,,
15
api_getDeviceUSB,PASS,1,15,,
16
api_getDeviceWiFiVersion,PASS,0,14,,
17
api_getDevType,PASS,0,14,,
18
api_getWorkMode,PASS,0,14,,
19
api_getUSCC,PASS,0,15,,uscc: 91440300758610056Q
20
api_getDeviceManufacturerOUI,PASS,0,14,,oui: 081074
21
api_getDeviceSerialNumber,PASS,0,17,,sn: 01FFFFFFFF010FFF2AZTEG0011226906
22
api_getDeviceLOID,PASS,0,5,,loid: gtest0506
23
api_addFTPRight,FAIL,-1,9235,{Right: 1; Anonymous: 1; Port: 1111; UserName: user1; Password: passwd1; FTPPath: /mnt/tmp1}{Right: 1; Anonymous: 0; Port: 2222; UserName: user2; Password: passwd2; FTPPath: /mnt/tmp2}{Right: 1; Anonymous: 1; Port: 3333; UserName: user3; Password: passwd3; FTPPath: /mnt/tmp3}{Right: 1; Anonymous: 0; Port: 4444; UserName: user4; Password: passwd4; FTPPath: /mnt/tmp4}{Right: 1; Anonymous: 1; Port: 5555; UserName: user5; Password: passwd5; FTPPath: /mnt/tmp5}{Right: 0; Anonymous: 0; Port: 6666; UserName: user6; Password: passwd6; FTPPath: /mnt/tmp6}{Right: 0; Anonymous: 1; Port: 7777; UserName: user7; Password: passwd7; FTPPath: /mnt/tmp7},Fail Line: 757
24
api_setFTPRight,FAIL,-1,0,,Fail Line: 800
25
api_deleteFTPRight,FAIL,-1,0,,Fail Line: 943
26
api_getFTPRightInfo,FAIL,-1,0,,Fail Line: 842
27
api_releaseFTPRightInfo,FAIL,-1,0,,Fail Line: 904
28
api_deleteAllFTPRight,FAIL,-1,0,,Fail Line: 976
29
api_setSambaRight,FAIL,-1,6,,Fail Line: 1007
30
api_addSambaAccount,FAIL,-1,0,,Fail Line: 1037
31
api_deleteSambaAccount,FAIL,-1,0,,Fail Line: 1175
32
api_getSambaRightInfo,FAIL,-1,0,,Fail Line: 1074
33
api_releaseSambaRightInfo,FAIL,-1,0,,Fail Line: 1137
34
api_deleteAllSambaAccount,FAIL,-1,0,,Fail Line: 1209
35
api_setHTTPRight,PASS,0,2,right: 1,
36
api_setHTTPUserPassword,FAIL,-1,3,password: pwd123,Fail Line: 1268
37
api_getHTTPRightInfo,PASS,0,2,,Right: 1; passwd: 12345678
38
api_setLedSwitch,FAIL,-1,11,{api_setLedSwitch(FALSE): -1, api_setLedSwitch(TRUE): 0},Fail Line: 1319
39
api_getBridgeIfName,PASS,0,3,,BridgeIfName: br0
40
api_getWANIfName,PASS,0,6,,{Name: 1_INTERNET_R_VID_100; IfName: pppoe-wan1_100; ConnectionType: PPPoE_Routed; IPAddress: 10.10.100.169; IPv6IPAddress:}
41
api_releaseWANIfName,PASS,0,0,,
42
api_getLANIfName,PASS,0,7,,{Name: LAN1; Status: NoLink; IfName: eth0}{Name: LAN2; Status: NoLink; IfName: eth1}{Name: LAN3; Status: NoLink; IfName: eth2}{Name: LAN4; Status: Up; IfName: eth3}
43
api_releaseLANIfName,PASS,0,0,,
44
api_getUFWInfo,PASS,0,39,,CPUArch: arm_superelectron_MIXK510
45
; UfwmgVersion: VF3.00.0022; UfwVersion: VF3.00.0022; UfwBVersion: VF3.00.0022; CAPIVersion: VF3.00.0022; HpsrvVersion: VF3.00.0022; UappdVersion: VF3.00.0022; ProxyVersion: VF3.00.0022; TaskdVersion: VF3.00.0022; ActiveMTD: 13; BackupMTD: 12; UfwmgLogLevel: 3; 
46
api_getPlatformStatus,PASS,0,2,,dnsname: 42.236.3.114; srvip: 42.236.3.114; port: 7686; status: 4
47
api_getListApp,PASS,0,2,,
48
api_releaseListApp,PASS,-1,0,,
49
api_getAppStatus,PASS,0,2,PluginName: test,PluginStatus: EEXIST
50
api_getPONIfPhyStatus,PASS,0,3,,TXPower: -100.000000; RXPower: -100.000000; TransceiverTemperature: 0.000000; SupplyVoltage: 0.000000; BiasCurrent: 0.000000
51
api_getPONIfUpTime,PASS,0,3,,PONDuration: 58512
52
api_getPONIfRegisterStatus,PASS,0,3,,RegisterStatus: REG_AUTH
53
api_getUplinkIfStats,PASS,0,3,,UsStats: 0; DsStats: 0
54
api_getInternetWANIndex,FAIL,0,5,,Fail Line: 198
55
api_getPPPoEInfo,PASS,-1,2,,
56
api_getWANInfo,PASS,0,6,,{Index: ; WANName: ; IfName: ; ServiceList: ; LanInterface: ; VLANMode: 0; VLANID: 0; VLAN8021P: 0; MulticastVlan: 0; LanDHCPEnable: 0; Protocol: 0; ConnectionStatus: ; ConnectionType: ; NATEnabled: 0; AddressingType: ; IPAddress: ; SubnetMask: ; Gateway: ; DNSEnabled: 0; DNSServers: ; MACAddress: ; ConnectionTrigger: ; IPv6IPAddressOrigin: ; IPv6ConnectionStatus: ; IPv6IPAddress: ; IPv6IPAddressAlias: ; IPv6DNSServers: ; IPv6PrefixDelegationEnabled: 0; IPv6PrefixAlias: ; IPv6PrefixOrigin: ; IPv6Prefix: ; IPv6PrefixLength: ; IPv6PrefixPltime: 0; IPv6PrefixVltime: 0; IPv6Gateway: ; UpTime: 0; LastConnectionError: ; LastIPv6ConnectionError: ; RxBytes: 388692; TxBytes: 388708; RxPkts: 388724; TxPkts: 388740} 
57
api_releaseWANInfo,PASS,0,0,,
58
api_getWANIfList,PASS,0,5,,{Index: ; Name: } 
59
api_releaseWANIfList,PASS,0,0,,
60
api_getWANIfStats,FAIL,-1,6,wanIndex: 1,Fail Line: 436
61
api_getWANIfInfo,FAIL,-1,6,wanIndex: 1,Fail Line: 492
62
api_getWANIfStatus,PASS,0,6,wanIndex: 1,Uptime 0; ConnectionStatus ; IPv6ConnStatus ; LastConnectionError ; LastIPv6ConnectionError ; 
63
api_startIPPingDiagnostics,FAIL,-1,3,InterfaceIndex: 1; Host: www.baidu.com; NumberOfRepetitions: 4; Timout: 10000,DataBlockSize: 56; DSCP: 0,Fail Line: 173
64
api_startTraceRouteDiagnostics,FAIL,-1,3,InterfaceIndex: 1; Host: www.baidu.com; NumberOfTries: 3; Timout 5000; DataBlockSize: 38; DSCP: 0; MaxHopCount: 30,Fail Line: 215
65
api_addLayer3ForwardingStatic,FAIL,-1,5,DestIPAddress: 10.10.10.0; DestSubnetMask: 255.255.255.0; GatewayIPAddress: 10.10.100.1; Interface: 1_INTERNET_R_VID_100;,Fail Line: 766
66
api_getLayer3ForwardingStaticConfigInfo,PASS,0,2,,objNum: 0; 
67
api_releaseLayer3ForwardingStaticConfigInfo,PASS,0,0,objNum: 0,
68
api_deleteLayer3ForwardingStatic,FAIL,-1,0,,Fail Line: 817
69
api_addIPv6Layer3ForwardingStatic,FAIL,-1,5,iDestIPPrefix: 2400:da00::dbf:0:100/64; NextHop: ::; Interface: 1_INTERNET_R_VID_100,Fail Line: 866
70
api_getIPv6Layer3ForwardingStaticConfigInfo,PASS,0,3,,objNum: 0; 
71
api_releaseIPv6Layer3ForwardingStaticConfigInfo,PASS,0,0,objNum: 0,
72
api_deleteIPv6Layer3ForwardingStatic,FAIL,-1,0,,Fail Line: 914
73
api_getLayer3ForwardingCurrent,PASS,0,2,,objNum: 0; 
74
api_releaseLayer3ForwardingCurrent,PASS,0,0,objNum: 0,
75
api_getIPv6Layer3ForwardingCurrent,PASS,0,2,,objNum: 0; 
76
api_releaseIPv6Layer3ForwardingCurrent,PASS,0,0,objNum: 0,
77
api_setLANEthernetEnable,PASS,0,2,portIndex: 1; enable: TRUE,
78
api_getVLANBindInfo,PASS,0,9,,objNum: 0; 
79
api_releaseVLANBindInfo,PASS,0,0,objNum: 0,
80
api_getLANEthernetInfo,PASS,0,3,PortIndex: 1,Enable: 1; Status: NoLink; BitRate: 1000; DuplexMode: Full
81
api_getLANEthernetStats,PASS,0,4,PortIndex: 1,BytesSent: 0; BytesReceived: 0; PacketsSent: 0; PacketsReceived: 0
82
api_getLANHostIP,PASS,0,3,,LocalIP: 192.168.1.1; Submask: 255.255.255.0
83
api_setLANHostIP,PASS,0,6,LocalIP: 192.168.1.1; Submask: 255.255.255.0,
84
api_getLANDHCPInfo,PASS,0,3,,EnableDHCPServer: 1; DHCPStartIP: 192.168.1.2; DHCPEndIP: 192.168.1.254; DHCPDuration: 86400
85
api_setLANDHCPInfo,PASS,0,6,EnableDHCPServer: 1; DHCPStartIP: 192.168.1.2; DHCPEndIP: 192.168.1.254; DHCPDuration: 86400,
86
api_addPortMapping,FAIL,-1,5,wanIndex: 1; externalPort: 80; internalPort: 50001; portMappingProtocol: TCP; internalClient: 192.168.1.100,Fail Line: 521
87
api_addPortMapping,FAIL,-1,7,wanIndex: 1; externalPort: 80; internalPort: 50001; portMappingProtocol: UDP; internalClient: 192.168.1.100,Fail Line: 538
88
api_getPortMappingInfo,PASS,0,8,,objNum: 0; 
89
api_releasePortMappingInfo,PASS,0,0,objNum: 0,
90
api_getIPv6LANConfig,PASS,0,3,,LocalAddress: fe80::1; ConfigType: HGWProxy; DNSWAN: ; Servers: ; PrefixMode: WANDelegated; DelegatedWAN: /com/cuc/igd1/Info/Network/WANConnectionDb/1; Prefix: ; PreferredLifeTime:0; ValidLifeTime:0
91
api_setIPv6LANConfig,PASS,0,3,LocalAddress: fe80::1; ConfigType: HGWProxy; DNSWAN: ; Servers: ; PrefixMode: WANDelegated; DelegatedWAN: /com/cuc/igd1/Info/Network/WANConnectionDb/1; Prefix: ; PreferredLifeTime:0; ValidLifeTime:0,
92
api_getDHCPv6Server,PASS,0,3,,Enable: 1; MinAddress: 0000:0000:0000:0001; MaxAddress: 0000:0000:0000:00fe; PreferredLifeTime: 0; ValidLifeTime:0; Option16Enable:1; Option17Enable:1
93
api_setDHCPv6Server,PASS,0,3,Enable: 1; MinAddress: 0000:0000:0000:0001; MaxAddress: 0000:0000:0000:00fe; PreferredLifeTime: 0; ValidLifeTime:0; Option16Enable:1; Option17Enable:1,
94
api_getRouterAdvertisement,PASS,0,0,,Enable: 1; MaxRtrAdvInterval: 600; MinRtrAdvInterval: 200; AdvManagedFlag: 0; AdvOtherConfigFlag: 1
95
api_setRouterAdvertisement,PASS,0,3,Enable: 1; MaxRtrAdvInterval: 600; MinRtrAdvInterval: 200; AdvManagedFlag: 0; AdvOtherConfigFlag: 1,
96
api_getDeviceDefaultSSID1Name,PASS,-50,0,,api_getDeviceDefaultSSID1Name::Gateway not support wifi
97
api_getDeviceDefaultSSID1Password,PASS,0,3,,Passwd: 
98
api_setWLANHardwareSwitch,PASS,-50,0,,set 2.4G close, Gateway not support wifi
99
api_setWLANHardwareSwitch,PASS,-50,0,,set 2.4G open, Gateway not support wifi
100
api_setWLANHardwareSwitch,PASS,-50,0,,set 5G close, Gateway not support wifi
101
api_setWLANHardwareSwitch,PASS,-50,0,,set 5G open, Gateway not support wifi
102
api_getWLANHardwareSwitch,PASS,-50,0,,2.4G, Gateway not support wifi
103
api_getWLANHardwareSwitch,PASS,-50,0,,5G, Gateway not support wifi
104
api_getWLANSSIDPassword,PASS,-50,0,,api_getWLANSSIDPassword::Gateway not support wifi
105
api_setWLANSSIDSwitch,PASS,-50,0,,api_setWLANSSIDSwitch::Gateway not support wifi
106
api_setWLANStandard,PASS,-50,0,,2.4G n, Gateway not support wifi
107
api_setWLANStandard,PASS,-50,0,,5G a, Gateway not support wifi
108
api_setWLANRadioChannel,PASS,-50,0,,api_setWLANRadioChannel::2.4G, Gateway not support wifi
109
api_setWLANRadioChannel,PASS,-50,0,,api_setWLANRadioChannel::5G, Gateway not support wifi
110
api_setWLANRadioPower,PASS,-50,0,,2.4G, Gateway not support wifi
111
api_setWLANRadioPower,PASS,-50,0,,5G, Gateway not support wifi
112
api_setWLANRadioFrequencyWidth,PASS,-50,0,,2.4G, Gateway not support wifi
113
api_setWLANRadioFrequencyWidth,PASS,-50,0,,5G, Gateway not support wifi
114
api_getWLANRadioInfo,PASS,-50,0,,2.4G, Gateway not support wifi
115
api_getWLANRadioInfo,PASS,-50,0,,5G, Gateway not support wifi
116
api_setGuestSSID,PASS,-50,0,,api_setGuestSSID::Gateway not support wifi
117
api_getGuestSSIDInfo,PASS,-50,0,,api_getGuestSSIDInfo::Gateway not support wifi
118
api_releaseGuestSSIDInfo,PASS,-1,0,,api_releaseGuestSSIDInfo::Gateway not support wifi
119
api_setWLANSSIDSecurity,PASS,-50,0,,api_setWLANSSIDSecurity::Gateway not support wifi
120
api_setWLANSSIDAdvertisement,PASS,-50,0,,api_setWLANSSIDAdvertisement::Gateway not support wifi
121
api_getWLANSSIDInfo,PASS,-50,0,,api_getWLANSSIDInfo::Gateway not support wifi
122
api_getWLANSSIDStats,PASS,-50,0,,api_getWLANSSIDStats::Gateway not support wifi
123
api_getWLANNeighbor,PASS,-50,0,,2.4G, Gateway not support wifi
124
api_getWLANNeighbor,PASS,-50,0,,api_getWLANNeighbor::5G, Gateway not support wifi
125
api_getWLANHostInfo,PASS,-50,0,,api_getWLANHostInfo::Gateway not support wifi
126
api_releaseWLANHostInfo,PASS,-1,0,,api_releaseWLANHostInfo::Gateway not support wifi
127
api_SetSSIDMerge,PASS,-1,0,,devWifi=[0],Gateway not support wifi or only wifi 2.4G
128
api_CancelSSIDMerge,PASS,-1,0,,devWifi=[0],Gateway not support wifi or only wifi 2.4G
129
FastSSID,PASS,-50,0,,api_setFastSSID::Gateway not support wifi
130
api_setWLANSSIDAccessRule,PASS,-1,0,,Gateway not support wifi
131
api_getWLANSSIDAccessRule,PASS,-1,0,,Gateway not support wifi
132
api_getLANHostInfoByMAC,PASS,0,10,iHostMAC: ,objNum: 2; {Class: OFFLINE; MAC: 000000000000; DhcpName: ; DeviceName: ; IP: ; DevType: Other; ConnectInterface: LAN0; OnlineTime: 0; StorageAccessStatus: ON} {Class: OFFLINE; MAC: 000000000000; DhcpName: ; DeviceName: ; IP: ; DevType: Other; ConnectInterface: LAN0; OnlineTime: 0; StorageAccessStatus: ON} 
133
api_releaseLANHostInfoByMAC,PASS,0,0,objNum: 2,
134
api_getLANHostInfoByInterface,PASS,-50,0,,Gateway not support wifi
135
api_getLANHostInfoByInterface,PASS,0,8,ConnectInterface: LAN1,objNum: 0; 
136
api_releaseLANHostInfoByInterface,PASS,0,0,objNum: 0,
137
api_getLANHostInfoByClass,PASS,0,11,HostClass: ONLINE,objNum: 0; 
138
api_releaseLANHostInfoByClass,PASS,0,0,objNum: 0,
139
api_getLANHostStats,PASS,0,8,HostMac: ,objNum: 2; {UsStats: 0; DsStats: 0} {UsStats: 0; DsStats: 0} 
140
api_releaseLANHostStats,PASS,0,0,objNum: 2,
141
api_getLANHostSpeedLimitInfo,PASS,0,8,HostMac: ,objNum: 2; {UpSpeed: 0; DownSpeed: 0} {UpSpeed: 0; DownSpeed: 0} 
142
api_releaseLANHostSpeedLimitInfo,PASS,0,0,objNum: 2,
143
api_getLANHostInfo,PASS,0,8,,objNum: 2; {MAC: 000000000000; HostClass: OFFLINE; HostName: ; DevName: ; IP: ; DevType: Other; ConnectDevice: 0; ConnectDeviceMAC: 000000000000; ConnectDeviceSN: ; ConnectInterface: LAN0; ConnectionType: 0; SSIDName: ; Channel: 0; Antenna: ; Protocol: ; RadioType: ; FrequencyWidth: ; Speedupstate: 0; RSSI: 0; Speed: 0M; Noise: 0; SNR: 0; Brand: ; OS: ; Model: ; SWVersion: ; KernelVersion: ; OnlineTime: 0; UsBandwidth: 0; DsBandwidth: 0; UsGuaranteeBandwidth: 0; DsGuaranteeBandwidth: 0; UpSpeed: 0; DownSpeed: 0; RxBytes: 0; TxBytes: 0} {MAC: 000000000000; HostClass: OFFLINE; HostName: ; DevName: ; IP: ; DevType: Other; ConnectDevice: 0; ConnectDeviceMAC: 000000000000; ConnectDeviceSN: ; ConnectInterface: LAN0; ConnectionType: 0; SSIDName: ; Channel: 0; Antenna: ; Protocol: ; RadioType: ; FrequencyWidth: ; Speedupstate: 0; RSSI: 0; Speed: 0M; Noise: 0; SNR: 0; Brand: ; OS: ; Model: ; SWVersion: ; KernelVersion: ; OnlineTime: 0; UsBandwidth: 0; DsBandwidth: 0; UsGuaranteeBandwidth: 0; DsGuaranteeBandwidth: 0; UpSpeed: 0; DownSpeed: 0; RxBytes: 0; TxBytes: 0} 
144
api_releaseLANHostInfo,PASS,0,0,objNum: 2,
145
api_setLANHostName,FAIL,-1,9,HostMac: ; HostName: testHost,Fail Line: 1001
146
api_setLANHostName,PASS,-2,0,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
147
api_setLANHostType,FAIL,-1,8,HostMac: ; HostType: PC,Fail Line: 1075
148
api_setLANHostType,PASS,-2,0,HostMac: ; HostType: testLongNameHostType,
149
api_setLANHostSpeedLimit,FAIL,-1,8,HostMac: ; UpSpeed: 2048; DownSpeed: 4096,Fail Line: 1151
150
api_setLANHostSpeedLimit,FAIL,-1,9,HostMac: ,Fail Line: 1173
151
api_setLANHostSpeedLimit,FAIL,-1,8,HostMac: ; UpSpeed: 0; DownSpeed: 0,Fail Line: 1194
152
api_setLANHostSpeedLimit,FAIL,-1,340,HostMac: ,Fail Line: 1216
153
api_getLANHostSpeed,FAIL,-1,9,HostMac: ,Fail Line: 1263
154
api_addLANHostToBlackList,FAIL,-1,5,HostMac: ,Fail Line: 1307
155
api_deleteLANHostFromBlackList,PASS,0,2,HostMac: ,
156
api_addLANHostToStorageBlackList,FAIL,-1,5,HostMac: ,Fail Line: 1419
157
api_deleteLANHostFromStorageBlackList,PASS,0,3,HostMac: ,
158
api_InformGetData,PASS,0,516,,objNum: 1; {pppoe: ; loid: ; ponTXPower: -100.00; ponRXPower: -100.00; szDeviceMac: 081074000061; onlineTime: 58739; recvTraffic: 407796; sendTraffic: 407816; sendSpeed: 407836; recvSpeed: 407852; cpuRate: 1; memRate: 25; szLANMac: (081074000061:081074000061:081074000061:081074000061); ponTemperature: 0.00; deviceNum: 2; {StaOnlineTime: 0; szStaName: ; pszStaType: Other; szStaMac: 000000000000; szStaIP: -1265088766; szStaBrand: ; szStaOS: ; StaWIFIIntensity: 0; StaSpeed: 408120; StaRecvTraffic: 408136; StaSendTraffic: 408160; status: 0; szRadioType: ; szWifiProtocol: ; connectionType: 0; usBandwidth: 0; dsBandwidth: 0; usGuaranteeBandwidth: 0; dsGuaranteeBandwidth: 0; upSpeed: 408364; downSpeed: 408380} {StaOnlineTime: 0; szStaName: ; pszStaType: Other; szStaMac: 000000000000; szStaIP: -1265088238; szStaBrand: ; szStaOS: ; StaWIFIIntensity: 0; StaSpeed: 408120; StaRecvTraffic: 408136; StaSendTraffic: 408160; status: 0; szRadioType: ; szWifiProtocol: ; connectionType: 0; usBandwidth: 0; dsBandwidth: 0; usGuaranteeBandwidth: 0; dsGuaranteeBandwidth: 0; upSpeed: 408364; downSpeed: 408380} } 
159
api_InformReleaseData,PASS,0,0,objNum: 1,
160
api_getPOTSInfo,PASS,0,7,,objNum: 1; POTSNum: 1; {POTSIndex: 1; PhoneNumber: ; LineStatus: DISABLE} 
161
api_releasePOTSInfo,PASS,0,0,objNum: 1,
162
api_subscribeVoIPEvent,PASS,2,3,event: ,
163
api_unSubscribeVoIPEvent,PASS,0,0,subID: 3,
164
api_getDiagInfo,PASS,0,15,,PPPoEUserName: ; MAC: ZTEG00112269; LOID: ; SWVersion: V02.00.1; HDVersion: V02.00.0; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; CPUUsage: 1%; MEMUsage: 25%; FlashUsage: 57%; Temperature: 0.00; WiFiMode: ; RxErrorPkts: 389648; RxDropPkts: 389668; TxErrorPkts: 389688; TxDropPkts: 389708; RSSIList: ; SpeedList: ; WLANNeighborList: 
165
api_subscribeFaultEvent,PASS,0,0,FaultEnable: 1; func: test_api_FaultEventFunc,
166
api_setRedirect,FAIL,-1,7,RedirectEnable: 1; RedirectURL: www.baidu.com,Fail Line: 144
167
api_addIPSets,PASS,0,371,{SetName: ipset_hns4;SetType: hash:net;Protocol: 1;Direction: 1;EntryNum: 3;{value: 10.10.10.0/24;value: 10.10.20.0/24;value: 10.10.30.0/24;}}{SetName: ipset_hnd4;SetType: hash:net;Protocol: 1;Direction: 2;EntryNum: 3;{value: 10.20.10.0/24;value: 10.20.20.0/24;value: 10.20.30.0/24;}}{SetName: ipset_hms4;SetType: hash:mac;Protocol: 1;Direction: 1;EntryNum: 3;{value: 6E:61:99:0C:9B:70;value: 6E:61:99:0C:9B:77;value: 6E:61:99:0C:9B:AB;}}{SetName: ipset_hmd4;SetType: hash:mac;Protocol: 1;Direction: 2;EntryNum: 3;{value: 6E:61:90:0C:9B:70;value: 6E:61:09:0C:9B:77;value: 6E:61:79:0C:9B:AB;}}{SetName: ipset_his4;SetType: hash:ip;Protocol: 1;Direction: 1;EntryNum: 3;{value: 172.24.17.3;value: 172.24.57.3;value: 172.24.14.23;}}{SetName: ipset_hid4;SetType: hash:ip;Protocol: 1;Direction: 2;EntryNum: 3;{value: 172.34.17.3;value: 172.34.57.3;value: 172.34.14.23;}}{SetName: ipset_hips4;SetType: hash:ip,port;Protocol: 1;Direction: 1;EntryNum: 3;{value: 172.25.17.3,tcp:10;value: 172.25.57.3,tcp:20;value: 172.25.14.23,tcp:30;}}{SetName: ipset_hipd4;SetType: hash:ip,port;Protocol: 1;Direction: 2;EntryNum: 3;{value: 172.34.17.3,tcp:10;value: 172.34.57.3,tcp:20;value: 172.34.14.23,tcp:30;}}{SetName: ipset_hbps4;SetType: bitmap:port;Protocol: 1;Direction: 1;EntryNum: 3;{value: 2345;value: 4534;value: 23565;}}{SetName: ipset_hbpd4;SetType: bitmap:port;Protocol: 1;Direction: 2;EntryNum: 3;{value: 7686;value: 18000;value: 2000;}},
168
api_getIPSetsConf,PASS,0,56,,
169
api_releaseIPSetsConf,PASS,0,0,,
170
api_deleteIPSetsEntry,PASS,0,2387,,
171
api_checkIPSetEntry,PASS,0,85,,
172
api_deleteIPSets,PASS,0,17,,
173
api_getIPSetsInfo,PASS,0,29,,
174
api_releaseIPSetsInfo,PASS,0,0,,
175
api_clearIPSets,PASS,0,8,,
176
api_getIPSetsAllConf,PASS,0,3,,
177
api_releaseIPSetsAllConf,PASS,0,0,,
178
api_getIPSetsAllInfo,PASS,0,3,,
179
api_releaseIPSetsAllInfo,PASS,0,0,,
180
api_setWMMEnable,PASS,-50,0,,Gateway not support wifi
181
api_setWMMServiceIPSet,PASS,-50,0,,Gateway not support wifi
182
api_getWMMIPSetInfo,PASS,-50,0,,Gateway not support wifi
183
api_releaseWMMIPSetInfo,PASS,-1,0,,Gateway not support wifi
184
api_deleteWMMServiceIPSet,PASS,-50,0,,Gateway not support wifi
185
api_getFirewallL2TPVPNProfile,PASS,0,3,,MaxL2TPVPN: 6; MaxIPSet: 16; MaxIPSetEntry: 8000
186
api_addFirewallL2TPVPN,FAIL,-1,11,Name: L2TPVPN1; InsAddress: 100.0.0.1; UserName: test; Password: test; DestPort: 6555; Enable: 0; Operate: 1; IPSetsInfo: {SetNum: 1; data: {SetName: l2tpvpn1} },Line[227]: hash:ip add l2tpvpn fail!
187
api_getFirewallL2TPVPN,FAIL,-1,2,name: L2TPVPN1,Line[435]: L2TPVPN1 return fail!
188
api_releaseFirewallL2TPVPN,FAIL,-1,2,,Line[572]: L2TPVPN1 get fail!
189
api_subscribeFirewallL2TPVPNStatus,PASS,0,0,name: L2TPVPN1,
190
api_subscribeFirewallL2TPVPNStatus,PASS,0,0,name: L2TPVPN2,
191
api_getFirewallL2TPVPNStatus,FAIL,-1,3,name: L2TPVPN1,Line[835]: L2TPVPN1 return fail!
192
api_getFirewallL2TPVPNProfileStatus,FAIL,0,25018,name: L2TPVPN1,
193
api_getFirewallL2TPVPNProfileStatus,FAIL,0,25019,name: L2TPVPN2,
194
api_releaseFirewallL2TPVPNProfileStatus,PASS,0,25019,,
195
api_releaseFirewallL2TPVPNProfileStatus,PASS,0,25019,,
196
api_getFirewallL2TPVPNAllProfileStatus,FAIL,0,25019,,
197
api_releaseFirewallL2TPVPNAllProfileStatus,PASS,0,25019,,
198
api_unsubscribeFirewallL2TPVPNStatus,PASS,-1,0,name: L2TPVPN1,
199
api_unsubscribeFirewallL2TPVPNStatus,PASS,-1,0,name: L2TPVPN2,
200
api_deleteFirewallL2TPVPN,FAIL,-1,0,name: L2TPVPN1,Line[324]: delete L2TPVPN1 fail!
201
api_getNetworkAccelerationProfile,PASS,0,25019,,MaxNetworkAcceleration: 286660670; MaxIPSet: 1; MaxIPSetEntry: 3198458520
202
api_addFirewallNetworkAcceleration,FAIL,-1,25019,,Line[206]: [hash:ip] add ipset fail!
203
api_getFirewallNetworkAcceleration,FAIL,-1,25019,name: Acceleration1,Line[435]: Acceleration1 return fail!
204
api_releaseFirewallNetworkAcceleration,FAIL,-1,25019,,Line[574]: Acceleration1 get fail!
205
api_getNetworkAccelerationProfileStatus,FAIL,0,25019,name: Acceleration1,
206
api_getNetworkAccelerationProfileStatus,FAIL,0,25025,name: Acceleration2,
207
api_releaseNetworkAccelerationProfileStatus,PASS,0,25023,,
208
api_releaseNetworkAccelerationProfileStatus,PASS,0,50043,,
209
api_getNetworkAccelerationAllProfileStatus,FAIL,0,25019,,
210
api_releaseNetworkAccelerationAllProfileStatus,PASS,0,25025,,
211
api_deleteFirewallNetworkAcceleration,FAIL,-1,0,name: Acceleration1,Line[324]: delete Acceleration1 fail!
212
api_getRunIPTables,FAIL,-1,0,,Fail Line: 117, -L -t nat
213
api_releaseRunIPTables,FAIL,-1,0,,Fail Line: 249, -L -t nat
214
api_getRunIP6Tables,FAIL,-1,0,,Fail Line: 300, -S
215
api_releaseRunIP6Tables,FAIL,-1,0,,Fail Line: 432, -S
216
api_getTrafficControlProfile,PASS,0,25022,,MaxTrafficControl: 286660670; MaxIPSet: 1; MaxIPSetEntry: 3198458520
217
api_addFirewallTrafficControl,FAIL,-1,25019,,Line[176]: add ipset fail!
218
api_getFirewallTrafficControl,FAIL,-1,25023,name: Traffic1,Line[287]: return fail!
219
api_releaseFirewallTrafficControl,FAIL,-1,25025,,Line[347]: get fail!
220
api_getTrafficControlProfileStatus,FAIL,0,25020,name: Traffic1,
221
api_releaseTrafficControlProfileStatus,PASS,0,25019,,
222
api_getTrafficControlAllProfileStatus,FAIL,0,25019,,
223
api_releaseTrafficControlAllProfileStatus,PASS,0,25019,,
224
api_deleteFirewallTrafficControl,FAIL,-1,0,name: Traffic1,Line[229]: delete traffic control fail!
225
test capi num 198; Total duration of test 790740; Average Time 3993.636364(s)