AnsweredAssumed Answered

Toggle service model behavior at runtime

Question asked by AVSDevTest on May 25, 2016
Latest reply on Jan 17, 2017 by norre01

Hi All,

 

I have a requirement to toggle service model behavior at run-time. Is there any inbuilt feature to achieve it. The purpose of this use case is to reduce incoming load on the live service and implement caching mechanism within the CA DevTest service.

 

I am interested in 2 model behaviors -

1. Provide virtualized responses

2. Pass requests to the live system

 

My requirement is as below -

 

- When first client request comes to the service

     - service will check in the data set for any previous request-response pair

     - If not found then service will pass request to the the live back-end service

     - Store request-response pair in data set for future use

     - Send response back to the client

 

- When same 2nd client request comes to the service

     - service will check in the data set for any previous request-response pair

     - If found then service will respond back with the response from data set

 

Thanks.

Outcomes