Hi there,

I am a new to windows mobile development and QE.

Currently engaged in network application incorporates NDIS hooking.

I am assigned to measure the performance of this application with the
requirement that there is no noticeable performance penalty in
connection opening or data throughput.

How do I test this on mobile devices? The network performance tools
I've search on the net is in the desktop environment. Anyone has
experience doing this and can give me some pointers.

I have also tried running NDIS performance tool in the WCETK but I will
always get
a fail.

-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

I have followed the instruction on running NDIS performance tool as
specified here
(http://msdn2.microsoft.com/en-us/library/aa463119.aspx)

<<<Setup>>>

* I have 1 desktop computer that acts as my supporting desktop
computer. It is
also installed with the Window CE 5.0 Test Kit.(standalone version).

* I have installed the MS_NDP protocol driver on the supporting desktop
computer,
and run snetcfg -v -q ms_ndp to verify my installation.

* The tested network interface for the device is wireless, hence I have
obtained
the GUID/bind name for the wireless network interface for the
supporting desktop
computer, idetify through a listing displayed by running: tux -o -d
perf_ndis -c '"-enum"

* The network interface on the supporting desktop computer needs to
communicates with the tested network interface on the Windows CE-based
device. Hence, I have configure the wireless network interface for the
supporting desktop computer to start in ad hoc network mode.

<<<Run the NDIS Performance Test on the supporting desktop computer>>>
* I've navigated to the directory that contains the Perf_ndis.dll file,
and then
run the following command: tux -o -d perf_ndis -c "-ndisd -nounbind
\Device\{<9DFE50b6-xxx-xxx-xxxx-xxxxxxxxxxxx>}"

* then it will display on the command window:
ShellProc(SPM_LOAD_DLL, ...) called
Command Line: "-ndisd -nounbind
\Device\{9DFE50B6-558D-4D9E-A218-66FFF38D6015}".
ShellProc(SPM_REGISTER, ...) called
ShellProc(SPM_START_SCRIPT, ...) called
ShellProc(SPM_BEGIN_GROUP, ...) called
ShellProc(SPM_BEGIN_TEST, ...) called
perf_ndis Msg: Waiting for new client connection....


<<<Run the NDIS Performance Test on the Windows CE–based device>>>
* Connect device to desktop computer with USB

* Connect the CETK to the device.

* Modified the command line for the NDIS Performance Test to specify
the device
name of the network interface to test: tux –o –d perf_ndis –c "-mode
send –s TNETWLN1"

* Run the NDIS Performance Test.

* Test Status = Fail

BEGIN GROUP: tuxdllname.DLL
<TESTCASE ID=1001>
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: Test 1
*** Test ID: 1001
*** Library Path: \perf_ndis.dll
*** Command Line: -mode send -s TNETWLN1
*** Random Seed: 18957
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
BEGIN TEST: " Test 1", Threads=0, Seed=18957
perf_ndis ERROR: Failed open adapter TNETWLN1
END TEST: " Test 1", FAILED, Time=1.130
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** TEST COMPLETED
***
*** Test Name: Test 1
*** Test ID: 1001
*** Library Path: \perf_ndis.dll
*** Command Line: -mode send -s TNETWLN1
*** Result: Failed
*** Random Seed: 18957
*** Thread Count: 1
*** Execution Time: 0:00:01.130
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

</TESTCASE RESULT="FAILED">

-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------


What went wrong?

Is connecting the device by USB and WIFI at the same time causes this
failure?

Any comments and advice is very much appreciated.

Thank you.......