Contributions
AUTO RESOLVE SCHEMA CHANGES AT PROJECT LEVEL
Schema inference is definitely a good way to auto resolve schema conflicts if there are one or two test cases for which a schema change will affect. But if there are say some 600 test cases on a single Rest URI then it's pretty hard to go to each test case and then click on "Resolve all conflict". So if we have this option at the menu/context menu level we can achieve auto schema resolve at all points(like Project level, Test Suite level, Test case level or Test Step level). Also a reverting option of what has been done would also be a great value add.9.5KViews2likes6CommentsRe: How to cope with the changing schema of request/response or both to test rest APIs?
Hi Rup, that would do if there are one or two test cases for which a schema change will affect. But if there are say some 600 test cases on a single Rest URI then it's pretty hard to go to each test case and then click on "Resolve all conflict". So if we have this option at the menu/context menu level we can achieve auto schema resolve at all points(like Project level, Test Suite level, Test case level or Test Step level). Also a reverting option of what has been done would also be a great value add.3.6KViews0likes4CommentsRe: How to solve complex data driven tests say for REST API for a combination of input/output variables
Hi, I have got it solved with some trial and error. I have listed the details herein this post's reply section and marked as answer.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews1like0CommentsRe: How to read the current executing excel row-column in a Groovy script test step?
Hi nmrao, Thanks for elaborating the question. What you have explained above is exactly what I was looking at. With little bit of playing around with the "SoapUI NG Pro" I could generate the script to reada particular column from the currently executing row. Now here is my test case's steps: Groovy script Test Step: Read column from excel to property (defined in test case) Execute a Parameterized Rest request gettingvalue from the property Groovy script Test Step: read the response and compare that with the response/expected value in the excel column along with some business validation check using assert I am glad that "SOAP UI Pro /Ready! API 1.9.0" has done a wonderful job of"generating the script to read data from data source for the currently executing row". Here is the steps to do that Just right click on the Groovy Script Test Step editor, Click On "GetData" Select the data source from where to read the data, in my case it was the added excel file's column editor will ask for some meaningful parameter name, enter and click OK That's all you are done with the Groovy script which will read the column from a data source for the currently executing row. I guess it's one of the top features which should have been listed or added as video demo mentioning how to work with Data source. This whole thing is my personal favoriteand I call it Dynamic data driven test, as I am able to test almost anything with this approach. Many a thanks to SOAP UI Pro team for building such a wonderful feature. I am thrilled.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes0CommentsRe: How to cope with the changing schema of request/response or both to test rest APIs?
I am actually trying trial version of "SoapUI Pro/ Rady!API 1.9.0 "for this. And Schema Inference is definitely helping it out. As you mentioned for the scripts same kind of feature like "Auto Update Schema" menu option/ button to update the schema for all test cases or test suites or the project would be a great feature. As I am using trial version of "SoapUI Pro/ Rady!API 1.9.0 " @Community please let me know if any such feature is there already or in pipeline.3.7KViews0likes6CommentsHow to read the current executing excel row-column in a Groovy script test step?
Hi , I am using excel file as data source. How to read the current executing excel column in a Groovy script test step? I tried right click and GetData option but log.info is showing empty. Also how to see the logs of script which were executed during the loop? PFA .png for the snapshotSolved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.6KViews0likes4Comments