Contributions
Re: SoapUI tests fails intermittently
That's a good point that it could be a load balanced server issues. I have passed on this info to my team and see what they can find out. At this point I still can't conclude if its a environment issue, but will find out. Thanks for the help. Really do appreciate it7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes1CommentRe: SoapUI tests fails intermittently
Yes. I have looked at the logs and did not see any exceptions. In fact I take the exact request details when failed and run them in postman where the request succeeds with 201 response code. I can reproduce it on different machines and I am working on only one project. I have not seen any pattern. Its very sporadic.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes3CommentsRe: SoapUI tests fails intermittently
Thanks for your response. System.gc() did not solve the problem I am having. I have scheduled these tests to be run every hour and they fail 4 times and suddenly pass the 5th time. I am puzzled on what is going on. Still trying to find the solution. For some time navigating to the Environments and by closing the dialog made it looked like it worked. Something is wrong which I am not able to pinpoint.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0CommentsRe: SoapUI tests fails intermittently
Thanks Rao for taking the time.I am executing the test from the TestRunner batch file when I see the issue. Also see the same issue when I run it from UI. Sometimes I noticed that switching the environments makesa difference & the tests pass. This is again intermittent. I am not seeing any out of memory. Thanks! Vijay7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes7CommentsSoapUI tests fails intermittently
Hello, I am facing an issue where my tests run fine for some time, but start failing after a while. I haven't seen a pattern yet, but they seem to pass more often if I restart the virtual machine after the tests are run for the next run. Is there any settings I can make in the tool to clear cache or something after every run. Any help on this is appreciated as this is very annoying not to have deterministic tests. Thanks! VJ7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes9CommentsRe: TestCleanUp - How to set a project property value as a last step of execution?
Hi Rao, Thanks for getting back to me on this. I will do my best and explain my use case below. 1. Project Structure -- MyProject (project) - PreReq1(suite) - PreReq2(suite) - PreReq3(suite) - Feature(Fsuite1) - Feature(Fsuite2) - etc., 2. Use Case 1 : Run the entire suite for the project like "testrunner.bat -Exx .....myproject.xml". Works perfect as the tests are executed sequentially 3. Use Case 2: Run only Fsuite1 like "testrunner.bat -s"Fsuite1" -Exx ......myproject.xml". To do this I have some groovy script in "TestSuiteRunListerner.beforeRun" event to run the required PreReq1, PreReq3 before running Fsuite1. Works fine as well by itself, but breaks Use Case1 and executes my pre-req's multiple times when exectuing Fsuite1, Fsuite2.... thus duplicating running my pre-reqs when not needed. So I want to capture this exception and created a flag in project property. I set this flag to true when my pre-reqs are run, but not sure where I can reset this flag to falseat the end of the execution which is applicable to both the use cases above. "ProjectRunListerner.afterRun" does not seem to be fired if the execution is at suite level. So I am stumped here. Hope I am clear. Please get back with me if not. Thanks! VJ9 years agoPlace ReadyAPI QuestionsReadyAPI Questions786Views0likes0CommentsTestCleanUp - How to set a project property value as a last step of execution?
Hello, I am very new to SoapUI and I would appreciate if any one can help me here. As a part of test clean up(last step of entireexecution, whether the test is run at project level or test suite level), I want to set a project property to false,Where would I write project.setPropertyValue("MyProperty", "false") ? Also, at run time, how do I know if the test is run at Project Level or TestSuite level ? Thanks! VJ9 years agoPlace ReadyAPI QuestionsReadyAPI Questions816Views0likes2Comments