Oracle WebLogic: Monitoring WebService Performance then Trigger Auto JFR and Thread Dump – Volume-II

| April 3, 2020 | 0 Comments

In this screen cast I am showing WebService Performance monitoring with CURL;

 

1. Deploy HelloWaitWebService application to your WebLogic domain (supports 11g and 12c)

Download and Deploy: https://github.com/admineer/HelloWaitWebServiceApp

 

2. Download these files to your machine

curl-format.txt
curlSoapWS-hwait.sh*
soap-request-hwait.xml

 

3. Check soap-request-hwait.xml request XML file. The input field waitSecond is the time that you want to webservice respond.

HelloWait SOAP Request XML HelloWait SOAP Request XML

 

4. Check curlSoapWS-hwait.sh script or CURL command and edit according to your environment.

Highligted:

 

Inline:

curl -o /Users/admineer/u01/scripts.imac/curl.ws/hwait/response.xml -H "Content-Type: application/soap+xml; charset=UTF-8" \      -d@/Users/admineer/u01/scripts.imac/curl.ws/hwait/soap-request.xml    \       http://localhost:7003/HelloWaitService/HelloWaitWebService1Port   \      -w "@/Users/admineer/u01/scripts.imac/curl.ws/hwait/curl-format.txt" -o /dev/null

 

5. Transform this script or command to Generic DevOps MBean to measure WebService performance and trigger auto Java Flight Recorder (JFR) and auto Java thread dump. Watch below YouTube video tutorial for do it by yourself.

 

 

LinkedInTwitterGoogle+FacebooktumblrEmail
    Share admineer resources...

Tags: , , , ,

Category: Shell, WebLogic, WLSDM

About the Author ()

Leave a Reply

Your email address will not be published. Required fields are marked *