Forum Discussion

rajeshthangaraj's avatar
rajeshthangaraj
Senior Member
6 years ago

How to read datasource in ServiceV response dispatch script

Hi,

 

I'm ReadyAPI ServiceV Pro user. I'm trying to understand how to read values from an external datasource file in the mock response using script dispatch option in ServiceV. I could load the datasource in the 'DataSources' tab to start with. I'll appreciate your reply.

 

PS: I could read from properties file using "context.expand" function

 

Thanks, Rajesh