Is there any way to test rest API using JMX-Console?
better to test it with unit tests, please check examples of AbstractRestTest descendants, like RestAuthServerTest or other tests near by
Also, if you are trying not to create unit tests but to just try some stuff interactively, there are supposedly some good Chrome and Firefox plugins out there. For example, you can google for "chrome REST plugin"
We use REST calls to quickly check the communication between CMD and other instances.
Platform REST client uses a little different header for Authorization. So wanted to add this here.
Install Chrome plugin for encoding
Use the format ent={ENTNAME},user={USERNAME}:{PASSWORD}
You can use the encoding chrome plugin to do this.
Now when you test the rest call, just add the header
Authorization: Basic ZW50PU9mZmljZSBEZXBvdCBJbmMsdXNlcj1NeVRlc3RVc2VyOnBhc3N3b3Jk
where the code is Base64 encoding generated.
Advanced REST client is a good chrome plugin to use.
Sample REST call using the plugin: