<\/p>\n\r
Once the example service and example client has been built, the next step is to test them using Thread Validator.<\/p>\n\r
<\/p>\n\r
<\/p>\n\r
If you haven\'t installed the service, do the following:<\/p>\n\r
<\/p>\n\r
•<\/span>open an administrator mode cmd prompt <\/span><\/p> <\/span><\/p>\n\r •<\/span>navigate to the directory containing the serviceTV.exe to install <\/span><\/p> <\/span><\/p>\n\r •<\/span>serviceTV.exe -install <\/span><\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r <\/p>\n\r Prerequisites<\/p>\n\r <\/p>\n\r •<\/span>example service has been installed, but not started (if service has been started, stop the service) <\/span><\/p> <\/span><\/p>\n\r •<\/span>example service and example client have been built<\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r The following process is used to monitor the application launched by the service:<\/p>\n\r <\/p>\n\r •<\/span>From the Launch menu choose Services<\/span> <\/span>><\/span> <\/span>Monitor<\/span> <\/span>a<\/span> <\/span>Service...<\/span> <\/span><\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r <\/span><\/p>\n\r •<\/span>The Monitor a service dialog is displayed<\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r <\/span><\/p>\n\r •<\/span>Use Browse...<\/span> to open the file chooser dialog and choose the service that will be monitored by Thread Validator. <\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r <\/span><\/p>\n\r •<\/span>Click OK<\/span><\/p> <\/span><\/p>\n\r •<\/span>Thread Validator sets up a variety of parameters then displays a dialog box asking you to start you service. Click OK<\/span> to dismiss the dialog<\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r <\/span><\/p>\n\r •<\/span>Start your service. For the example serviceTV.exe<\/span> do the following<\/p> o<\/span>open an administrator mode cmd prompt <\/span><\/p> o<\/span>navigate to the directory containing the serviceTV.exe<\/span> to start <\/span><\/p> o<\/span>serviceTV.exe<\/span> <\/span>-start<\/span> <\/span><\/p> o<\/span>serviceTV.exe<\/span> starts will be monitored by Thread Validator<\/p> <\/span><\/p>\n\r •<\/span>The target application contacts Thread Validator<\/p> <\/span><\/p>\n\r •<\/span>Data is collected until the service finishes executing<\/p> <\/span><\/p>\n\r •<\/span>Thread Validator displays the results<\/p> <\/span><\/p>\n\r <\/span><\/p>\n\r"
})
Monitoring the service<\/span><\/h1>\n\r