Contributions
- 5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes1Comment
Re: Generate test step status to DataSink
Hi Rich, Basically my idea as below, i try to automate it to avoid manual work but I was new to soapUI and 0 knowledge in writing the script. Sorry if i asking a silly question. My test step as below: 1. DataSource testCase Ccy Tenor Expected_Status Expected_statusMsg TC_01 GBPUSD SPOT OK TC_02 EURUSD SPOT ERROR No rate available TC_03 AUDUSD SPOT OK TC_04 USDCAD TODAY ERROR Currency holidays 2. DataGen 3. Rest Request 1 This step will send the request to get market rate. I have add and group this 2 assertion ("Json_status" and "Json_statusMsg") to validate the response with the expected result in step 1. If both match, then return PASSED to "finalTestResults" in DataSink else FAILED. 4. Data Sink In this step i want to write out results for each test case loops to excel. testCase Ccy Tenor finalTestResults TC_01 GBPUSD SPOT PASSED TC_02 EURUSD SPOT FAILED TC_03 AUDUSD SPOT PASSED TC_04 USDCAD TODAY PASSED 5. DataSource Loop Thank for you help.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews1like6CommentsGenerate test step status to DataSink
I have create one test case with more than 100 test data for different condition/scenario in DataSource. At test step 3, i have add an assertion "Json_status" and "Json_statusMsg" to validate the test result in rest response.. So, how to add the test result (passed/failed) for each row test data based on status of assertion in test step 3 to property "finalTestResults" in DataSink.Solved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes9Comments