This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When you right click on a Web Application (in the projects panel) there is no menu option to "Test Project" as there is with other project types. It would be nice if this was available, even if the test are run out of container. workaround, go to the Files panel, open your project, open your build.xml file, right click on the Test target and select Run Target.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss