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

1

11

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

Microscopy answered 17/9, 2018 at 22:59 Comment(2)
Not sure this information is available through jmx mbeans exposed by WebLogic. These urls are certainly built dynamically by the console.Holmic
Ummm I see. What are ways to get those?Microscopy
H
1

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

Homocyclic answered 2/10, 2018 at 17:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.