Solution to Monitor Service (CVS Dashboard) and Trigger Batch

book

Article ID: 186038

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

We are looking for a feasibility analysis on solution where we need to monitor the live service (using CVS dashboard)  by hitting an endpoint url and based on assertion results, CA DevTest to trigger batch file or selenium scripts in a specific workstation to verify if the application is down or not.

 

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

It is suggested to create a test case with a Web Service step to hit the endpoint you want to check whether the service is down or not.

You can have an assertion that checks for a 200 OK return call and if it errors then have another step, Send Email Step, to notify the powers that be the service is down.

Then kick off your batch file to start your automation scripts.

Deploy the test case to CVS and have it run say every 5 minutes.