Contributions
Re: How to extract JSON data from external file as Datasource via Ready API?
Thanks Richie for quick response. On your first reply your understanding is correct. In my test cases there are 5 different POST requests & each has 1 JSON file. I got your solution via data source loop, but I need to handle my test cases as independent instead of 5 cases in one test case. So here I'm not able to use data source loop as data source loop works within the one test case so.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes1CommentRe: How to extract JSON data from external file as Datasource via Ready API?
By this solution I'm able to get all JSON files via Directory datasource, buthere I'm facing issue that is, - Via Get Data option from Request, not able to select single JSON file from Datasource directory, it just shows '${#[TestSuite#TestCase#DataSource]#FileContent}'. Is there any way to select any single JSON from all JSON files which we got from directory? -Here is my scenario, 5 Post requests & for each I'm getting JSON data from directory via data source & 5 test cases are created, so want to use those JSON data in respective 5 Post requests. Currently I'm validating by adding datasource in each test case to get JSON &calling same JSON via Get Data option at request. So please let me know if here any solution on my points. Thanks in advance.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes4CommentsHow to extract JSON data from external file as Datasource via Ready API?
I want to get data via JSON external file as datasource. So can someone help me here how can i get it? Is there any possibility that we can put JSON script in excel cell & extract via Ready API & use further for any requests from Datasource? If not possible then please help me any similar way to use JSON file as Datasource. Please let me know if anymore details require. Thanks in advance.Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes7Comments