Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to retrieve Weblogic's Deployment test points through Weblogic Java API

I'm working on a Weblogic health monitoring code base, which is based on JMX. I am trying to get the list of all deployment test points (the http addresses, as shown in the following snapshot), and see if that web address is reachable or not.

Is there a way to access the list of these test points in Weblogic's Java API? They are under [server_name] --> deployment (left menu) --> [app name] --> Testing pane, under "Deployment Tests" table.

enter image description here

like image 858
Tina J Avatar asked Sep 17 '18 22:09

Tina J


People also ask

What is API in WebLogic?

Weblogic REST API (or) Weblogic RESTful services is an innovative approach to manage your weblogic application server. Weblogic REST API could help you do various administration tasks like start, stop, deployment tasks, monitoring, Resource creation like JDBC, Server, Cluster so on and so forth.

Where is ear deployed in WebLogic?

The EAR file is saved in the install_home \deployment\default folder. Select Install to deploy the EAR file to the cluster.

Where can I find WebLogic deployer?

cmd script, located in the server/bin subdirectory of the WebLogic Server installation directory, to set the environment. If you are connecting to an Administration Server via a configured Administration channel, you must also configure SSL on the machine on which you run weblogic. Deployer .


1 Answers

There is no direct method call to generate test urls. but from wlst or mbeans you can gather information about server url port and application context. and generate the url.

you can check Retrieve current server's provider URL at runtime on weblogic (non-deprecated way)

and for wlst you can check https://docs.oracle.com/cd/E24329_01/web.1211/e24490/reference.htm#WLSTC119

here is example from my local. how to find out context path enter image description here here how test url looks in weblogic admin enter image description here

like image 51
ozkanpakdil Avatar answered Oct 12 '22 01:10

ozkanpakdil