Contributions
Re: Get TestStep outcome in a Groovy TestStep
Hi Samy. Sorry for answer so late. I checked your groovy script code and I cannot find where you are picking up if test was OK or KO Last push please I think we almost have it :D Thanks. Toni9 years agoPlace ReadyAPI QuestionsReadyAPI Questions909Views0likes0CommentsRe: Get TestStep outcome in a Groovy TestStep
Hi again Samy. I usedyour plugin and is doing more or less what I'm trying to do, but in separated files. I had to execute my test case before, click right button on testSuite and clicked in "Plugin: Export Request and Response". Your plugin is making a file for each step (including groovy Steps and others). Maybe you know which code I have to include in my groovy in order to saveif testStep has passed or not? Thanks for your help one more time. Waiting for your response Regards. Toni9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.1KViews0likes2CommentsRe: Get TestStep outcome in a Groovy TestStep
Hi Samy. Match with your description. I'm trying to rundifferent input combinations inmy APIs using an excel file as dataSource. And I want to save in txt all passed and not passed API calls. Waiting for your solution. Thanks. Toni9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.1KViews0likes4Comments- 9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes6Comments
Re: Get TestStep outcome in a Groovy TestStep
Thanks for your answer Rao. This is not what I'm trying to do. The idea is take status of previous SOAP step (which is inside a loop) in execution time. And report it in the txt file indicating if has passed (all assertions are ok) or not (some of the assertion have failed) Your approach is after execution and in testCase level. In my case, if testRunner.status is called (following your approach), response is RUNNING :( . I'm trying to obtain the Result of a testStep. Screenshot added, maybe can help you to understand what I need Thanks9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes9CommentsGet TestStep outcome in a Groovy TestStep
Hi guys. In a looped testStep I'm saving in a txt file Request and Response. I want to save as well the result of this step (If has passed all theassertions). In other words Green as OK. Red as NOK. It is possible usingGroovy script? Thanks in advance. Toni9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.5KViews0likes11CommentsAutomatic screenshots for each step. It's possible?
Hi community. I'm trying to improve the way in which we are working in thecompany. For each step, we use to make screen captures by hand and pasting them into an excel sheet, in order to build a test report. This is not an efficient way to work in my opinion, but is just the company want... I'm looking for a way to make automatic screenshots for each step. But cannot find how.There is any option in a groovy script or something like that? Hope to someone has an aproximation or solution. P.D: Other solution could be redirect the xml from request and response into a excel sheet, but is not what the company needs Thank you in advance3.9KViews0likes10CommentsTrying to catch and manage JDBC response data in Groovy
Hi fellas. I'm trying to catch JDBC step response in a Groovy Script for take some response data and work with it for other steps How can I do it? Feeling lost because I worked with JSON response with no problems and this is new to me. Thx for all guys10 years agoPlace ReadyAPI QuestionsReadyAPI Questions958Views0likes1Comment