Cannot get the Email Step to work properly in the VSM
search cancel

Cannot get the Email Step to work properly in the VSM

book

Article ID: 138792

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Have a VSM that is set to Fail over mode.

When the request hits the VS  it should go to Live System and if Live system is up, it should respond from the Live server, but  if it's  down, it should send an email and then respond from VS Image.  How is this accomplish? 

Environment

All supported DevTest releases.

Resolution

Please follow the steps to accomplish this:   

Change EXECUTION MODE : FAILOVER in project.config. ( as this VSM is designed for that purpose)

In the VSM,  here is the flow..
1. For response from Live
Virtual Service Execution Router -> if Live -> Virtual HTTPS Live Invocation -> Virtual Https Responder -> Https Listener
2. Reponse when Live system is down.
Virtual Service Execution Router -> if Failover -> Virtual HTTPS Live Invocation -> if Failover -> Send Email Step -> VS Image Response selection Step> Virtual Https Responder -> Https Listener