DevTestUser

need tip: respond values to change as per the request value

Discussion created by DevTestUser on Feb 26, 2016
Latest reply on Feb 26, 2016 by Joel NeSmith

Hi,

 

I have scenario where my input request argument value is always one element and that value is keep changing .... and my response structure is also constant but couple of element values in the response keep changing based on input request..

 

so I would need to add some kind of logic where I should be able to handle example if request arg1=123 then response value to return 'ABC' , if request arg1=124 then response value to return 'ABD' and so on..

 

any one has tried this ? this is going to save us lot of time rather than adding so many transactions in VSI for different responses .

 

thanks

Outcomes