Contributions
Create Folder in project class path
Hi, 1. I am generating HTML report using groovy script.For that i am specifying path in my local. 2.And also i integrated my soapui project in maven. so it will automatically run all test cases from maven and generated report in my specified folder. 3.Now i want to create folder(ie inside target folder in my maven project)from soapui xml file using groovy script.so that i don't need to specify path in my local system. Can anyone pls help to find this?2.8KViews0likes7Comments- 5.5KViews0likes0Comments
Run Soapui project from maven
Hi, i am running soapui project from maven by adding dependency in pom.xml. it is working fine. but i want to run particular test cases from maven. Is there any option to add particular test case and test suite name? i am using soapui free version. Can anyone give suggestion for this? Here is my code <plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-maven-plugin</artifactId> <version>5.3.0</version> <dependencies> <dependency> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui</artifactId> <version>5.3.0</version> <exclusions> <exclusion> <groupId>javafx</groupId> <artifactId>jfxrt</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <configuration> <projectFile>soapui/user-provisioning-soapui-project_27_05_17.xml</projectFile> <outputFolder>target/surefire-reports</outputFolder> <junitReport>true</junitReport> <exportAll>false</exportAll> <printReport>true</printReport> <projectProperties> <value>Environment=devStagingVM1</value> <value>endpoint_services="www.gmail.com"</value> </projectProperties> </configuration> <executions> <execution> <id>soapUI</id> <phase>test</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin>Solved5.5KViews0likes6CommentsRe: Run Soap UI prompt from command prompt
Hi I tried your code. but i am getting following error. can you pls explain this briefly? #Error groovy.lang.MissingMethodException: No signature of method: static com.eviware.soapui.support.UISupport.showPopup() is applicable for argument types: (java.lang.String, java.lang.String, java.util.ArrayList) values: [Select an Environment, Test Environment, ...] Possible solutions: showPopup(javax.swing.JPopupMenu, javax.swing.JComponent, java.awt.Point) error at line: 33 #Here is my Code: def environment = ''; if(UISupport.isHeadless()){ environment = project.getPropertyValue("my.environment.prop") ?: "Devlocal" }else{ UISupport.showPopup("Select an Environment", "Test Environment", ['Devlocal', 'Staging-VM1', 'Staging-VM2' ]) }5.4KViews0likes0Comments- 1.2KViews0likes0Comments