This is a huge help. Very thorough series. Thank you!
@RaghavPal4 жыл бұрын
You're very welcome Chad
@TuanLe-ve7lm5 жыл бұрын
thank for your videos, you literally save my life
@RaghavPal5 жыл бұрын
You're welcome Tuấn
@lolworld21783 жыл бұрын
please suggest what "it" in iterating testcases?
@RaghavPal3 жыл бұрын
I will plan to add some sessions
@arpitajain27734 жыл бұрын
Your videos are amazing! Thank you for explaining so clearly
@RaghavPal4 жыл бұрын
You're so welcome Arpita
@damianszczerba34583 жыл бұрын
I have a question. Do you think it is possible to show my ability to testing with this tool by adding code with test scenarios to some example webservie to github and then show it to someone?
@RaghavPal3 жыл бұрын
Hi Damian, you can do
@Bell4Fun6 жыл бұрын
at 7:14 what is the difference between Running and Finished in the output console
@RaghavPal6 жыл бұрын
Running means it is in progress and Finished, its completed
@balajimohan33944 жыл бұрын
Hi Raghav..Your videos are amazing! I am new to api testing sInce i need knowledge on Rest APi testing using Soap UI for my next project i was watching your tutorial and so far completed watching till part 10..it was very useful and i will watch the remaining. But i have doubt here that why Groovy is important to run a test when we can do the same from GUI..? Is there any additional thing that Groovy does than GUI?
@RaghavPal4 жыл бұрын
Hi Balaji, While doing manual testing, you can easily run from GUI, During Automation, you may need to run tests with in automated manner and with some conditions. During that time this knowledge will be handy
@testingtrail6 жыл бұрын
Hi Raghav, just wanted to point out something, happened to me, it may happen to anyboldy else: 1. there may be an error not loading plugins, for that you have to go to C:\Users\>user>\.soapuios there you will find a folder 'plugins', you have to rename it to something else so when you run the cmd it will not crash 2. if using something like com.eviware.soapui.SoapUI.logMonitor.getLogArea("script log").clear() to clear the log in soap each time you run it, that will not work in cmd either. Thanks again for tutorials! :)
@testingtrail6 жыл бұрын
Here's solution for second issue: if(!com.eviware.soapui.SoapUI.isCommandLine() ){ com.eviware.soapui.SoapUI.logMonitor.getLogArea("script log").clear() }
@RaghavPal6 жыл бұрын
Jorge, thanks a lot for posting this. Hope it will help others.
@mohsenbou Жыл бұрын
thank you for your explains
@RaghavPal Жыл бұрын
Glad it was helpful!
@PS441-z9u3 жыл бұрын
Hi Raghav - Thanks for the great videos. I have question, while running from command line the summary report showing the details of entire testing. Is there a way to get Individual transaction time for each test cases instead total time in summary report? thanks.
@RaghavPal3 жыл бұрын
Hi Sasi, not sure, will need to check online
@mayankjain99414 жыл бұрын
Very nice session Thanks you!!
@RaghavPal4 жыл бұрын
Glad you enjoyed it Mayank
@mohangopathi83476 жыл бұрын
Thanks for videos,they are helpfull
@RaghavPal6 жыл бұрын
Glad to know this Mohan
@jonkc36355 жыл бұрын
I have a question. When running Test Case 2 using groovy, the "Hello " output text from the test case2's groovy script wasn't displayed anywhere. Why is that?
@RaghavPal5 жыл бұрын
Hi Jon, it must be visible in the log of the specific step
@rahulsinghbist876 жыл бұрын
Is manual testing compulsory for learning selenium?
@RaghavPal6 жыл бұрын
Hi Rahul, its not compulsory, you can learn concepts with automation testing as well
@akashkapade56585 жыл бұрын
Hi Raghav, how can we run multiple test cases at a time using Groovy Script?
@RaghavPal5 жыл бұрын
Hi Akash, I have not tried it, Pls check community.smartbear.com/t5/SoapUI-Open-Source/How-to-execute-soapui-test-cases-parallel-and-in-one-go/td-p/38467
@akashkapade56585 жыл бұрын
Thank you. Also thanks for such a nice knowledge sharing on different topics.
@lizjiang19196 жыл бұрын
Hi Raghav, I copied and pasted the command from the testRunner, but the format was different than yours, and I did not get result message, only the error messages. Could you help me with this?
@RaghavPal6 жыл бұрын
Hi Liz, pls check the logs, do you get any info there
@Bell4Fun6 жыл бұрын
Check for Braces they are square [ ]
@lanntm4 жыл бұрын
thanks so much
@RaghavPal4 жыл бұрын
You're welcome Lan
@anithakumari383410 ай бұрын
How to export logout of a groovy step into a file
@RaghavPal10 ай бұрын
Anitha If you're using SoapUI and want to export the output of a Groovy step into a file, you can achieve this by writing the results to a text file. Below are a couple of approaches you can use: 1. Writing Results to a File Using Groovy: - In your Groovy script, you can create a new file and write the desired information to it. Here's an example of how you can modify your existing script to export the results to a file: ```groovy def numElements = 10 // Replace with your actual results def matches = "Some matching codes" // Replace with your actual matches def fails = "Some failure details" // Replace with your actual failures // Exporting results to a file def today = new Date() def sdf = new java.text.SimpleDateFormat("dd-MM-yyyy-hh-mm") def todayStr = sdf.format(today) def filePath = "/User/documents/${todayStr}_report.txt" def file = new File(filePath) file.write("Number of nodes: $numElements ") file.append("Matching codes: $matches ") file.append("Fails: $fails ") ``` - Make sure to replace the placeholders (`numElements`, `matches`, and `fails`) with your actual data. The script will create a file named `report.txt` in the specified directory. 2. Using a Log File for Results: - You can also redirect the `println` output to a log file. This approach is useful for continuous logging during test execution. Here's an example: ```groovy def logFile = new File("output.log") // Assuming you have some variables like lastBuildEnvVars def entry = "Result: ${lastBuildEnvVars['PRODUCT_NAME']} Version: ${lastBuildEnvVars['PRODUCT_VERSION']} " + "Time: ${lastbuild.timestampString} " logFile.append(entry) ``` - Modify the `entry` string to include the relevant information you want to log. The `logFile.append(entry)` line will add the entry to the log file. Remember to adjust the paths and customize the content according to your specific use case. all the best..
@kshitijrastogi56746 жыл бұрын
Hi, Why do we use the code "new com.eviware.soapui.support.types.StringToObjectMap()" if null gives us the same response ? Also why does setting value as true gives "Finished" while setting value as false gives us "Running" in the output section?? Please Help..
@RaghavPal6 жыл бұрын
Hi Kshiti, you will need to check the api docs of the classes for this.
@ТЗ-71ГалицкийИлья5 жыл бұрын
how to make SOAP UI check the result for you automatically?
@RaghavPal5 жыл бұрын
You have to add assertions
@vipintekade64005 жыл бұрын
I got this error in below program please rectify this I can't move forward without this.Raghav can you available for video chat . def tcase = testRunner.tCase.testSuite.testCases("TestCase2") def prop = new com.eviware.soapui.support.types.StringToObjectMap() runner = tCase.run(prop ,true); Output : groovy.lang.MissingPropertyException: No such property: tCase for class: com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner Possible solutions: class, testCase error at line: 1
@RaghavPal5 жыл бұрын
Hi Vipin, where have you defined tCase, There should be a step above for this