How do I get code coverage from a remote session.
-
Friday, December 19, 2008 1:21 PMHi All,
I am trying to capture code coverage in the following scenario.
1. Hosted Web site in server 1 with instrumented binaries.
2. launching URL from different client machines using the URL .
Question: If I start Vsperfmon using remote desktop ( mstsc), using start and shutdown I commands I am able to see code coverage data file but with no information.
When I open the coverage file it says" Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems. "
Please let me know how do I do code coverage using remote desktop. i have tried to launch the Vsperfmon using PsExec tool from Sysinternals to simulate the vsperfmon to start the process in session 0 but no luck in starting the session at all.
It says "Error VSP1342 : Another instance of the Logger Engine is currently running"
Please help me in this regard.
Thanks,
Srinivas
All Replies
-
Tuesday, December 23, 2008 8:01 AMHi Srinivas
Are you using IIS7? There's a known issue that prevent collection code coverage from a web site in IIS7.
If you are not using IIS7, could you try kicking off remote desktop by "mstsc /console /v:<MachineName>"?
Please mark the replies as answers if they help and unmark them if they provide no help. -
Monday, January 12, 2009 8:25 AMHi Bill,
Thanks for the information. We are using IIS6. with your suggestion, we are able to get code coverage tool working with console logging into remote server.
Now the issue is, code coverage tool is giving the results only for the client user (testing from client machine) who is also logged into remote server using /console. For other client users, who are testing the website from client machines, the code coverage tool does not consider them.
Please let us know any solution/workaound for the same.Thanks,

