ContributionsMost RecentMost LikesSolutionsRe: How can I parameterize the complete end point details? Hi Himanshu, Thanks alot for your reply. It answers my question, but in our scenario we want to pass the host name details dynamically from the command line. Can we write/ overide the property value dynamically by passing the value in command line argument. Global property created is : EndPoint and its value is - https://dwu-usystem11:9002 Actual End point: https://dwu-usystem11:9002/authorizationserver/auth?username=test&password=test Rest Service created in the test case in the below format: ${EndPoint} /authorizationserver/auth?username=test&password=test Now if I have to run on different end point say - https://dwu-usystem22:9002, then can I pass this value from the command line argument and override the existing property value so that it runs on the end point - https://dwu-usystem22:9002 Really appreciate and thank you. Santhosh.G How can I parameterize the complete end point details? Hi All, We are implementing REST web services automation for our system and there is a requirement to parameterize the end point details, say the end point is UAT env: https://dwu-usystem11:9002/authorizationserver/auth?username=test&password=test Test env: https://dwu-usystem11:9002/authorizationserver/auth?username=test&password=test In our current implementation we have created two environments(Test and UAT) and saving the end point in the resepective environment. When some thing on the end point host name, that is https://dwu-usystem11:9002 changes from 9002 to 9003, then its happening to go to each and every end point ( we have around 200+ end points) and update the node value to 9002 to 9003. To over come this problem do we have a solution of maintaining the end point host name value in a property and reading it, so that if any thing changes in it we could just update the propery or any one point place. Really appreciate your help. Thanks, Santhosh.G Execution using Tags - How to trigger multiple tags (test suites) from command line arguments? Hello All, We are automating our APIs using the SOAP UI Pro version. We have tagged the testsuites with some tag names and when I am trying to execute the suite by selecting multiple tags, system is executing only if all the selected tags are tagged to the test suite, I mean there are 6 suites and I tagged each to a tag say - a, b, c, d, e, f. Now during the execution I want the suite 1 and 5 to execute, so I selected the tag name as 'a' and 'e' and triggered the launch, but I don't see any execution happening. After going through the documentation I found the below details. ---Ready API documentation - Start-- -T: Specifies test suites or test cases to be executed by their tags. Usage: -T"TestCase tag1[, tag2 ...]" If you specify one or several tags, the test runner will run only those test suites or test cases that have all the tags you have specified. For example, if you specify -T"TestCase tag1, tag2" , it will not run test cases that have tag1 or tag2, but it will run test cases that have both tag1 and tag2. It is also possible to specify both test suites and test cases for execution by using the -T argument twice: -T"TestSuite suiteTag" -T"TestCase caseTag" . -------Ready API documentation --End-------- At the same time when executed from editor, I found an option called "At least one tag" which will execute if the tag is present at least once at the suite. We need this kind of feature, can some one please help me how to achieve this using command line arguments. As mentioned about the tags in the beginning of my post, if I select tags 'a' and 'e' => 1 and 5 test suites should get triggered. Thanks alot. Regards, Santhosh.G Re: Trigger REST end point from an groovy script Hi Aaron, Thanks alot for your response. End point looks like below: https://projectURL01:9002/webservices/website/public/releaseId I have the project structure as like below. Project -> TestSuite ->TestCase ->RestEndpoint (to fetch the id) Before the execution is triggered, I have to insert a record into the DB and for that I neeed an id and that I will get by hitting the above end point. Connecting to the DB and inserting the record and all that am able to do, but am not knowing how to hit the end point from the BeforeRun event. Thanks alot that your response has the details to fetch the rest end point in test suite-test case, can you please tell me, after reading the end point how it can be triggered. So that I will read the response and capture the id details and will set in a global property. Then after the other execution continues, that is BeforeRun, BeforeTestSuite, BeforeTestCase and the steps in the testcase. Even am ok, instead of maintaining a test case with end point to fetch id details , if I can create an end point in the BeforeRun Event and hit the service and read the id details, Thank you. Trigger REST end point from an groovy script Hello, We have a requirement in our project to fetch an id from a REST end point and that would be stored in the DB. We have to do this in Before Run event and we are using ProjectListener.beforerun event for it. I tried but not able to proceed further.Can some one please help me in implementing this, that is calling the REST end point (it is defined in a project in a separate testsuite) from the groovy script in BeforeRun event. I can maintain the REST end point in the project or it is even ok to construct the end point and hit the service in the BeforeRun event groovy script. So the final flow will be, first it comes to the BeforeRun event hits the end point and fetches the id and the same will be inserted as a record in DB and then BeforeSuite, BeforeTestCase, BeforeStep and the actual teststeps executions goes. Thanks alot. How to Read Project Properties from Groovy script? Hi, We have a requirement to read the Project level properties in a Groovy script configured in BeforeTestCaseEvent handler. Can some one please help me on reading it. Am able to read the custom properties with the below command testCase.testSuite.project.getPropertyValue("property") but not able to read the Project properties using it. Thanks. Re: Advanced Reporting in Ready API Hi Sanj, Can you please let me know the jenkins plugins we have that can be integrated with the Ready API - SOAP UI Pro tool. I know working on Jenkins Cucumber Report, where it consumes an .json file and prepares an good looking report with all the stats represented in pie charts and graphs. Thanks. Advanced Reporting in Ready API Hi All, We are working on building a custom framework on Ready API - SOAP UI Pro tool. The different types of reports that tool provides are good, but we are looking for an advanced report with the results represented in a graphical content. Can someone please help me knowing, if there are any plugins available that can be integrated with the Ready API tool or Jenkins for the detailed reports with the test results(Project=>TestSuite=>TestCase=>TestResults) represented in graphical manner. Thanks a lot. Re: Can we get the test case name in BeforeTestCase Radford, Thanks a lot it worked. Can we get the test case name in BeforeTestCase Hi All, We are implementing a custom framework for our project and for that we need to know the test case name in the Event handler - BeforeTestCase, so that we using the Testcase name we will write a groovy logic do the implementation for the next steps. Can some please help me how to achieve this. E.g., 1) TestCase1 2) TestCase2 3) TestCase3 I have the above three testcases and an Event - BeforeTestCase. So am writing a logic in Groovy script and I need the testcasename that is "TestCase1" before the execution of "TestCase1" and testcasename "TestCase2" before the execution of TestCase2... Thank you. Solved