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.

Bug 246585

Summary: "Test RESTful Web Services" uses "test-services.html" instead of "test-resbeans.html"
Product: webservices Reporter: terje7601
Component: RESTAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description terje7601 2014-08-20 13:52:33 UTC
I attempted to test bug 245015 with the latest build, but failed due to a JavaScript error. I noticed "test-services.html" was used instead of "test-resbeans.html", so I'd guess that's the cause.

To reproduce:
1) open a Maven JAX-RS project
2) right-click "RESTful Web Services" -> "Test RESTful Web Services"
3) choose "Locally Generated Test Client [...]" -> "OK"
4) test-resbeans.js gives the error: "ReferenceError: toggleHeadersBlock is not defined"

Product Version: NetBeans IDE Dev (Build 201408200001)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)