End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

synthetic monitoring using java tcp call

New Member

synthetic monitoring using java tcp call

We are using selenium code for EUM. We make a call to one of our http endpoint every 5 minutes from AppD (whitelisted IP) to our app behind firewall using a script in a job with following selenium code (partial code listed here)

 

def test_converge(self):
driver = self.driver
driver.get("https://<key>.api.xxx.com/transactions")
#time.sleep(3)
src=driver.page_source
text_found = re.search(r'"isAuthorized" : true', src)

 

We have another app which listens on TCP and we can check it every 5 mins with following command. 

java -jar xxx.jar --sim.mode=auto --sim.deviceId=yyy --sim.connTimeout=5000  --server.host=11.22.22.33 --server.port=6000 --server.ssl=true

 

How do I create a synthetic job which would help me monitor this app?

 

synthetic monitoring using java tcp call